summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-06-02intel: Clip to window after calling Driver.TexImage2DIan Romanick
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-02i915: Don't put VBOs in graphics memory unless required for an operation.Eric Anholt
This saves doing swtnl from uncached memory, which is painful. Improves clutter test-text performance by 10% since it started using VBOs.
2009-06-02i965: Support OPCODE_TRUNC in the brw_wm_fp.c code.Eric Anholt
This gets two more glean glsl1 tests using the non-GLSL path.
2009-06-01Merge branch 'mesa_7_5_branch'Brian Paul
2009-06-01st/mesa: fix incorrect sprite origin when drawing to FBO/textureBrian Paul
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-01Use separate $(MINSTALL) for installing librariesDan Nicholson
The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
2009-05-30mesa: Output warnings to debugger on Windows.José Fonseca
Stderr of Windows applications without console is not usually visible.
2009-05-30mesa: Check/propagate return value on st_make_current.José Fonseca
Prevents segmentation fault when trying to set the viewport/scissor after a context/drawable visual mismatch.
2009-05-30mesa: Add success/failures return value to _mesa_make_current.José Fonseca
2009-05-27st/mesa: init Format field of vertex arrays for feedback modeBrian Paul
Fixes segfault in glRasterPos()
2009-05-26i915: Fall back on NPOT textured metaops on 830-class.Eric Anholt
2009-05-26i915: Restore the Viewport and DepthRange functions on 8xx.Eric Anholt
Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473.
2009-05-26intel: Override MaxRenderbufferSize with hardware constraintsChris Wilson
Limit the maximum renderbuffer size to 8192 on i965 and to 2048 on earlier hardware.
2009-05-22mesa: fix warning message in vbo_exec_DrawRangeElements()Brian Paul
2009-05-22mesa: add missing update_min() call in update_arrays()Brian Paul
2009-05-22mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elementsBrian Paul
This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48).
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22mesa: simplify adjust_buffer_object_ref_counts()Brian Paul
2009-05-22mesa: minor code clean-upBrian Paul
2009-05-22mesa: use Elements() for loop limitBrian Paul
2009-05-22vbo: s/32/VERT_ATTRIB_MAX/Brian Paul
2009-05-22mesa: use Elements() for loop boundBrian Paul
2009-05-22mesa: minor code simplificationBrian Paul
2009-05-22Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-22mesa: fix loop over generic attribs in update_arrays()Brian Paul
2009-05-22vbo: asst. reformatting, clean-upsBrian Paul
2009-05-22Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-22vbo: fix crash in vbo_exec_bind_arrays()Brian Paul
When a vertex shader uses generic vertex attribute 0, but not gl_Vertex, we need to set attribute[16] to point to attribute[0]. We were setting the attribute size, but not the pointer. Fixes crash in glsl/multitex.c when using the VertCoord attribute instead of gl_Vertex.
2009-05-22Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-22mesa: allow GL_BITMAP type in _mesa_image_image_stride()Brian Paul
It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium.
2009-05-22mesa: added some assertionsBrian Paul
2009-05-22mesa: use Elements() macro to limit loops instead of constantsBrian Paul
2009-05-22mesa: remove MAX_VERTEX_PROGRAM_ATTRIBSBrian Paul
Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity.
2009-05-22mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBSBrian Paul
Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc).
2009-05-22mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcsBrian Paul
2009-05-22mesa: added commentBrian Paul
2009-05-21mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLEBrian Paul
2009-05-21vbo: fix build breakage...oopsBrian Paul
2009-05-21vbo: comments, whitespace clean-upsBrian Paul
2009-05-21mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTSBrian Paul
2009-05-21Merge branch 'mesa_7_5_branch'Brian Paul
2009-05-21vbo: fix incorrect loop limit in bind_array_obj()Brian Paul
The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter.
2009-05-21mesa: use MAX_ values instead of literalsBrian Paul
2009-05-21mesa: freshen comments for update_array()Brian Paul
2009-05-21mesa: minor code simplification in _mesa_GetVertexAttrib*NV()Brian Paul
2009-05-21mesa: comment for _mesa_GetVertexAttribfvARB()Brian Paul