Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | intel: Add support for tiled textures. | Eric Anholt | 2009-06-04 | 13 | -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 Anholt | 2009-06-04 | 8 | -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 Anholt | 2009-06-04 | 1 | -20/+0 |
| | |||||
* | softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw() | Brian Paul | 2009-06-03 | 1 | -2/+12 |
| | | | | | Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a. | ||||
* | softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering | Brian Paul | 2009-06-03 | 1 | -1/+1 |
| | | | | This fixes incorrect front/back-face orientation. | ||||
* | swrast: always do span clipping in _swrast_write_rgba_span() | Brian Paul | 2009-06-03 | 1 | -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 reformatting | Brian Paul | 2009-06-03 | 1 | -16/+23 |
| | |||||
* | vbo: move/refactor debug code | Brian Paul | 2009-06-03 | 1 | -38/+49 |
| | |||||
* | vbo: added debug code to check array data validity (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+156 |
| | |||||
* | vbo: new debug/dump code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+58 |
| | |||||
* | mesa: added NaN checking code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+14 |
| | |||||
* | mesa: check/prevent NaN for EX2/LG2 | Brian Paul | 2009-06-03 | 1 | -6/+15 |
| | |||||
* | tnl: updated clip debug code (disabled) | Brian Paul | 2009-06-03 | 1 | -9/+19 |
| | |||||
* | mesa: added buffer object debug code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+36 |
| | |||||
* | tnl: add some floating point sanity checks (disabled) | Brian Paul | 2009-06-03 | 1 | -2/+25 |
| | |||||
* | vbo: tweak out-of-bounds VBO access error message | Brian Paul | 2009-06-03 | 1 | -1/+1 |
| | | | | Subtract 1 from _MaxElement to be clearer. | ||||
* | Thank you git for doing the right thing. | Ian Romanick | 2009-06-03 | 1 | -94/+1 |
| | |||||
* | Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined | Ian Romanick | 2009-06-03 | 2 | -1/+143 |
| | | | | | 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 environment | Ian Romanick | 2009-06-03 | 1 | -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, etc | Brian Paul | 2009-06-02 | 1 | -14/+11 |
| | |||||
* | st/mesa: implement/enable GL_ARB_copy_buffer extension | Brian Paul | 2009-06-02 | 2 | -0/+39 |
| | |||||
* | mesa: fix error test mistake in _mesa_CopyBufferSubData() | Brian Paul | 2009-06-02 | 1 | -1/+1 |
| | |||||
* | mesa: enable GL_ARB_copy_buffer for software drivers | Brian Paul | 2009-06-02 | 1 | -0/+2 |
| | |||||
* | mesa: plug in new _mesa_CopyBufferSubData() functions | Brian Paul | 2009-06-02 | 3 | -0/+9 |
| | |||||
* | mesa: _mesa_CopyBufferSubData() function, and driver fall-back | Brian Paul | 2009-06-02 | 2 | -4/+156 |
| | |||||
* | mesa: new state for GL_ARB_copy_buffer | Brian Paul | 2009-06-02 | 1 | -0/+4 |
| | |||||
* | mesa: new CopyBufferSubData() driver hook | Brian Paul | 2009-06-02 | 1 | -0/+6 |
| | |||||
* | glapi: regenerated files for GL_ARB_copy_buffer | Brian Paul | 2009-06-02 | 11 | -5064/+5089 |
| | |||||
* | glapi: include ARB_copy_buffer.xml | Brian Paul | 2009-06-02 | 2 | -0/+3 |
| | |||||
* | glapi: GL_ARB_copy_buffer xml info | Brian Paul | 2009-06-02 | 1 | -0/+24 |
| | |||||
* | r300-gallium: strip swtcl to the bare minimum | Joakim Sindholt | 2009-06-02 | 1 | -34/+22 |
| | | | | | | 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 | ||||
* | intel: Clip to window after calling Driver.TexImage2D | Ian Romanick | 2009-06-02 | 1 | -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 Anholt | 2009-06-02 | 2 | -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 Anholt | 2009-06-02 | 3 | -1/+18 |
| | | | | This gets two more glean glsl1 tests using the non-GLSL path. | ||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-01 | 17 | -236/+369 |
|\ | |||||
| * | st/mesa: fix incorrect sprite origin when drawing to FBO/texture | Brian Paul | 2009-06-01 | 1 | -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. | ||||
| * | draw: reset extra_vp_outputs.slot to zero in widepoint_flush() | Brian Paul | 2009-06-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | wgl: Cleanup framebuffer destruction logic. | José Fonseca | 2009-05-31 | 1 | -9/+4 |
| | | |||||
| * | wgl: Ensure we only create framebuffers for HDC associated with a window. | José Fonseca | 2009-05-31 | 1 | -1/+7 |
| | | |||||
| * | wgl: Use the right pixel format. | José Fonseca | 2009-05-30 | 9 | -202/+301 |
| | | | | | | | | | | | | | | | | There is no current pixel format. Each HDC has its pixelformat which is kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions. Now the HDC's pixelformat is kept in the stw_framebuffer, which is created during the SetPixelFormat. | ||||
| * | wgl: Fix debugging output. | José Fonseca | 2009-05-30 | 1 | -9/+27 |
| | | |||||
| * | wgl: Rename function. | José Fonseca | 2009-05-30 | 1 | -2/+2 |
| | | |||||
| * | wgl: Remove unused field. | José Fonseca | 2009-05-30 | 2 | -2/+0 |
| | | |||||
| * | mesa: Output warnings to debugger on Windows. | José Fonseca | 2009-05-30 | 1 | -0/+10 |
| | | | | | | | | | | Stderr of Windows applications without console is not usually visible. | ||||
| * | mesa: Check/propagate return value on st_make_current. | José Fonseca | 2009-05-30 | 2 | -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é Fonseca | 2009-05-30 | 2 | -4/+6 |
| | | |||||
* | | r300-gallium: Slightly hacky fix for glxgears-style TCL. | Corbin Simpson | 2009-06-01 | 1 | -0/+7 |
| | | |||||
* | | Use separate $(MINSTALL) for installing libraries | Dan Nicholson | 2009-06-01 | 16 | -17/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | trace/rbug: Add rbug integration for remote debugging | Jakob Bornecrantz | 2009-06-01 | 6 | -6/+685 |
| | | |||||
* | | rbug: Add Gallium Remote Debugger Protocol code | Jakob Bornecrantz | 2009-06-01 | 18 | -0/+3050 |
| | | | | | | | | This is the (de)marshalling and connection managment code |