summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-07-17fix mesa fb bindingRoland Scheidegger
Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
2007-07-17remove old code, remaining bits of static handles, disable (no longer ↵Roland Scheidegger
functional anyway) rotation code
2007-07-15fix bogus fb/drawable information (fixes xdemos/wincopy)Roland Scheidegger
the framebuffer objects attached to drawables can have invalidate state associated with them, since for the window framebuffer this is per-context state and not per-fbo state. Since drivers may rely on that information (otherwise would need to check if currently the window-framebuffer is bound in a lot of places) fix it up in _mesa_make_current (ugly).
2007-07-03fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug ↵Roland Scheidegger
#11030)
2007-07-02avoid unnecessary clamping of depth values (bug 11448)Brian
2007-06-28a variety of fixes for MingWzhang
2007-06-28increase MAX_POINT_SIZE to 60Brian
2007-06-28XXX comment about point clampingBrian
2007-06-12fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of ↵Brian
a goto
2007-06-12fix commentBrian
2007-06-11Rework _mesa_update_texture_compare_function() to only be called duringBrian
state validation/update. Note that we're still temporarily skipping the test for an active fragment program. Need to fix shadow2D() ...
2007-06-11rename/clean-up _mesa_validate_texture_wrap_modeBrian
2007-06-11fix typo, added commentBrian
2007-06-11Replace texobj->Complete with texobj->_Complete since it's a derived field.Brian
2007-06-11typo: s/derrived/derived/Brian
2007-06-11In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's ↵Brian
an app issue, not a mesa bug.
2007-06-11remove dead codeBrian
2007-06-08In supported_buffer_bitmask(), use framebuffer's visual, not context's visualBrian
2007-06-08disable depthBits test in check_compatible(), see bug 11161Brian
2007-06-08remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITSBrian
2007-06-07Add support for GL_ARB_fragment_program_shadow.Ian Romanick
2007-06-07Fix ARB_fp spec conformance bug WRT shadow sampling.Ian Romanick
The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
2007-05-23doxygen-ize some commentsBrian
2007-05-23restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049Brian
2007-05-23incr/decr 1D/2DArray texture refcounts like other targetsBrian
2007-05-23Fix point attentuation problem (bug 11042)Brian
ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z array wasn't indexed correctly in run_point_stage().
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