summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-05-21get rid of GenTexturesLock, used ctx->Shared->MutexBrian
2007-05-21remove the unused texobj Mutex fieldBrian
2007-05-21remove a VMS-ism that doesn't seem needed elsewhereBrian
2007-05-21improve some comments, clean-up formattingBrian
2007-05-21remove some whitespaceBrian
2007-05-21if light position is local, treat it as a homogeneous coord and divide by W ↵Brian
(see bug 11009)
2007-05-19need to copy new 1D/2D array texture objects in _mesa_PushAttrib()Brian
2007-05-17Add missing _EXT suffix to 2D_ARRAY target enums.Ian Romanick
2007-05-17Add array texture targets to list that can use compressed formats.Ian Romanick
2007-05-17Refactor determining whether a texture target can use compressed formatIan Romanick
2007-05-17make srcPtr param to make_1d_stack_mipmap() constBrian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-05-15Bring framebuffer_texture's error checking more in-line with the spec.Ian Romanick
2007-05-14master/trunk is now for Mesa 7.1 devel: bump versionsBrian
2007-05-10more indentation fixes, remove 'register' keywordsBrian
2007-05-10re-indent some codeBrian
2007-05-10Fix reversed enable logic in enable_textureIan Romanick
Fix bug inserted in commit c9e723e5013443df984cb3987ffa3a9ba3384b89. Discovered by Oliver McFadden (z3ro).
2007-05-10Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabledIan Romanick
These changes are based on patch review comments from Brian Paul, Alan Hourihane, and vehemens.
2007-05-10Refactor the loop in unbind_texobj_from_texunits.Ian Romanick
Common code was pulled out of the per-target if-statment and put at the end of the for-loop. The common code is guarded by a new variable, curr, that is set to point to the unit's current target in each if-statement.
2007-05-10Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB).Ian Romanick
Most switch-statements that have cases for these enums already use code like: const GLuint idx = pname - GL_SOURCE0_RGB; ... texUnit->Combine.SourceRGB[idx] ... This patch just brings the remaining bits up to speed.
2007-05-10Refactor the way TestProxyTexImage is called in texture_error_check.Ian Romanick
2007-05-10Refactor Enable / Disable and IsEnabled bits related to texture targets.Ian Romanick
2007-05-07better comments for _mesa_debug(), _mesa_warning(), etcBrian
2007-04-27Version bumps for 7.0Brian
2007-04-26Unconditionally update _TriangleCaps bits. Fixes software fallback bugs, ↵Brian
such as #10687.
2007-04-24assorted fixes for Windows/VC8Karl Schultz
2007-04-21specularColor.alpha should default to 1, not 0Brian
2007-04-21fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690Brian
2007-04-21Rename occlude.[ch] to queryobj.[ch]Brian
2007-04-21Rename occlude.[ch] to queryobj.[ch] to better reflect contents.Brian
2007-04-21added MemPool fieldBrian
2007-04-21Call _mesa_warning() instead of _mesa_problem() when external s3tc lib not ↵Brian
found. The later incorrectly encourages filing a bug (10703, for example).
2007-04-20Remove unused Imakefiles.Brian
2007-04-20Long obsolete.Brian
2007-04-19In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵Brian
GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm.
2007-04-18s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian
2007-04-17Enable texture sampling for vertex programs/shaders.Brian
This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
2007-04-17don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian
generates an error
2007-04-16Use generic program limits instead of NV-specific ones to init program ↵Brian
constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc.
2007-04-14illegal to set GL_TEXTURE_MAX_LEVEL w/ GL_TEXTURE_RECTANGLE_ARBBrian
2007-04-14more _mesa_unreference_framebuffer() calls, remove dead codeBrian
2007-04-09i915tex: Make sure texture format fetch hooks are initialized.Michel Dänzer
2007-04-08enable GLSL 1.20Brian
2007-04-07Drop XFree86Server from execmem.cGeorge Sapountzis
This is a remnant from the libcwrapper days that can be removed now. It is the last XFree86 glitch in Mesa core. Reverts the following commit (thanks to Brian Paul for pointing to it): commit 8b1dc68662f2a18ea4e02c6d3247c5d1da741aa8 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Tue Jan 24 21:40:53 2006 +0000 pull in fix from 6.4 branch for XFree86Server definition commit cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Author: Ian Romanick <idr@us.ibm.com> Date: Fri Oct 21 18:09:24 2005 +0000 Make execmem.c compile in the server (libGLcore). Since xf86mmap doesn't know about MAP_ANONYMOUS, this is the only viable fix. This issue will likely have to be revisited at some point.
2007-04-05Remove SI imports/exports remnants.George Sapountzis
2007-04-05temporary add some extra renderbuffer debug codeBrian
2007-04-04Remove the never-used SI-style imports/exports code.Brian
2007-04-02use _mesa_reference_renderbuffer() in a few more placesBrian
2007-04-02updated debug printfBrian
2007-03-27fix incorrect _MaxElement calculationRoland Scheidegger
The calculation of _MaxElement was wrong if the stride was larger than elementSize, which lead to rejection of every DrawElements call which accessed the maximum element if CheckArrayBounds was enabled.