Jakob Bornecrantz
bc88c95990
i915g: Rename winsys prefix to i915_ from intel_
...
Since the winsys isn't shared with i965 and never will be
2010-03-26 00:38:17 +01:00
Jakob Bornecrantz
80672e84cf
st/dri: Move common files to common directory
...
27 files changed, 15 insertions(+), 15 deletions(-)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_context.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_extensions.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_screen.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.c (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.h (100%)
rename src/gallium/state_trackers/dri/{ => common}/dri_wrapper.h (100%)
2010-03-26 00:37:54 +01:00
Jakob Bornecrantz
5b1fc14627
st/dri: Reshuffle files and make it obvious which files are shared
...
In short:
git mv ../drisw/Makefile dri/sw
git mv drisw.[c|h] sw
git mv dri2.[c|h] dri1.[c|h] Makefile drm
git rm ../drisw
ln -s <common files> drm/*
ln -s <common files> sw/*
2010-03-26 00:37:52 +01:00
Tom Fogal
38cb44516e
Regenerate gl_mangle.h
2010-03-25 17:10:51 -06:00
Brian Paul
a6fecdff3e
Merge branch '7.8'
2010-03-25 16:12:01 -06:00
Brian Paul
8814bb652a
Revert "llvmpipe: optimize the lp_setup_fence() function"
...
This reverts commit a9063cad0f
.
Not too surprisingly, this change caused some regressions.
Revert it for the time being.
See fd.o bug 27320.
2010-03-25 16:10:25 -06:00
Brian Paul
67e377bda6
llvmpipe: disable an assertion
...
We shouldn't try to clear a non-existant z/stencil buffer, so there's
probably a bug elsewhere. Disable the assertion for now to allow things
to at least run.
2010-03-25 16:10:25 -06:00
Brian Paul
59258498dc
glapi: return int = 0 from NoOpGeneric()
...
If a GL function is called w/out a current rendering context, this stub
gets called. It should return 0 so that non-void-valued functions return
0/NULL instead of a random number.
2010-03-25 16:04:47 -06:00
Jakob Bornecrantz
a82e37b9e9
gallium: Add propper sanity checks in configure.ac
2010-03-25 22:54:56 +01:00
Vinson Lee
80f5f7d17a
glslcompiler: Fix build.
2010-03-25 12:58:36 -07:00
Jakob Bornecrantz
9eaadfeaa5
st/dri: Don't include sw vs drm dri headers
2010-03-25 18:28:31 +01:00
Jakob Bornecrantz
8f47f5320f
st/dri: Add dri2 prefix for all dri2.c functions
2010-03-25 17:55:59 +01:00
George Sapountzis
7b333298fc
configure:ac add swrastg_dri
2010-03-25 17:01:54 +02:00
George Sapountzis
1570e30b48
st/dri: add TODO list for DRISW
2010-03-25 17:01:54 +02:00
George Sapountzis
bb289a8a70
swrastg_dri: hack for loader hardcoded stride
2010-03-25 17:01:54 +02:00
George Sapountzis
007e0e3ef9
swrastg_dri: add winsys and target
2010-03-25 17:01:54 +02:00
George Sapountzis
992e9572bd
swrastg_dri: add state_tracker
2010-03-25 17:01:53 +02:00
George Sapountzis
5b75e12f91
st/dri: add drisw
2010-03-25 17:01:53 +02:00
George Sapountzis
1bed0eb98e
st/dri: add dri_wrapper.h
2010-03-25 17:01:53 +02:00
George Sapountzis
4ce16e13ce
st/dri: export DRI1 surface / pipe
...
They will be used by DRISW. Also, add destroy functions.
2010-03-25 17:01:53 +02:00
George Sapountzis
6a7bd8eb95
st/dri: split out DRI2 code
2010-03-25 17:01:53 +02:00
George Sapountzis
96c152b4b0
st/dri: make get_texture into validate_att
...
This is a wrapper around dri_st_framebuffer_validate for a single attachment.
Also, call validate through hook to make it more generic.
2010-03-25 17:01:52 +02:00
George Sapountzis
a21c30308d
st/dri: flush_frontbuffer, allocate_textures for dri2
...
dri_st_framebuffer functions just forward to dri1/dri2 functions.
2010-03-25 17:01:52 +02:00
George Sapountzis
24056e7663
st/dri: flush_frontbuffer, allocate_textures for dri1
...
* ptex is get by flush_frontbuffer, similar to swap_buffers
* comment for allocate_textures
* texture_mask is managed at the st_fb level
2010-03-25 17:01:52 +02:00
George Sapountzis
03c4573eca
st/dri: minor cosmetic for buffers
2010-03-25 17:01:52 +02:00
George Sapountzis
c049d58a22
st/dri: minor cosmetic for screen
...
- put extensions above init_screen
- split out destroy_option_cache
2010-03-25 17:01:52 +02:00
George Sapountzis
d7f78065ac
st/dri: add inline for dri2 check done in multiple places
2010-03-25 17:01:51 +02:00
George Sapountzis
20755c5c4c
drisw_util: add fields for gallium swrast_dri
2010-03-25 17:01:51 +02:00
Joakim Sindholt
204c88014b
r300g/radeong: fix scons build
2010-03-25 15:51:23 +01:00
Jakob Bornecrantz
7d17de4b47
Merge branch 'gallium-targets'
2010-03-25 14:48:41 +01:00
Jakob Bornecrantz
0d0220fedc
gallium: Fix libgl-xlib path to sw xlib winsys
2010-03-25 14:43:37 +01:00
Vinson Lee
8b12c58ce4
r300g: Remove unnecessary header.
2010-03-25 00:20:05 -07:00
Vinson Lee
3fcfd69fec
progs/glsl: Fix vsraytrace GLSL compilation error.
...
Fixes the following GLSL error on Mac OS X.
'=' : assigning non-constant to 'const 3-component vector of float'
2010-03-24 22:53:23 -07:00
Vinson Lee
3bccb5447b
progs/glsl: Add raytracing demos to SCons build.
2010-03-24 22:36:49 -07:00
Brian Paul
9a52417582
llvmpipe: fix up some questionable fence code
...
Jose should probably review this since he wrote the original code.
2010-03-24 20:49:54 -06:00
Brian Paul
a9063cad0f
llvmpipe: optimize the lp_setup_fence() function
...
Avoid emitting fences when not needed.
Speeds up glReadPixels quite a bit when reading image row by row.
2010-03-24 20:49:39 -06:00
Brian Paul
d7ddb589f4
llvmpipe: call lp_fence_signal()
2010-03-24 19:30:32 -06:00
Brian Paul
331729c8c8
llvmpipe: added lp_fence_signal()
2010-03-24 19:30:27 -06:00
Jakob Bornecrantz
b4b4ac6681
i915g: Correct and add supperted texture formats
2010-03-25 00:45:31 +01:00
Jakob Bornecrantz
372011bc89
st/dri: Fix for X server 1.6.0 (DRI2 version 1)
2010-03-25 00:45:28 +01:00
Brian Paul
2ad8692aad
llvmpipe: fix texture reference counting bug
...
We weren't saving the per-scene texture references at the right point.
Fixes piglit cubemap segfault. The segfault resulted from referencing
texture memory which was prematurely freed because of a missed reference
count.
Fixes fd.o bug 27276.
2010-03-24 16:29:17 -06:00
Brian Paul
f0e04b0944
progs/demos: add other modes/patterns to dissolve demo
2010-03-24 16:29:17 -06:00
Alex Deucher
d9a19d8649
r100/r200/r300/r600: enable accel for Copy/DrawPixels without kms
...
meta ops should work ok without kms.
2010-03-24 15:42:13 -04:00
Maciej Cencora
fabc744999
r300: report correct state atom size
...
Spotted by Pauli Nieminen
2010-03-24 20:08:17 +01:00
Maciej Cencora
88f785935e
r300: fix off by one
...
R300_PVS_MAX_CONST_ADDR field holds highest const addr, not
const count.
Fixes missing models and others rendering errors for vertex
program using 256 params.
2010-03-24 20:08:09 +01:00
Maciej Cencora
7a77effb0b
r300: fix vertex programs with big number of params (>255) under KMS
...
UMS will probably require some kernel work
2010-03-24 20:08:00 +01:00
Maciej Cencora
bed7d88708
r300: fix wpos/fog handling
...
It may happen that the vertex attribute we were going to stuff
the wpos/fog attrs in was already written by vertex program.
In such cases we need to remove instruction accessing these
attributes, so they don't overwrite the wpos/fog related
instructions.
This fixes non-textured models in many wine games.
2010-03-24 20:07:44 +01:00
Maciej Cencora
70929f4505
r300: clean fog_attr/wpos_attr if code accessing these attributes has been removed FP during compilation
2010-03-24 20:07:37 +01:00
Jakob Bornecrantz
f5ae5b5396
gallium: Add warnings incase pipe drivers are not built in targets
2010-03-24 19:16:29 +01:00
Jakob Bornecrantz
738850e522
gallium: Make scons build dri/xorg drivers again
2010-03-24 18:42:35 +01:00