Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600: Add support for GL_EXT_provoking_vertex | Alex Deucher | 2009-09-04 | 2 | -0/+10 |
| | |||||
* | i965: Don't set the complete field when there is more VUE yet to come. | Eric Anholt | 2009-09-04 | 1 | -1/+1 |
| | | | | | This should help with things like lightsmark, but I don't have a testcase for this commit. | ||||
* | i965: Add support for 2 threads in the GS. | Eric Anholt | 2009-09-04 | 1 | -1/+4 |
| | | | | | This brings noop vertex shader throughput from 6.8M verts/sec to 10.4M verts/sec using GL_QUADs on my GM45. | ||||
* | i965: Add support for KIL_NV in brw_wm_emit.c | Eric Anholt | 2009-09-04 | 2 | -0/+19 |
| | | | | | I ran into this lack of support when writing a shader that always discarded the fragments. | ||||
* | r600: fix Elts handling | Alex Deucher | 2009-09-04 | 2 | -3/+16 |
| | | | | Patch from taiu on IRC. fixes bug 23585 | ||||
* | ARB prog: replace 'unsigned' with 'gl_state_index' | Brian Paul | 2009-09-04 | 5 | -195/+195 |
| | | | | Fixes compilation warnings with MSVC. | ||||
* | ARB prog: rename POINT, SIZE to POINT_TOK, SIZE_TOK | Brian Paul | 2009-09-04 | 5 | -37/+23 |
| | | | | | Fixes symbol collisions with typedefs in Microsoft headers. Perhaps we should prefix/suffix all the lexer tokens to avoid this. | ||||
* | st/mesa: silence uninitialized var warnings | Brian Paul | 2009-09-03 | 1 | -2/+2 |
| | |||||
* | st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted position | Brian Paul | 2009-09-03 | 1 | -0/+4 |
| | | | | | If the renderbuffer orientation is Y=0=TOP we need to invert the dstY position. | ||||
* | st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardware | Keith Whitwell | 2009-09-03 | 1 | -14/+51 |
| | | | | | | | | | | | | State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches. | ||||
* | r600: rework cb/db setup | Alex Deucher | 2009-09-03 | 3 | -130/+109 |
| | | | | | | Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658. | ||||
* | r600: make sure the active vertex shader bo is re-added to persistent list. | Alex Deucher | 2009-09-03 | 1 | -0/+7 |
| | |||||
* | glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync() | Brian Paul | 2009-09-03 | 4 | -8/+9 |
| | |||||
* | mesa: rename gl_sync_object::Status to StatusFlag | Brian Paul | 2009-09-03 | 3 | -8/+8 |
| | | | | | There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this. | ||||
* | Add ARB_sync to the xorg sw dri driver. | Eric Anholt | 2009-09-03 | 1 | -0/+2 |
| | |||||
* | savage: Fix driver build post-ARB_sync. | Eric Anholt | 2009-09-03 | 2 | -8/+6 |
| | | | | | Like s3v, clean up absurd use of Xlib in the driver, avoiding namespace pollution. | ||||
* | s3v: Fix driver build for ARB_sync. | Eric Anholt | 2009-09-03 | 1 | -3/+2 |
| | | | | | | | This driver was including Xlibint.h to get the CARD32 typedef to use for 32-bit unsigned integers, which #defined Status to something. CARD32 isn't actually a 32-bit unsigned integer, so replacing with uint32_t usage should fix bugs on 64-bit along with the build. | ||||
* | intel: Add support for ARB_sync. | Eric Anholt | 2009-09-03 | 8 | -0/+147 |
| | | | | | We currently weasel out of supporting the timeout parameter, but otherwise this extension looks ready, and should make the common case happy. | ||||
* | ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops. | Ian Romanick | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | Don't dereference function pointers in calls. | Ian Romanick | 2009-09-03 | 1 | -7/+7 |
| | | | | | | I'm apparently alone in prefering this calling convention, so I'll be a team player. :p Based on review comments by Brian Paul and Eric Anholt. | ||||
* | Add syncobj.c to SConscript | Ian Romanick | 2009-09-03 | 1 | -0/+1 |
| | |||||
* | Whitespace and include file clean-up. | Ian Romanick | 2009-09-03 | 1 | -14/+0 |
| | | | | Based on review comments by Brian Paul. | ||||
* | Use MIN2 instead of open-coded version | Ian Romanick | 2009-09-03 | 1 | -1/+2 |
| | | | | Based on review comments by Brian Paul. | ||||
* | ARB sync: Fix delete behavior and context destruction behavior | Ian Romanick | 2009-09-03 | 4 | -24/+103 |
| | | | | | | | I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared. | ||||
* | Add dummy list node type 'struct simple_node' | Ian Romanick | 2009-09-03 | 1 | -0/+5 |
| | |||||
* | ARB sync: Add support for GL_ARB_sync to swrast | Ian Romanick | 2009-09-03 | 13 | -0/+541 |
| | | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work. | ||||
* | Eliminate trailing whitespace in extension_helper.c | Ian Romanick | 2009-09-03 | 2 | -674/+674 |
| | |||||
* | ARB sync: Regenerate files from previous commit | Ian Romanick | 2009-09-03 | 10 | -5652/+6149 |
| | |||||
* | ARB sync: Add base infrastructure for GL_ARB_sync | Ian Romanick | 2009-09-03 | 3 | -0/+84 |
| | |||||
* | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | 2009-09-03 | 6 | -1/+1862 |
| | |||||
* | mesa: fix typos in separable filter functions | Brian Paul | 2009-09-03 | 1 | -4/+4 |
| | |||||
* | mesa: compute tex env program key size based on nr_enabled_units | Brian Paul | 2009-09-03 | 1 | -8/+18 |
| | | | | | | | When no textures are enabled, the key size is 4 bytes. If unit[0] is enabled, the key size is 16 bytes. Inspired by a patch from Chris Wilson. | ||||
* | swrast: wrap comment to 80 columns, remove dead code | Brian Paul | 2009-09-03 | 1 | -57/+6 |
| | |||||
* | mesa: use new combined PBO validate/map helpers in convolution/filter funcs | Brian Paul | 2009-09-03 | 1 | -66/+23 |
| | |||||
* | mesa: use new combined PBO validate/map helpers | Brian Paul | 2009-09-03 | 4 | -126/+43 |
| | |||||
* | mesa: combined PBO validate/map helpers | Brian Paul | 2009-09-03 | 2 | -0/+98 |
| | |||||
* | mesa: use new _mesa_map_pbo_source/dest() functions in more places | Brian Paul | 2009-09-03 | 5 | -354/+192 |
| | | | | | This trims down the code a bit. The next step would be to combine the validate and map operations into one helper... | ||||
* | mesa: consolidate PBO map/unmap helpers | Brian Paul | 2009-09-03 | 9 | -104/+60 |
| | | | | | | | Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest(). | ||||
* | intel: helper to debug bufmgr (disabled) | Brian Paul | 2009-09-03 | 1 | -0/+4 |
| | |||||
* | mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure | Brian Paul | 2009-09-03 | 5 | -20/+41 |
| | | | | | Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa. | ||||
* | r600: visual depth has no meaning here. | Dave Airlie | 2009-09-03 | 1 | -12/+2 |
| | | | | fbos get angry when this happens. | ||||
* | r600: make sure the active shader bo is re-added to persistent list. | Dave Airlie | 2009-09-03 | 1 | -0/+8 |
| | |||||
* | radeon: pass internal format into the miptree. | Dave Airlie | 2009-09-03 | 3 | -11/+14 |
| | | | | | | | We need to figure out if the compression format changes. without this texcmp segfaults if you change format enough times. | ||||
* | radeon/dri2: add gl20 bits for r300/r600 just like dri1 does | Dave Airlie | 2009-09-03 | 1 | -0/+2 |
| | |||||
* | Revert "i965: Use VBOs in the VBO module on 965, now that we have ↵ | Eric Anholt | 2009-09-02 | 1 | -2/+0 |
| | | | | | | | | | | ARB_map_buffer_range." This reverts commit 00413d87426f14df47d90ba3c995e1889e9f88ca. Even with fixes, using ARB_map_buffer_range in the VBO module isn't showing up as a significant win, and some cases apparently regressed. Bug #23624. | ||||
* | intel: Add support for FlushMappedBufferRange for ARB_map_buffer_range. | Eric Anholt | 2009-09-02 | 2 | -15/+59 |
| | | | | | | This should help for the usage by the VBO module, where we would upload the whole remaining chunk of the buffer for a series of range maps that should cover just a segment of it. | ||||
* | intel: Sync a synchronized READ_BIT map buffer range with GL drawing to it. | Eric Anholt | 2009-09-02 | 1 | -1/+1 |
| | | | | It's probably uncommon, but would obviously have gone wrong. | ||||
* | intel: Move MapBufferRange mesa state setting up to cover the 915 case. | Eric Anholt | 2009-09-02 | 1 | -7/+7 |
| | |||||
* | Revert "mesa: fix the non-GNU C bit-field case" | Brian Paul | 2009-09-02 | 1 | -2/+2 |
| | | | | | | This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4. Don't know what I was thinking there. | ||||
* | mesa: fix the non-GNU C bit-field case | Brian Paul | 2009-09-02 | 1 | -2/+2 |
| |