summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-044-7/+23
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * st/mesa: increase ST_MAX_SHADER_TOKENS to 8kBrian Paul2009-06-041-1/+1
| |
| * mesa: release VBO and PBO references upon context destructionBrian Paul2009-06-021-0/+10
| |
| * mesa: add #define FEATURE_ARB_pixel_buffer_objectBrian Paul2009-06-021-0/+1
| |
| * intel: Clip to window after calling Driver.TexImage2DIan Romanick2009-06-021-9/+8
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]> (cherry picked from commit 129f311673c99eb912d659023e50bc5f0ef53249)
| * mesa/st: restore flush to copy_texsubimage (was previously finish)Keith Whitwell2009-06-011-0/+3
| | | | | | | | Need a flush here even though the original finish was overkill.
| * st/gl: Fix mip gen for compressed texturesJakob Bornecrantz2009-06-011-6/+8
| |
* | intel: Add support for tiled textures.Eric Anholt2009-06-0413-44/+120
| | | | | | | | | | | | | | | | | | | | This is about a 30% performance win in OA with high settings on my GM45, and experiments with 915GM indicate that it'll be around a 20% win there. Currently, 915-class hardware is seriously hurt by the fact that we use fence regs to control the tiling even for 3D instructions that could live without them, so we spend a bunch of time waiting on previous rendering in order to pull fences off. Thus, the texture_tiling driconf option defaults off there for now.
* | i915: Don't rely on fence regs when we don't have to.Eric Anholt2009-06-048-62/+55
| | | | | | | | | | We're on the way to telling the kernel about when we need fence regs on our objects or not, and this will cut the number of places needing them.
* | i915: Remove some long-dead i830 code.Eric Anholt2009-06-041-20/+0
| |
* | swrast: always do span clipping in _swrast_write_rgba_span()Brian Paul2009-06-031-14/+4
| | | | | | | | | | | | | | | | It's possible for mis-behaving vertex programs to produce vertex data with very large/NaN values. This doesn't get handled reliably by the clipper code so we may try to rasterize triangles that extend beyond the viewport/window. Always clip spans to avoid invalid memory accesses later.
* | vbo: minor reformattingBrian Paul2009-06-031-16/+23
| |
* | vbo: move/refactor debug codeBrian Paul2009-06-031-38/+49
| |
* | vbo: added debug code to check array data validity (disabled)Brian Paul2009-06-031-0/+156
| |
* | vbo: new debug/dump code (disabled)Brian Paul2009-06-031-0/+58
| |
* | mesa: added NaN checking code (disabled)Brian Paul2009-06-031-0/+14
| |
* | mesa: check/prevent NaN for EX2/LG2Brian Paul2009-06-031-6/+15
| |
* | tnl: updated clip debug code (disabled)Brian Paul2009-06-031-9/+19
| |
* | mesa: added buffer object debug code (disabled)Brian Paul2009-06-031-0/+36
| |
* | tnl: add some floating point sanity checks (disabled)Brian Paul2009-06-031-2/+25
| |
* | vbo: tweak out-of-bounds VBO access error messageBrian Paul2009-06-031-1/+1
| | | | | | | | Subtract 1 from _MaxElement to be clearer.
* | Fix compiling indirect.c when GLX_DIRECT_RENDERING is not definedIan Romanick2009-06-031-1/+5
| | | | | | | | | | DO NOT HAND-EDIT GLX PROTOCOL FILES. Seriously. How can you miss the giant comment at the top of the file?
* | Fast path when rebinding the same texture in single context environmentIan Romanick2009-06-031-0/+12
| | | | | | | | | | If there is no shared context, there is no purpose in rebinding the same texture. In some artificial tests this improves performance 10% - 30%.
* | st/mesa: minor clean-ups, reformatting, etcBrian Paul2009-06-021-14/+11
| |
* | st/mesa: implement/enable GL_ARB_copy_buffer extensionBrian Paul2009-06-022-0/+39
| |
* | mesa: fix error test mistake in _mesa_CopyBufferSubData()Brian Paul2009-06-021-1/+1
| |
* | mesa: enable GL_ARB_copy_buffer for software driversBrian Paul2009-06-021-0/+2
| |
* | mesa: plug in new _mesa_CopyBufferSubData() functionsBrian Paul2009-06-023-0/+9
| |
* | mesa: _mesa_CopyBufferSubData() function, and driver fall-backBrian Paul2009-06-022-4/+156
| |
* | mesa: new state for GL_ARB_copy_bufferBrian Paul2009-06-021-0/+4
| |
* | mesa: new CopyBufferSubData() driver hookBrian Paul2009-06-021-0/+6
| |
* | glapi: regenerated files for GL_ARB_copy_bufferBrian Paul2009-06-0210-5004/+5089
| |
* | glapi: include ARB_copy_buffer.xmlBrian Paul2009-06-022-0/+3
| |
* | glapi: GL_ARB_copy_buffer xml infoBrian Paul2009-06-021-0/+24
| |
* | intel: Clip to window after calling Driver.TexImage2DIan Romanick2009-06-021-9/+8
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | i915: Don't put VBOs in graphics memory unless required for an operation.Eric Anholt2009-06-022-1/+40
| | | | | | | | | | This saves doing swtnl from uncached memory, which is painful. Improves clutter test-text performance by 10% since it started using VBOs.
* | i965: Support OPCODE_TRUNC in the brw_wm_fp.c code.Eric Anholt2009-06-023-1/+18
| | | | | | | | This gets two more glean glsl1 tests using the non-GLSL path.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-016-13/+29
|\|
| * st/mesa: fix incorrect sprite origin when drawing to FBO/textureBrian Paul2009-06-011-1/+2
| | | | | | | | | | | | | | 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.
| * mesa: Output warnings to debugger on Windows.José Fonseca2009-05-301-0/+10
| | | | | | | | | | Stderr of Windows applications without console is not usually visible.
| * mesa: Check/propagate return value on st_make_current.José Fonseca2009-05-302-8/+11
| | | | | | | | | | Prevents segmentation fault when trying to set the viewport/scissor after a context/drawable visual mismatch.
| * mesa: Add success/failures return value to _mesa_make_current.José Fonseca2009-05-302-4/+6
| |
* | Use separate $(MINSTALL) for installing librariesDan Nicholson2009-06-012-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | st/mesa: init Format field of vertex arrays for feedback modeBrian Paul2009-05-271-0/+1
| | | | | | | | Fixes segfault in glRasterPos()
* | i915: Fall back on NPOT textured metaops on 830-class.Eric Anholt2009-05-263-0/+30
| |
* | i915: Restore the Viewport and DepthRange functions on 8xx.Eric Anholt2009-05-261-0/+21
| | | | | | | | | | | | | | Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473.
* | intel: Override MaxRenderbufferSize with hardware constraintsChris Wilson2009-05-261-0/+7
| | | | | | | | | | Limit the maximum renderbuffer size to 8192 on i965 and to 2048 on earlier hardware.
* | mesa: fix warning message in vbo_exec_DrawRangeElements()Brian Paul2009-05-221-1/+2
| |
* | mesa: add missing update_min() call in update_arrays()Brian Paul2009-05-221-1/+1
| |
* | mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elementsBrian Paul2009-05-221-2/+7
| | | | | | | | | | | | | | | | | | | | 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).