summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul2009-06-031-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 renderingBrian Paul2009-06-031-1/+1
| | | | This fixes incorrect front/back-face orientation.
* 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.
* Thank you git for doing the right thing.Ian Romanick2009-06-031-94/+1
|
* Fix compiling indirect.c when GLX_DIRECT_RENDERING is not definedIan Romanick2009-06-032-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 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-0211-5064/+5089
|
* glapi: include ARB_copy_buffer.xmlBrian Paul2009-06-022-0/+3
|
* glapi: GL_ARB_copy_buffer xml infoBrian Paul2009-06-021-0/+24
|
* r300-gallium: strip swtcl to the bare minimumJoakim Sindholt2009-06-021-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.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-0117-236/+369
|\
| * 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.
| * draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul2009-06-011-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é Fonseca2009-05-311-9/+4
| |
| * wgl: Ensure we only create framebuffers for HDC associated with a window.José Fonseca2009-05-311-1/+7
| |
| * wgl: Use the right pixel format.José Fonseca2009-05-309-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é Fonseca2009-05-301-9/+27
| |
| * wgl: Rename function.José Fonseca2009-05-301-2/+2
| |
| * wgl: Remove unused field.José Fonseca2009-05-302-2/+0
| |
| * 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
| |
* | r300-gallium: Slightly hacky fix for glxgears-style TCL.Corbin Simpson2009-06-011-0/+7
| |
* | Use separate $(MINSTALL) for installing librariesDan Nicholson2009-06-0116-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 debuggingJakob Bornecrantz2009-06-016-6/+685
| |
* | rbug: Add Gallium Remote Debugger Protocol codeJakob Bornecrantz2009-06-0118-0/+3050
| | | | | | | | This is the (de)marshalling and connection managment code