Alex Deucher
18e0fea55b
r300: r4xx and rs4xx also have lte discard regs
2009-08-26 10:53:30 -04:00
Jakob Bornecrantz
53b3cdaee2
st/dri: Add some debug code
2009-08-26 14:30:54 +02:00
Jakob Bornecrantz
57230d96ed
st/xorg: Temporary fix for none stencil visuals
...
Should be replaced with something looking at the proper
glx visual for the buffers.
2009-08-26 14:27:50 +02:00
Jakob Bornecrantz
23fe960be0
st/xorg: Find out correct type for depth stencil buffers
2009-08-26 13:45:31 +02:00
Jakob Bornecrantz
aab0bedb8c
st/dri: Redo config generation
2009-08-26 12:29:28 +02:00
Michel Dänzer
b2e1b25881
st/xorg: Add support for dirty framebuffer region reporting.
...
Add a BlockHandler which flushes the context and reports the dirty region
gathered using the X server damage layer.
In the interim, with dirty region reporting only allocate textures for the
framebuffer and shared pixmaps (e.g. DRI2 buffers) and fall back to software
for other pixmaps. This will be improved in the future.
2009-08-26 13:18:37 +02:00
Cooper Yuan
dadf138ddb
r600: Update vertex fetch shader if necessary
2009-08-26 16:21:10 +08:00
Ben Skeggs
1664bc1a37
st/dri: make the GL_ARB_map_buffer_range entrypoints available
2009-08-26 16:18:39 +10:00
Dave Airlie
674835f184
radeon/r100/r200: actually init the OQ support properly
2009-08-26 14:16:54 +10:00
Dave Airlie
b6df23d8b3
radeon/r200: OQ support for r200 in theory.
...
this is an untested port of the r100 OQ code
2009-08-26 14:03:48 +10:00
Dave Airlie
5484428d72
radeon: add r100 OQ support with kms.
...
This adds OQ support for the r100 chipsets, it requires
KMS unless someone wants to make a kernel patch to add support
for OQ regs.
2009-08-26 13:56:45 +10:00
Brian Paul
42675ff0e3
progs/glsl: call ValidateShaderProgram()
2009-08-25 17:46:11 -06:00
Brian Paul
a088e5631d
mesa: validate shader before drawing (for debugging, disabled)
2009-08-25 17:46:10 -06:00
Brian Paul
d8b4f8c848
glsl: update a texture/sampler comment
2009-08-25 17:46:10 -06:00
Brian Paul
c90fca3da4
glsl: implement shader sampler validation
...
Shader validation should fail if there are two samplers of different types
which reference the same texture unit. For example, if a cubemap sampler
and a 2D sampler both reference texture unit 0, that's invalid.
2009-08-25 17:46:10 -06:00
Brian Paul
2050baba96
mesa: use gl_texture_index type for gl_program::SamplerTargets
2009-08-25 17:46:10 -06:00
Brian Paul
fa6299cb31
progs/util: added ValidateShaderProgram() to shaderutil.c
2009-08-25 17:46:10 -06:00
Brian Paul
b7d2023cf9
i965: add some texture unit/target assertions
2009-08-25 17:46:10 -06:00
Brian Paul
f9ce0a91dc
mesa: print some program fields in binary too
2009-08-25 17:46:10 -06:00
Pauli Nieminen
dbf59de6d2
r200: Add scissor to state atom list.
...
Scissors are jsut one of states that we have to emit so it should be in state list
2009-08-26 01:53:17 +03:00
Pauli Nieminen
5d10890795
radeon/r600: Fix remaining warnings when building 64 bit binary.
2009-08-25 22:16:19 +03:00
Pauli Nieminen
87f83e193a
r200: Addd missing parameter to debug output.
2009-08-25 21:39:58 +03:00
Pauli Nieminen
75df73838a
r200: Fix commit size prediction.
...
Scissor are emited for every primitive so fix that in prediction.
2009-08-25 21:36:57 +03:00
Zack Rusin
7bc4744026
xorg: insert shaders into the cache
2009-08-25 14:22:26 -04:00
Zack Rusin
23b59d3b40
exa: add basic code to cache vertex and fragment shaders
2009-08-25 14:01:58 -04:00
Zack Rusin
c7653a8333
exa: check whether the op is accelerated
2009-08-25 13:23:08 -04:00
Pauli Nieminen
c3374bf97e
radeon: Fix all compiler warnings.
2009-08-25 19:35:41 +03:00
Brian Paul
42ecb1287e
mesa: remove -I$(TOP)/src/gallium/drivers from sources.mak
...
Core Mesa and the state tracker do not depend on any gallium drivers.
2009-08-25 09:42:28 -06:00
Brian Paul
a94d66e857
Revert "glapi: Fix a possible race in getting current context/dispatch."
...
This reverts commit 17090cf3ef .
We're reverting this because it causes ABI breakage with the X server.
Maybe re-attempt with another patch.
2009-08-25 09:37:43 -06:00
Zack Rusin
65f9d10342
xorg: revert bad merge
2009-08-25 09:58:51 -04:00
Michel Dänzer
d22bd1421c
Add support for building the Xorg state tracker with scons.
...
scons ... statetrackers=xorg
2009-08-25 15:39:05 +02:00
Pauli Nieminen
418cdc66ec
Revert "glx: Make drawables persistent untill they are changed by glXMakeCurrent"
...
This commit was not mean to end in to master yet. It is still queston if this
right design to fix the problem.
This reverts commit 45e3be3c07 .
2009-08-25 05:07:08 +03:00
Pauli Nieminen
ce7ed63f0c
Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into r600_state_predict
2009-08-25 02:36:13 +03:00
Maciej Cencora
1d5a06a1f7
r300: fix condition logic
...
The s3tc extensions are properly enabled now, when force_s3tc_enable option is set in driconf.
2009-08-25 01:30:24 +02:00
Maciej Cencora
ff235c8ccb
r300: set proper CS section size
2009-08-25 01:30:24 +02:00
Pauli Nieminen
4297f32c24
radeon/r200/r300/r600: Warn if we emit more than prediction was.
...
Prediction code making too small prediction may cause space check aserttion
failure later in rendering. So warning about any failure to predict correctly
should be fixed.
2009-08-25 02:23:52 +03:00
Zack Rusin
ffe8cc6cef
xorg: fix compilation
2009-08-24 18:42:16 -04:00
Zack Rusin
17076d700c
xorg: start on code accelerating render
2009-08-24 18:39:01 -04:00
Alex Deucher
3023328ea7
r300: add support for getting Z pipe info from drm
...
Needed for occulsion queries on rv530 chips
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-08-24 18:08:37 -04:00
Alex Deucher
8dd151b947
r600: code cleanup
2009-08-24 17:51:00 -04:00
Dave Airlie
dea1038186
radeon: fix fbo size calculation to after pitch
2009-08-25 07:21:03 +10:00
Zack Rusin
cd5c7bfd93
Merge branch 'master' of ssh://zack@git.freedesktop.org/git/mesa/mesa
2009-08-24 16:39:25 -04:00
Zack Rusin
534c133022
openvg: fix vgTransformPath with relative coords
2009-08-24 16:38:43 -04:00
Ian Romanick
4bccd693a7
ARB prog: Set error instead of falling through with incorrect value
...
If a fragment program only parameter was queried of a vertex program
(e.g., GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB) no error would be set and
a random value would be returned. This caused 'glxinfo -l' to show
the same values for GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB,
GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB,
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB,
GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB,
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB as for
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB. This is confusing and incorrect.
2009-08-24 12:51:29 -07:00
Brian Paul
1e2a71c5c2
mesa: add new program parser sources to tarball
...
The end user doesn't need the .y or .l or Makefile but include them anyway
in case someone wants to patch or debug things.
2009-08-24 13:12:07 -06:00
Brian Paul
b879316d4d
docs: recent 7.5.1 bug fixes
2009-08-24 13:05:20 -06:00
Brian Paul
69170a4aae
xlib: fix single buffer window resize bug
...
When a single-buffered window was resized the new window size was never
detected. This fix that, but there's still a bug which causes window
contents corruption for certain window sizes...
2009-08-24 13:05:20 -06:00
Brian Paul
93aa0fd81c
vbo: fix divide by zero exception
...
Fixes bug 23489.
2009-08-24 13:05:20 -06:00
Vinson Lee
0a24e50111
glsl: Silence gcc uninitialized variable warning.
2009-08-24 13:04:50 -06:00
Brian Paul
4eb7256854
st/mesa: flush bitmap cache if Z value changes
...
When adding a new bitmap to the cache we have to check if the Z value is
changing and flush first if it is.
This is a modified version of a patch from Justin Dou <justin.dou@intel.com>
2009-08-24 13:04:50 -06:00