Brian Paul
a77b455af0
mesa: set version to 7.5
2009-07-17 12:40:48 -06:00
Brian Paul
71b9e10291
mesa: set version to 7.5
2009-07-17 12:40:44 -06:00
Brian Paul
7fd3674672
docs: set date for 7.5 release
2009-07-17 12:40:24 -06:00
Brian Paul
27587f46e5
docs: news entry for 7.5 release
2009-07-17 09:40:59 -06:00
Brian Paul
8c6e81f97d
docs: update links to Gallium wiki page on freedesktop.org
2009-07-17 09:40:59 -06:00
José Fonseca
2ba98efdf6
python/retrace: Process the call no passed to --to option inclusively.
2009-07-16 19:34:44 +01:00
José Fonseca
cf7e8fbc2e
python/retrace: Dump the surface copy contents.
2009-07-16 19:32:40 +01:00
José Fonseca
5807ccb41b
python/retrace: Flush stdout before calling the pipe driver.
...
So that messages are in sync with stderr.
2009-07-16 19:31:36 +01:00
José Fonseca
d4e6df9ab6
mesa: Fix logbase2.
...
It was providing 1 too many for non power two values.
2009-07-16 19:20:25 +01:00
José Fonseca
0c4350790a
python: Hack to prevent segmentation faults when python exits.
2009-07-16 11:22:56 +01:00
José Fonseca
4e1e18a772
wgl: Expose pipe_screen/pipe_context via an extension.
2009-07-16 11:22:56 +01:00
José Fonseca
3ab3209a1f
python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.
2009-07-16 11:22:56 +01:00
Luca Barbieri
6b7b13b5eb
softpipe: limit blend results to [0,1]
2009-07-15 11:34:36 -06:00
Brian Paul
d970313b66
Fix state flag dependencies for fixed function fragment program updates.
...
I started looking into why _NEW_ARRAY punishes us, and while annotating
dependencies noticed that a bunch of dependencies were missing.
(cherry picked from master, commit e5f63c403b )
2009-07-15 11:12:44 -06:00
José Fonseca
0474b5cb2a
python/retrace: Interpret surface_copy.
2009-07-15 16:02:39 +01:00
José Fonseca
c68f659be3
python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.
...
More common. True fix would be to use whatever the screen supports though.
2009-07-15 16:02:39 +01:00
Keith Whitwell
fdeb778990
mesa: recognize and eliminate repeated error messages
2009-07-15 13:31:51 +01:00
Keith Whitwell
59de430de7
mesa: split out errorstring switch from _mesa_error
...
Move a chunk of code out of _mesa_error()
2009-07-15 13:31:51 +01:00
Keith Whitwell
df5f7a6761
mesa: remove dead code in _mesa_error
...
Remove early and unused snprintf and where[] string.
2009-07-15 13:31:51 +01:00
Keith Whitwell
6c9d8a6f24
mesa: don't call getenv every time _mesa_error is called
...
Buggy apps can generate thousands of mesa_error calls. Don't need
to keep calling getenv to retreive the same MESA_DEBUG string each
time.
2009-07-15 13:31:50 +01:00
Brian Paul
9aca6769df
mesa: fix texture border color code for glPopAttrib()
...
The texture object's border color used to be stored as GLchan but it's
been GLfloat for a while now.
2009-07-14 14:28:01 -06:00
Jakob Bornecrantz
26e58a42b0
progs/tests: Use compressed texture in mipmap_comp_tests
2009-07-14 17:11:07 +01:00
Jakob Bornecrantz
b0a17581e2
progs/tests: Tests more views in mipmap_comp_tests
2009-07-14 17:11:05 +01:00
Jakob Bornecrantz
a36b9987cd
progs/tests: Add yet another mipmap test
2009-07-14 17:11:01 +01:00
Brian Paul
6ec955efaf
mesa: regenerated enums.c file
2009-07-14 07:58:43 -06:00
José Fonseca
7325c1ebc8
scons: Monkey patch os.spawnve on Windows to become thread safe.
...
See also:
- http://bugs.python.org/issue6476
- http://scons.tigris.org/issues/show_bug.cgi?id=2449
2009-07-14 12:21:25 +01:00
José Fonseca
4ed1de8b84
mesa: Report the true face number when flushing.
2009-07-14 12:20:43 +01:00
Peteri Andras
680f7d09b0
r128: fix two-sided lighting segfault seen in GLUT's olight demo
2009-07-13 08:04:08 -06:00
Ian Romanick
022e8e582e
intel: Bump driver data, add RC3 tag
2009-07-12 21:07:38 -07:00
Zack Rusin
1c1307e7c5
gallium: compare the actual register, not all the inputs
...
otherwise we decrement indexes for all registers
2009-07-11 13:48:41 -04:00
Brian Paul
cff2126f52
tgsi: update some assertions
2009-07-10 16:26:09 -06:00
Brian Paul
a79586ce18
tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
...
Same story as in the tgsi_dump.c code (see prev commit).
2009-07-10 15:44:48 -06:00
Brian Paul
f01af4dbd2
tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
...
Fixes TGSI dump output when front/back-face register is declared.
Also, add some assertions to make sure the semantic/interpolate string
arrays have as many elements as there are tokens in the p_shader_tokens.h
file. That should catch problems like this in the future.
2009-07-10 15:41:26 -06:00
Brian Paul
762c1d11ff
st/mesa: implement indirect addressing for destination registers
2009-07-10 13:09:09 -06:00
Brian Paul
baa7ff47d5
tgis: implement indirect addressing for destination registers
...
Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.
2009-07-10 13:09:09 -06:00
Brian Paul
ca1b71b78d
vbo: fix vbo/dlist memory leak
...
Based on a patch by kristof.ralovich@gmail.com
2009-07-10 13:09:09 -06:00
Brian Paul
6ff1a5385e
demos: set 4th component of texcoord to 1.0
...
Avoid potential randomness in resulting texcoords.
2009-07-10 13:09:09 -06:00
Michel Dänzer
cade071d52
Remove stale reference to non-Gallium nouveau driver from configure.ac.
2009-07-10 14:49:46 +02:00
Ian Romanick
fcd3572edf
mesa: From float type modifier from values to large for singles
...
The values 2147483648.0 and 4294967294.0 are too larget to be stored in single
precision floats. Forcing these to be singles causes bits to be lost, which
results in errors in some pixel transfer tests.
This fixes bug #22344 .
(cherry picked from commit 70e72070fc )
2009-07-09 16:07:05 -07:00
Brian Paul
78af70be37
docs: document gl_TextureMatrix[i][j] array indexing bug fix
2009-07-09 08:04:07 -06:00
Brian Paul
c86b076668
glsl: do const parameter optimization for array element actual parameters
...
When a function parameter is const-qualified we can avoid making a copy
of the actual parameter (we basically do a search/replace when inlining).
This is now done for array element params too, resulting in better code
(fewer MOV instructions).
We should allow some other types of function arguments here but let's be
conservative for the moment.
2009-07-09 07:58:50 -06:00
Brian Paul
abdb0fdcc0
glsl: fix incorrect indexing for gl_TextureMatrix[i][j]
...
The two indexes were mixed up when accessing a row of a matrix in an array
of matrices.
2009-07-09 07:57:29 -06:00
Brian Paul
36e906aad6
docs: document glMaterial/glShadeModel display list optimization
2009-07-08 14:14:03 -06:00
Brian Paul
4adc9b4a5b
mesa: only use fallback texture when using shaders, not fixed-function (take two)
...
The semantics are a little different for shaders vs. fixed-function when
trying to use an incomplete texture. The fallback texture returning
(0,0,0,1) should only be used with shaders. For fixed function, the texture
unit is truly disabled/ignored.
Fixes glean fbo test regression.
(cherry picked from commit 01e16befd4 )
(cherry picked from commit 51325f44d1 )
[anholt: squashed these two together from master, skipping the mess in between]
2009-07-07 16:02:45 -07:00
Zack Rusin
7b861b9b9e
gallium: fixup register indexes for fog/frontface/point coord
2009-07-07 12:48:50 -07:00
Michel Dänzer
71633abafc
gallium: Fixes for clobbering stencil values in combined depth/stencil textures.
...
Also fix one case where a 32 bit depth value was incorrectly converted to a
combined depth/stencil value.
2009-07-07 14:49:52 +02:00
Michel Dänzer
25b492b976
GLX/DRI1: Mark GLX visuals with depth != screen depth non-conformant.
...
Such visuals are subject to automatic compositing in the X server, so DRI1
can't render to them properly.
2009-07-07 13:59:59 +02:00
Michel Dänzer
96601ec8e0
gallium: Only set FRONT_STATUS_COPY_OF_BACK if there is a back buffer.
...
Fixes potential crash when SwapBuffers is called but there's no back buffer.
2009-07-07 12:17:04 +02:00
Zack Rusin
a4d952358d
gallium: more fog extraction fixes
...
fix the cases when fog coord/front face/point coord are used in the same
shader.
2009-07-06 21:35:15 -04:00
Ian Romanick
7fb4becf98
demos: Fix vsync checking in glxgears
...
Of course glXGetVideoSyncSGI doesn't return the swap interval. The feature
only exists in the Mesa extension... which is the whole reason I created the
Mesa extension! Note that the Mesa extension allows drivers to default to a
swap interval of 0. If the Mesa extension exists, use its value. Only
consider the SGI extension when the Mesa extension is not available.
Fixes bug #22604 .
2009-07-06 11:42:12 -07:00