summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-07-20r600g: split trans unit computationJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-07-20st/mesa: implement and advertise GL_ARB_draw_elements_base_vertexMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-07-20draw: correctly handle max_index=0xffffffff case in vcache codeBrian Paul
If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things).
2010-07-20st/mesa: implement depth texture modesMarek Olšák
2010-07-20mesa: call ctx->Driver.ChooseTextureFormat() only when necessary.Brian Paul
When defining mipmap level 'L' and level L-1 exists and the new level's internalFormat matches level L-1's internalFormat, then use the same hw format. Otherwise, do the regular ctx->Driver.ChooseTextureFormat() call. This avoids a problem where we end up choosing different hw formats for different mipmap levels depending on how the levels are defined (glTexImage vs. glCopyTexImage vs. glGenerateMipmap, etc). The root problem is the ChooseTextureFormat() implementation in some drivers uses the user's glTexImage format/type parameters in the choosing heuristic. Later mipmap levels might be generated with different calls (ex: glCopyTexImage()) so we don't always have format/type info and the driver may choose a different format. For more background info see the July 2010 mesa-dev thread "Bug in _mesa_meta_GenerateMipmap"
2010-07-20graw/tests: pass -e option to test draw_elements_instanced()Brian Paul
2010-07-20softpipe: Support non-depth-stencil formats in sp_tile_cache_flush_clear().Michal Krol
2010-07-20glx: #ifdef DRI specific prototypeKristian Høgsberg
https://bugs.freedesktop.org/show_bug.cgi?id=29162
2010-07-20glx/dri2: Fix dri2CopySubBuffer() again.Michel Dänzer
Only refresh the fake front buffer if there is one, and only destroy the region once. Fixes X11 protocol errors reported by 'mcgreg' on IRC.
2010-07-20util: mempool: initialize last block's magic number in a pageMarek Olšák
2010-07-20st/egl: Fixes for recent GLX cleanup.Chia-I Wu
Mainly, the type of __GLXdisplayPrivateRec::screenConfigs has changed from "__GLXscreenConfigs *" to "__GLXscreenConfigs **".
2010-07-20st/dri: Remove driFrameTrackingExtension.Chia-I Wu
The extension has been removed in 22266c391fbe17603b15a83d4ccf5fa9455ccf8d.
2010-07-19glx: Move DRI CopySubBuffer extension to DRI1 codeKristian Høgsberg
We do this in the X server for DRI2.
2010-07-19glx: Move driver_configs to DRI screen privatesKristian Høgsberg
2010-07-19glx: Move drawHash to display privateKristian Høgsberg
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.
2010-07-19glx: Don't use __glXInitialize() when we might be holding __glXLock()Kristian Høgsberg
2010-07-19glx: Workaround mismatch in signedness between extensions and protocolKristian Høgsberg
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.
2010-07-19glx: Move __DRIdrawable pointers to DRI drawable privatesKristian Høgsberg
2010-07-19glx: Remove support for MESA_swap_frame_usageKristian Høgsberg
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
2010-07-19glx: Move __driScreen into the dri screen privatesKristian Høgsberg
2010-07-19glx: Move DRI1 specific extensions and code to DRI1 screen privateKristian Høgsberg
2010-07-19glx: Move DRI2 extensions to DRI2 screen privateKristian Høgsberg
2010-07-19glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg
Only r200 implemented it.
2010-07-19glx: Add screen privates for dri drivers and moved some fields thereKristian Høgsberg
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.
2010-07-19glx: Rename various DRI structs away from obnoxious __GLXfooRec conventionKristian Høgsberg
Enough is enough.
2010-07-19glx: Factor out common code from dri2WaitGL() and dri2WaitX()Kristian Høgsberg
2010-07-19glx: Dont use dri2WaitX() to update fake frontKristian Høgsberg
This saves a superfluous flush and a create/destryo region.
2010-07-19i965: Mostly fix glsl-max-varyings.Eric Anholt
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.
2010-07-19i965: Clean up message register setup in emit_vertex_write().Eric Anholt
2010-07-19i965: Reduce repeated calculation of the attribute-offset-in-VUE.Eric Anholt
This cleans up some chipset dependency sprinkled around, and fixes a potential overflow of the attribute offset array for many vertex results.
2010-07-19i965: Clarify the nr_regs calculation in brw_clip.cEric Anholt
2010-07-19i965: Don't set up VUE space for the disabled user clip distances on gen6.Eric Anholt
2010-07-19draw: fix incorrect instancing divisor in LLVM codeBrian Paul
2010-07-19mesa: remove restart.c from buildBrian Paul
2010-07-19r300g: fix possible crash in destroy_contextMarek Olšák
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.
2010-07-19util: remove the dummy field in mempoolMarek Olšák
It should allocate less memory now.
2010-07-19util: add dummy field to empty structure typesBrian Paul
Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it...
2010-07-19r300g: fix typoMarek Olšák
2010-07-19r300g: use memory pools for buffer_create and get_transferMarek Olšák
The improvement in Tremulous: 68.9 fps -> 71.1 fps.
2010-07-19util: add a memory pool for equally sized memory allocationsMarek Olšák
malloc/free are in O(1).
2010-07-19st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 formatMarek Olšák
Fixes FDO bug #29116. NOTE: this is a candidate for the 7.8 branch
2010-07-19glx: Fix drawable lookup in DRI2 event handlerKristian Høgsberg
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.
2010-07-18r300g: u_upload optimisationDave Airlie
fix vb/ib uploads
2010-07-18gallium/st/dri2: add dri2 vblank query extension supportSven Arvidsson
from bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28771 Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-18llvmpipe: Remove dead initialization.Vinson Lee
2010-07-17r300g: final fix for r3xx constant buffer emissionMarek Olšák
2010-07-17r300g: fix typo in r3xx constant buffer emissionMarek Olšák
Ooops.
2010-07-17r300g: fix constant buffer emission on r3xxMarek Olšák
FDO bug #29128.
2010-07-17llvmpipe: Remove unused variable in lp_test_sincos.Vinson Lee
2010-07-16nv50: s/__func__/__FUNCTION__/Vinson Lee