Brian Paul
87b2db988e
tnl: updated clip debug code (disabled)
2009-06-03 17:16:00 -06:00
Brian Paul
e7927626c1
mesa: added buffer object debug code (disabled)
2009-06-03 17:16:00 -06:00
Brian Paul
4f4280b435
tnl: add some floating point sanity checks (disabled)
2009-06-03 17:16:00 -06:00
Brian Paul
ab4fd18584
vbo: tweak out-of-bounds VBO access error message
...
Subtract 1 from _MaxElement to be clearer.
2009-06-03 17:15:59 -06:00
Ian Romanick
1ad1576836
Thank you git for doing the right thing.
2009-06-03 17:55:42 +01:00
Ian Romanick
c428f467b6
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined
...
DO NOT HAND-EDIT GLX PROTOCOL FILES. Seriously. How can you miss the giant
comment at the top of the file?
2009-06-03 17:53:40 +01:00
Ian Romanick
7f8000db8b
Fast path when rebinding the same texture in single context environment
...
If there is no shared context, there is no purpose in rebinding the same
texture. In some artificial tests this improves performance 10% - 30%.
2009-06-03 17:50:37 +01:00
Brian Paul
54576130a8
st/mesa: minor clean-ups, reformatting, etc
2009-06-02 21:46:17 -06:00
Brian Paul
5cd47e0361
docs: remove version info carried over from 7.5
2009-06-02 21:41:03 -06:00
Brian Paul
8086352fef
docs: clarify GL_ARB_copy_buffer driver support
2009-06-02 21:35:11 -06:00
Brian Paul
dd174ea215
st/mesa: implement/enable GL_ARB_copy_buffer extension
2009-06-02 21:35:11 -06:00
Brian Paul
2813c08b35
mesa: fix error test mistake in _mesa_CopyBufferSubData()
2009-06-02 21:35:11 -06:00
Brian Paul
2e708fa909
docs: added GL_ARB_copy_buffer extension
2009-06-02 21:35:11 -06:00
Brian Paul
3a7399e2c4
mesa: enable GL_ARB_copy_buffer for software drivers
2009-06-02 21:35:11 -06:00
Brian Paul
08e43ebfb2
mesa: plug in new _mesa_CopyBufferSubData() functions
2009-06-02 21:35:11 -06:00
Brian Paul
dc0b71f00d
mesa: _mesa_CopyBufferSubData() function, and driver fall-back
2009-06-02 21:35:11 -06:00
Brian Paul
96a30b06db
mesa: new state for GL_ARB_copy_buffer
2009-06-02 21:35:10 -06:00
Brian Paul
76b438878e
mesa: new CopyBufferSubData() driver hook
2009-06-02 21:35:10 -06:00
Brian Paul
751977075f
glapi: regenerated files for GL_ARB_copy_buffer
2009-06-02 21:35:10 -06:00
Brian Paul
68892872ef
glapi: include ARB_copy_buffer.xml
2009-06-02 21:35:09 -06:00
Brian Paul
4a1e4f9881
glapi: GL_ARB_copy_buffer xml info
2009-06-02 21:35:09 -06:00
José Fonseca
fc7f924782
scons: Less aggressive optimizations for MSVC 64bit compiler.
...
MSVC 64bit compiler takes forever on some of the files.
Might want to revisit this again later.
2009-06-02 18:41:12 -07:00
José Fonseca
0f50c4fab8
scons: Output nice summary messages instead of long command lines.
...
You can still get the old behavior by passing the option quiet=no to scons.
2009-06-02 18:23:12 -07:00
José Fonseca
273117ceed
util: Unsaved change missing from last commit.
2009-06-02 16:41:45 -07:00
Joakim Sindholt
45b77830eb
r300-gallium: strip swtcl to the bare minimum
...
This was originally taken from i915 and it shows.
Basically most the stuff in r300_render.c was never needed and
shouldn't have worked in the first place
2009-06-02 22:23:17 +02:00
José Fonseca
840af5fd62
util: Support Z24S8/Z24X8 -> unsigned conversion.
2009-06-02 11:46:53 -07:00
José Fonseca
c91df4c153
util: Fix 24 to 32 bit expansion binary arithmetic expression.
...
When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the
8 least significant bits of y should come from the
8 most significant bits of x.
2009-06-02 11:46:06 -07:00
Brian Paul
12e94d892e
mesa: release VBO and PBO references upon context destruction
2009-06-02 10:29:39 -06:00
Brian Paul
cb3a9f984d
mesa: add #define FEATURE_ARB_pixel_buffer_object
2009-06-02 10:29:38 -06:00
Ian Romanick
16fbd39129
intel: Clip to window after calling Driver.TexImage2D
...
This prevents the width / height from being clipped to the window size before
the texture is allocated. This matches intelCopyTexImage1D.
This should fix bug #21227
Signed-off-by: Ian Romanick <ian.romanick@intel.com>
(cherry picked from commit 129f311673 )
2009-06-02 16:52:03 +01:00
Ian Romanick
129f311673
intel: Clip to window after calling Driver.TexImage2D
...
This prevents the width / height from being clipped to the window size before
the texture is allocated. This matches intelCopyTexImage1D.
This should fix bug #21227
Signed-off-by: Ian Romanick <ian.romanick@intel.com>
2009-06-02 16:50:11 +01:00
Eric Anholt
a945e203d4
i915: Don't put VBOs in graphics memory unless required for an operation.
...
This saves doing swtnl from uncached memory, which is painful. Improves
clutter test-text performance by 10% since it started using VBOs.
2009-06-02 06:55:10 -07:00
Eric Anholt
0ab8e2622e
i965: Support OPCODE_TRUNC in the brw_wm_fp.c code.
...
This gets two more glean glsl1 tests using the non-GLSL path.
2009-06-02 06:21:54 -07:00
Keith Whitwell
1aef032d43
gallium/draw: Free specialized versions of driver shaders
...
The pstipple, aaline and aapoint code would create specialized versions
of shaders and upload them to the driver -- but never free them.
2009-06-01 20:35:38 -07:00
Keith Whitwell
003cfd4dd2
draw: free more token arrays
...
The AA line and point code also needs to free token arrays after
building driver shaders.
2009-06-01 20:35:38 -07:00
Keith Whitwell
69a765df1c
draw: avoid leaking tokens when building pstipple fragment shader
...
Add missing FREE() after MALLOC().
2009-06-01 20:35:38 -07:00
Keith Whitwell
503632557e
mesa/st: restore flush to copy_texsubimage (was previously finish)
...
Need a flush here even though the original finish was overkill.
2009-06-01 20:34:44 -07:00
José Fonseca
557d2bb423
wgl: Destroy the framebuffer when the window is destroyed.
2009-06-01 20:20:48 -07:00
Brian Paul
2ecc2ece9c
docs: implemented GL_EXT_provoking_vertex
2009-06-01 20:45:08 -06:00
Brian Paul
a444d245e5
mesa: enable GL_EXT_provoking_vertex for sw drivers
2009-06-01 20:43:57 -06:00
Brian Paul
82bc6e5ae3
tnl: implement GL_EXT_provoking_vertex
2009-06-01 20:43:09 -06:00
Keith Whitwell
97f5953ced
progs/vpglsl: add similar support for point rendering as progs/vp
2009-06-01 18:40:21 -07:00
Jakob Bornecrantz
f989390af6
st/gl: Fix mip gen for compressed textures
2009-06-01 18:40:12 -07:00
Keith Whitwell
00e7a60077
trivial/tri-z: add controls for depthrange min/max
...
Also add key to set up quake-1 style ztrick rendering with clear depth
1.0, deptrange(1.0, 0.0) and depthfunc GL_GREATER.
2009-06-01 18:39:58 -07:00
José Fonseca
3c756ed39f
progs/wgl: Small cleanup to wglinfo.
2009-06-01 18:23:20 -07:00
José Fonseca
76ad2b4a5a
progs/wgl: Use an invisible window in wglinfo.
2009-06-01 18:23:20 -07:00
Brian Paul
9f6ec50f8c
Merge branch 'mesa_7_5_branch'
2009-06-01 15:01:33 -06:00
Brian Paul
0e8a5a8474
st/mesa: fix incorrect sprite origin when drawing to FBO/texture
...
Need to take the draw buffer's up/down orientation into consideration
when setting the sprite_coord_mode field.
Fixes inverted sprites when drawing into an FBO.
2009-06-01 14:59:11 -06:00
Brian Paul
427554211b
draw: reset extra_vp_outputs.slot to zero in widepoint_flush()
...
Fixes a crash when clearing the window with a quad after drawing large
points. We were asking the draw module how many vertex shader outputs
there were and got 3 instead of 2. This led to creating vertices with
too many attributes and trying to read invalid memory.
We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's
flush functions already.
This omission was just an oversight in the wide_point stage.
2009-06-01 14:28:57 -06:00
Corbin Simpson
1fa023ae48
r300-gallium: Slightly hacky fix for glxgears-style TCL.
2009-06-01 12:04:29 -07:00