summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Bring over the texobj refcounting changes from mesa_7_0_branchBrian2007-08-165-125/+202
|
* Fix a few more problems with freeing FBOs/textures during context destruction.Brian2007-08-142-28/+43
| | | | | | Free FBOs before textures since the later may be referenced by the former. Need to bind the context we're destroying if there isn't a current context so that ctx->DeleteTexture() etc can be used.
* free any render/framebuffers left in hash tables when freeing shared stateBrian2007-08-131-0/+23
|
* Implement mutex/locking around texture object reference counting.Brian2007-08-138-212/+184
| | | | | | Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures.
* added some missing Default1D/2DArray texture codeBrian2007-08-131-0/+7
|
* fix byte swap bug for GLint stencil indexes (bug 11909)Brian2007-08-091-1/+1
|
* fix stencil value masking bug 11805, and fix sizeof() bugBrian2007-08-021-6/+3
|
* EXT_texture_sRGB support on i965Zou Nan hai2007-08-022-0/+28
|
* Fix an error in _mesa_validate_DrawElementsXiang, Haihao2007-07-301-7/+27
| | | | | The field 'Data' in an obj is NULL in some dri drivers(such as i965). Use mapped pointer instead.
* remove old comment, minor formatting fixesBrian2007-07-301-8/+5
|
* handle LSB_FIRST in _mesa_pack_bitmap by the way used inXiang, Haihao2007-07-301-8/+8
| | | | _mesa_unpack_bitmap
* Fix an error related to glPolygonStipple.Xiang, Haihao2007-07-301-5/+12
| | | | | | As glPixelStore(GL_UNPACK) affect the bits into a stipple pattern, hence 128 bytes used to store the pattern in a display list aren't enough sometimes.
* fix glPointParameteriv bug 11754Jan Dvorak2007-07-291-3/+8
|
* remove unused MAX_3D_TEXTURE_SIZE, reformatttingBrian2007-07-241-20/+17
|
* Fix a number of MINGW32 issuesZhang2007-07-215-5/+18
|
* Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-214-15/+4
| | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
* fix bogus recently introduced function param commentsRoland Scheidegger2007-07-201-2/+0
|
* fix mesa's handling of fbo's / window fb (again)Roland Scheidegger2007-07-196-41/+77
| | | | | | | | Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
* more fixes for mesa's fbo handling (fixes tests/fbotest1/2)Roland Scheidegger2007-07-193-3/+14
|
* fix up mesa's probably bogus framebuffer updates with different read/write fbsRoland Scheidegger2007-07-191-12/+26
| | | | | | Conflicts: src/mesa/main/framebuffer.c
* fix mesa fb bindingRoland Scheidegger2007-07-192-4/+6
| | | | | | | | 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).
* fix bogus fb/drawable informationRoland Scheidegger2007-07-161-0/+11
| | | | | | | | | | 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 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). (Brought over from i915tex_privbuffers, where it fixes xdemos/wincopy when switching to front buffer rendering.)
* fix width/depth mix-up (bug 11577)Brian2007-07-121-1/+1
|
* Minor clean-up of polygon offset logic. Properly compute _MRD field.Brian2007-07-111-1/+3
|
* Fix size test bug in _mesa_test_proxy_teximage().Brian2007-07-081-13/+17
| | | | | | | width/height/depth == 0 is a legal texture size (no error generated). Later, the texture will be considered incomplete, however, and texturing will effectively be disabled. See bug 11309.
* Check if 'indices' parameter is NULL (bug 11314)Brian2007-07-081-2/+17
|
* Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.Brian2007-07-083-17/+19
|
* check depthScale value for optimized ushort->uint case (fixes bug 11474)Brian2007-07-081-1/+13
|
* stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475Brian2007-07-051-12/+12
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-0414-42/+42
| | | | of -I flags.
* fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug ↵Roland Scheidegger2007-07-031-1/+1
| | | | #11030)
* avoid unnecessary clamping of depth values (bug 11448)Brian2007-07-021-28/+51
|
* a variety of fixes for MingWzhang2007-06-281-0/+3
|
* increase MAX_POINT_SIZE to 60Brian2007-06-281-1/+1
|
* XXX comment about point clampingBrian2007-06-281-0/+1
|
* fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of ↵Brian2007-06-121-17/+17
| | | | a goto
* fix commentBrian2007-06-121-2/+2
|
* Rework _mesa_update_texture_compare_function() to only be called duringBrian2007-06-112-45/+44
| | | | | | | state validation/update. Note that we're still temporarily skipping the test for an active fragment program. Need to fix shadow2D() ...
* rename/clean-up _mesa_validate_texture_wrap_modeBrian2007-06-111-12/+15
|
* fix typo, added commentBrian2007-06-111-2/+5
|
* Replace texobj->Complete with texobj->_Complete since it's a derived field.Brian2007-06-114-33/+33
|
* typo: s/derrived/derived/Brian2007-06-111-1/+1
|
* In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's ↵Brian2007-06-111-1/+1
| | | | an app issue, not a mesa bug.
* remove dead codeBrian2007-06-111-30/+4
|
* In supported_buffer_bitmask(), use framebuffer's visual, not context's visualBrian2007-06-081-28/+23
|
* disable depthBits test in check_compatible(), see bug 11161Brian2007-06-081-3/+6
|
* remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITSBrian2007-06-081-6/+3
|
* Add support for GL_ARB_fragment_program_shadow.Ian Romanick2007-06-073-0/+6
|
* Fix ARB_fp spec conformance bug WRT shadow sampling.Ian Romanick2007-06-073-0/+43
| | | | | The ARB_fp (and other assembly-level fragment program specs) say that the depth comparison function is always GL_NONE in fragment program mode.
* doxygen-ize some commentsBrian2007-05-231-6/+18
|