summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util: add a memory pool for equally sized memory allocationsMarek Olšák2010-07-194-0/+267
| | | | malloc/free are in O(1).
* st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 formatMarek Olšák2010-07-191-7/+19
| | | | | | Fixes FDO bug #29116. NOTE: this is a candidate for the 7.8 branch
* glx: Fix drawable lookup in DRI2 event handlerKristian Høgsberg2010-07-193-3/+42
| | | | | | DRI2 events are sent to the X drawable ID used to create the DRI2 drawable, not the GLX drawable ID. So when an event comes in, we need to look up the __GLXDRIdrawable by its X drawable ID, which needs a new hash table.
* r300g: u_upload optimisationDave Airlie2010-07-184-7/+15
| | | | fix vb/ib uploads
* gallium/st/dri2: add dri2 vblank query extension supportSven Arvidsson2010-07-181-0/+1
| | | | | | | from bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28771 Signed-off-by: Dave Airlie <[email protected]>
* llvmpipe: Remove dead initialization.Vinson Lee2010-07-181-1/+1
|
* r300g: final fix for r3xx constant buffer emissionMarek Olšák2010-07-171-1/+1
|
* r300g: fix typo in r3xx constant buffer emissionMarek Olšák2010-07-171-1/+1
| | | | Ooops.
* r300g: fix constant buffer emission on r3xxMarek Olšák2010-07-171-1/+1
| | | | FDO bug #29128.
* llvmpipe: Remove unused variable in lp_test_sincos.Vinson Lee2010-07-171-2/+0
|
* nv50: s/__func__/__FUNCTION__/Vinson Lee2010-07-161-1/+1
|
* nouveau: s/__func__/__FUNCTION__/Vinson Lee2010-07-161-1/+1
|
* nouveau: s/snprintf/util_snprintf/Vinson Lee2010-07-161-1/+2
|
* r300g: Remove unnecessary header.Vinson Lee2010-07-161-1/+0
|
* nouveau: s/inline/INLINE/Vinson Lee2010-07-163-5/+5
|
* glut: Remove duplicate symbol definition.José Fonseca2010-07-161-2/+0
|
* scons: Make PIPE_ALIGN_VAR() of static/global vars work on MinGW.José Fonseca2010-07-161-0/+3
| | | | Workaround http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
* scons: Fix Cygwin build.Vinson Lee2010-07-161-3/+3
| | | | The Cygwin SCons build needed several file names to be fully qualified.
* r300g: inline winsys_buffer_destroyMarek Olšák2010-07-161-12/+4
|
* r300g: do not make copies of constant buffers, emit them directlyMarek Olšák2010-07-167-47/+28
|
* draw: updated debug/dump codeBrian Paul2010-07-161-12/+25
|
* draw: added array element debug / bounds checking code (disabled)Brian Paul2010-07-161-4/+24
|
* llvmpipe: use single swizzled tileKeith Whitwell2010-07-167-100/+148
| | | | | | | | | | | | | Use a single swizzled tile per colorbuf (and per thread) to avoid accumulating large amounts of cached swizzled data. Now that the SSE3 code has been merged to master, the performance delta of this change is minimal, the main benefit is reduced memory usage due to no longer keeping swizzled copies of render targets. It's clear from the performance of the in-place version of this code that there is still quite a bit of time being spent swizzling & unswizzling, but it's not clear exactly how to reduce that.
* llvmpipe: Describe _mm_shuffle_epi8() with gcc extended inline assembly when ↵José Fonseca2010-07-161-3/+30
| | | | -mssse3 is not supported/enabled.
* llvmpipe: Only use -mssse3 on gcc 4.3+José Fonseca2010-07-161-1/+5
|
* draw/llvm: adjust the instance id at run timeZack Rusin2010-07-163-16/+29
| | | | fixes instancing in draw llvm
* draw: use the instance id when fetching vertex dataZack Rusin2010-07-161-3/+11
|
* mesa: return retval in _mesa_RenderObjectUnpurgeable()Brian Paul2010-07-161-1/+1
| | | | | | Found by Vinson with static analysis. NOTE: This is a candidate for the 7.8 branch.
* st/egl: Fix build on FreeBSD.Chia-I Wu2010-07-164-1/+6
| | | | | | | There is no libdl on FreeBSD. Based on patch from Thinker <[email protected]>, which is against 7.8. This fixes fdo bug #29093.
* egl: Build egl_dri2 only when DRI drivers are built.Chia-I Wu2010-07-161-14/+15
| | | | | That is, build egl_dri2 only when --with-driver=dri is given (the default).
* egl: Build egl_dri2 only when xcb-dri2 is available.Chia-I Wu2010-07-161-4/+3
| | | | The driver does not build when xcb-dri2 is not available.
* glu/sgi: Remove dead initialization in extract565rev.Vinson Lee2010-07-161-1/+1
|
* i965g: Remove dead initialization in precalc_tex.Vinson Lee2010-07-161-1/+1
|
* r300g: rebuild winsys and command submission to support multiple contextsMarek Olšák2010-07-1620-557/+664
|
* mesa: Add error path in compressed_texture_error_check.Vinson Lee2010-07-151-0/+4
| | | | | Add error path for unhandled dimensions in compressed_texture_error_check.
* glsl/apps: Handle ftell errors in non-debug builds.Vinson Lee2010-07-155-0/+15
|
* llvmpipe: implement instanced drawing functionsBrian Paul2010-07-151-20/+108
| | | | | And express all the other drawing functions in terms of llvmpipe_draw_range_elements_instanced().
* draw: update comments for drawing functionsBrian Paul2010-07-151-5/+16
|
* draw: move prototype, update commentBrian Paul2010-07-151-3/+3
|
* softpipe: re-order drawing functions to get rid of prototypeBrian Paul2010-07-151-108/+102
|
* graw: new tri-instanced.c program to test instanced drawingBrian Paul2010-07-152-0/+297
|
* r600: fix typo in r700 assemblerAlex Deucher2010-07-151-1/+1
| | | | | | Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch.
* radeon: Also flush if it's not the current context that's being destroyed.Henri Verbeet2010-07-151-1/+1
| | | | | | | This avoids calling radeonFlush() during context destruction, when ctx->DrawBuffer would be NULL. NOTE: This is a candidate for the 7.8 branch.
* radeon: allow driconf vblank settings with dri2Alex Deucher2010-07-151-0/+1
| | | | | | | fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch.
* st/mesa: fix quad strip trimming bugBrian Paul2010-07-151-27/+57
| | | | | | | | | | | | | | | | The translate_prim() function tries to convert quad strips into tri strips. This is normally OK but we have to check for an odd number of vertices so that we don't accidentally draw an extra triangle. The mesa-demos/src/samples/prim.c demo exercises that. With this fix the stray yellow triangle is no longer drawn. Use the u_trim_pipe_prim() function to make sure that prims have the right number of vertices and avoid calling gallium drawing functions when the prim has a degenerate number of vertices. Plus add comments, clean-up formatting, etc. NOTE: This is a candidate for the 7.8 branch.
* llvmpipe: Remove redundant statement.José Fonseca2010-07-151-1/+0
| | | | Thanks to Vinson for spotting this.
* glu/sgi: Remove dead initialization in extract565.Vinson Lee2010-07-151-1/+1
|
* tgsi: Remove dead assignment in uprcase function.Vinson Lee2010-07-151-1/+1
|
* mesa: Fix potential out-of-bounds access by _vbo_Materialf.Vinson Lee2010-07-151-1/+4
| | | | | _vbo_Materialf calls _vbo_Materialfv, which uses the params argument as an array.
* glx: Move dereference and initialization to after NULL check.Vinson Lee2010-07-151-1/+3
|