summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-03-30dri: Drop an unused __DRIcontext fieldKristian Høgsberg
2010-03-30intel: Remove redundant fields from struct intel_contextKristian Høgsberg
All these pointers are in the __DRIcontext struct, which we point to.
2010-03-30intel: Use fb->Height when flipping read buffer orientationKristian Høgsberg
With DRI2, x and y are always zero and fb->Height is always up to date with the drawable height.
2010-03-30r300/compiler: Unbreak DDX/DDY.Corbin Simpson
Fixes progs/glsl/deriv.
2010-03-30drisw: fix use after free (bug 27370)George Sapountzis
2010-03-30Merge branch '7.8'Michel Dänzer
Conflicts: Makefile src/mesa/main/version.h Resolved by keeping version strings from master (also in the intel driver).
2010-03-30mesa/es: Use core mesa's mfeatures.h.Chia-I Wu
Remove mfeatures_es1.h and mfeatures_es2.h. Build the overlay with either FEATURE_ES1 or FEATURE_ES2 defined.
2010-03-30mesa: Add missing features.Chia-I Wu
Add features tested in the code but missing from mfeatures.h. This also fixes some tests of features. They should be tested with "#if", not "#ifdef".
2010-03-30mesa: Add umbrella features.Chia-I Wu
Add FEATURE_GL, FEATURE_ES1, and FEATURE_ES2 for OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x respectively. Define individual features through the new umbrella features. There is no real change introduced by this commit.
2010-03-29glsl: avoid using rcp in length() functionsBrian Paul
See prev commit for related info.
2010-03-29glsl: remove rcp from sqrt()Brian Paul
Per a patch from Marek Olšák, we can simply multiply the incoming value by 1/sqrt(x) instead of using rcp. We're keeping the x==0 check to avoid generating NaN for sqrt(0).
2010-03-29mesa/st: util_format_is_compressed() -> util_format_is_s3tc().José Fonseca
2010-03-28intel: Bump intel driver date to reflect status as 2010Q1 releaseIan Romanick
2010-03-28mesa: set version string to 7.8Ian Romanick
Also set the correct release date.
2010-03-28swrast: Remove unnecessary header.Vinson Lee
2010-03-27drisw: add comment to libGL about strideGeorge Sapountzis
2010-03-27drisw: make stride issue profoundGeorge Sapountzis
2010-03-27mesa: move/update hash function commentsBrian Paul
(cherry picked from commit 535742d75f0096b22d1b8ff203ae561167af18f7)
2010-03-27mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()Brian Paul
Fixes fd.o bug 27340. (cherry picked from commit 8fe3b3f66ae57a1a6eca7f6dcb0455e14ad92075)
2010-03-26Merge branch '7.8'Michel Dänzer
Conflicts: src/mesa/drivers/dri/intel/intel_mipmap_tree.c - left what was in master
2010-03-26dri/swrast: Fix frontbuffer rendering.Michel Dänzer
Was broken since the endianness fixes. (cherry picked from commit 4cf14fa80bda5f4ea65bef3a64e748e064d0bde1)
2010-03-26dri/swrast: Fix missed conversion of one pixel pointer increment.Michel Dänzer
This probably broke the swrast DRI driver when running X in depth 16. (cherry picked from commit 6ec259eb17dfbb74972b8cffb4e02a9dbab288cc)
2010-03-26dri/common: add comment about DRISW wrt DRI1 / DRI2George Sapountzis
2010-03-26mesa: only call _mesa_update_state() when necessary in glGet functionsBrian Paul
Only a few state vars require state validation before querying them. This potentially speeds up state queries. Encode that info into the state tuple table. Also, use the new tuple field to indicate when FLUSH_CURRENT() must be called to validate other state vars. Based on a patch submitted by Robert Bragg on Feb 12, 2010.
2010-03-26r300/compiler: Lower CMP for vertex programs.Corbin Simpson
I think my maths is right?
2010-03-25i965: Fix readpixels from ReadBuffer != DrawBuffer.Eric Anholt
Fixes piglit fbo-readdrawpix. (cherry picked from commit 5782b2a968bb979b651e49bb5fc4162faa842050)
2010-03-25i965: Fix inversion for glCopyPixels to/from FBOs.Eric Anholt
fixes piglit fbo-copypix. (cherry picked from commit a589da14dee0c2a32e6e529f1a390b01a3ee4001)
2010-03-25intel: Rely on allocated region pitch for the miptree pitch.Eric Anholt
Bug #26966: 945 miptree pitch disagreement with libdrm. (cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
2010-03-25intel: Remove extra tiling setting after allocating a tiled region.Eric Anholt
(cherry picked from commit 32f143b4327521a058dc05f0ab9087a5696b9618)
2010-03-25intel: Respect src pitch in _mesa_copy_rect().Eric Anholt
If a non-zero src_y was used, this would break piglit depth-level-clamp. (cherry picked from commit e1e48ea15c1fe448f0b69e086b66c1123dc98bb7)
2010-03-25Merge branch '7.8'Brian Paul
2010-03-25glapi: return int = 0 from NoOpGeneric()Brian Paul
If a GL function is called w/out a current rendering context, this stub gets called. It should return 0 so that non-void-valued functions return 0/NULL instead of a random number.
2010-03-25glslcompiler: Fix build.Vinson Lee
2010-03-25drisw_util: add fields for gallium swrast_driGeorge Sapountzis
2010-03-24r100/r200/r300/r600: enable accel for Copy/DrawPixels without kmsAlex Deucher
meta ops should work ok without kms.
2010-03-24r300: report correct state atom sizeMaciej Cencora
Spotted by Pauli Nieminen
2010-03-24r300: fix off by oneMaciej Cencora
R300_PVS_MAX_CONST_ADDR field holds highest const addr, not const count. Fixes missing models and others rendering errors for vertex program using 256 params.
2010-03-24r300: fix vertex programs with big number of params (>255) under KMSMaciej Cencora
UMS will probably require some kernel work
2010-03-24r300: fix wpos/fog handlingMaciej Cencora
It may happen that the vertex attribute we were going to stuff the wpos/fog attrs in was already written by vertex program. In such cases we need to remove instruction accessing these attributes, so they don't overwrite the wpos/fog related instructions. This fixes non-textured models in many wine games.
2010-03-24r300: clean fog_attr/wpos_attr if code accessing these attributes has been ↵Maciej Cencora
removed FP during compilation
2010-03-24i965: Handle the negate and abs swizzles on brw_wm_glsl.c immediate args.Eric Anholt
Fixes piglit glsl-orangebook-ch06-bump, regressed with 4fc57322258a750c0a9cabc77372b5ccde1fa877
2010-03-24st/mesa: fix typo in prev commitBrian Paul
2010-03-24st/mesa: fix sampler_view destruction bug when texture is sharedBrian Paul
Since texture's can be shared by many contexts, the texture's sampler view's context pointer might be invalid by time we delete the texture. Prevent crashes/etc by setting the sampler view's context to be the calling context before deleting it. This should be safe as long as all contexts which share the texture are using the same gallium driver. That's a reasonable assumption since pipe_texture objects aren't compatible between different drivers anyway.
2010-03-24st/mesa: code clean-ups, formatting fixes, comments, etcBrian Paul
2010-03-24st/mesa: rename st_clear() to st_Clear()Brian Paul
To be consistent with other Mesa driver functions.
2010-03-24st/mesa: return GL_TRUE/GL_FALSE if return type is GLbooleanBrian Paul
Just to be consistent.
2010-03-23swrast: improve depth texture mipmap selectionBrian Paul
We still don't do proper min/mag filtering but this is better than just sampling the base mipmap level all the time. Fixes piglit depth-level-clamp test. Fixes fd.o bug 27256.
2010-03-23glslcompiler: added option to do linking of vert/frag shadersBrian Paul
2010-03-23dri: fix dri_test.c for non-TLS buildLuca Barbieri
_glapi_Context and _glapi_Dispatch have different constness between TLS and non-TLS builds.
2010-03-23dri: add _glthread_GetID to dri_test.c dummy glapiLuca Barbieri