summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* glx: Move DRI CopySubBuffer extension to DRI1 codeKristian Høgsberg2010-07-196-39/+14
| | | | We do this in the X server for DRI2.
* glx: Move driver_configs to DRI screen privatesKristian Høgsberg2010-07-197-12/+22
|
* glx: Move drawHash to display privateKristian Høgsberg2010-07-195-41/+27
| | | | | The XIDs are display wide so the natural location of the hash is here. This way we don't have to lookup in each of the screen hashes.
* glx: Don't use __glXInitialize() when we might be holding __glXLock()Kristian Høgsberg2010-07-193-5/+5
|
* glx: Workaround mismatch in signedness between extensions and protocolKristian Høgsberg2010-07-191-7/+32
| | | | | The DRI2 protocol for ust, msc and sbc are unsigned but the extensions talk about int64_t. Do a little dance to make the compiler shut up.
* glx: Move __DRIdrawable pointers to DRI drawable privatesKristian Høgsberg2010-07-195-64/+88
|
* glx: Remove support for MESA_swap_frame_usageKristian Høgsberg2010-07-1912-210/+0
| | | | | The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
* glx: Move __driScreen into the dri screen privatesKristian Høgsberg2010-07-194-31/+32
|
* glx: Move DRI1 specific extensions and code to DRI1 screen privateKristian Høgsberg2010-07-197-160/+132
|
* glx: Move DRI2 extensions to DRI2 screen privateKristian Høgsberg2010-07-194-84/+73
|
* glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg2010-07-1911-287/+1
| | | | Only r200 implemented it.
* glx: Add screen privates for dri drivers and moved some fields thereKristian Høgsberg2010-07-1910-227/+315
| | | | | | GLXscreenConfigs is badly named and a dumping ground for a lot of stuff. This patch creates private screen structs for the dri drivers and moves some of their fields over there.
* glx: Rename various DRI structs away from obnoxious __GLXfooRec conventionKristian Høgsberg2010-07-193-70/+59
| | | | Enough is enough.
* glx: Factor out common code from dri2WaitGL() and dri2WaitX()Kristian Høgsberg2010-07-191-28/+19
|
* glx: Dont use dri2WaitX() to update fake frontKristian Høgsberg2010-07-191-3/+3
| | | | This saves a superfluous flush and a create/destryo region.
* i965: Mostly fix glsl-max-varyings.Eric Anholt2010-07-191-10/+20
| | | | | | | | There was confusion on both the size of message we can send, and on what the URB destination offset means. The remaining problems appear to be due to spilling of regs in the fragment shader being broken.
* i965: Clean up message register setup in emit_vertex_write().Eric Anholt2010-07-191-7/+7
|
* i965: Reduce repeated calculation of the attribute-offset-in-VUE.Eric Anholt2010-07-194-24/+19
| | | | | | This cleans up some chipset dependency sprinkled around, and fixes a potential overflow of the attribute offset array for many vertex results.
* i965: Clarify the nr_regs calculation in brw_clip.cEric Anholt2010-07-191-3/+8
|
* i965: Don't set up VUE space for the disabled user clip distances on gen6.Eric Anholt2010-07-192-8/+14
|
* draw: fix incorrect instancing divisor in LLVM codeBrian Paul2010-07-191-3/+6
|
* mesa: remove restart.c from buildBrian Paul2010-07-192-2/+0
|
* r300g: fix possible crash in destroy_contextMarek Olšák2010-07-191-2/+2
| | | | | | | | | The problem is destroy_context is almost NEVER called. The only test for destroy_context I know is compiz. Reported by Vinson Lee. FDO bug #29150.
* util: remove the dummy field in mempoolMarek Olšák2010-07-192-14/+4
| | | | It should allocate less memory now.
* util: add dummy field to empty structure typesBrian Paul2010-07-192-2/+2
| | | | | Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it...
* r300g: fix typoMarek Olšák2010-07-191-1/+1
|
* r300g: use memory pools for buffer_create and get_transferMarek Olšák2010-07-195-24/+101
| | | | The improvement in Tremulous: 68.9 fps -> 71.1 fps.
* 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: 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.