Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bring over the texobj refcounting changes from mesa_7_0_branch | Brian | 2007-08-16 | 5 | -125/+202 |
| | |||||
* | Fix a few more problems with freeing FBOs/textures during context destruction. | Brian | 2007-08-14 | 2 | -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 state | Brian | 2007-08-13 | 1 | -0/+23 |
| | |||||
* | Implement mutex/locking around texture object reference counting. | Brian | 2007-08-13 | 8 | -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 code | Brian | 2007-08-13 | 1 | -0/+7 |
| | |||||
* | fix byte swap bug for GLint stencil indexes (bug 11909) | Brian | 2007-08-09 | 1 | -1/+1 |
| | |||||
* | fix stencil value masking bug 11805, and fix sizeof() bug | Brian | 2007-08-02 | 1 | -6/+3 |
| | |||||
* | EXT_texture_sRGB support on i965 | Zou Nan hai | 2007-08-02 | 2 | -0/+28 |
| | |||||
* | Fix an error in _mesa_validate_DrawElements | Xiang, Haihao | 2007-07-30 | 1 | -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 fixes | Brian | 2007-07-30 | 1 | -8/+5 |
| | |||||
* | handle LSB_FIRST in _mesa_pack_bitmap by the way used in | Xiang, Haihao | 2007-07-30 | 1 | -8/+8 |
| | | | | _mesa_unpack_bitmap | ||||
* | Fix an error related to glPolygonStipple. | Xiang, Haihao | 2007-07-30 | 1 | -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 11754 | Jan Dvorak | 2007-07-29 | 1 | -3/+8 |
| | |||||
* | remove unused MAX_3D_TEXTURE_SIZE, reformattting | Brian | 2007-07-24 | 1 | -20/+17 |
| | |||||
* | Fix a number of MINGW32 issues | Zhang | 2007-07-21 | 5 | -5/+18 |
| | |||||
* | Remove ctx->Point._Size and ctx->Line._Width. | Brian | 2007-07-21 | 4 | -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 comments | Roland Scheidegger | 2007-07-20 | 1 | -2/+0 |
| | |||||
* | fix mesa's handling of fbo's / window fb (again) | Roland Scheidegger | 2007-07-19 | 6 | -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 Scheidegger | 2007-07-19 | 3 | -3/+14 |
| | |||||
* | fix up mesa's probably bogus framebuffer updates with different read/write fbs | Roland Scheidegger | 2007-07-19 | 1 | -12/+26 |
| | | | | | | Conflicts: src/mesa/main/framebuffer.c | ||||
* | fix mesa fb binding | Roland Scheidegger | 2007-07-19 | 2 | -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 information | Roland Scheidegger | 2007-07-16 | 1 | -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) | Brian | 2007-07-12 | 1 | -1/+1 |
| | |||||
* | Minor clean-up of polygon offset logic. Properly compute _MRD field. | Brian | 2007-07-11 | 1 | -1/+3 |
| | |||||
* | Fix size test bug in _mesa_test_proxy_teximage(). | Brian | 2007-07-08 | 1 | -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) | Brian | 2007-07-08 | 1 | -2/+17 |
| | |||||
* | Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax. | Brian | 2007-07-08 | 3 | -17/+19 |
| | |||||
* | check depthScale value for optimized ushort->uint case (fixes bug 11474) | Brian | 2007-07-08 | 1 | -1/+13 |
| | |||||
* | stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475 | Brian | 2007-07-05 | 1 | -12/+12 |
| | |||||
* | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 14 | -42/+42 |
| | | | | of -I flags. | ||||
* | fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug ↵ | Roland Scheidegger | 2007-07-03 | 1 | -1/+1 |
| | | | | #11030) | ||||
* | avoid unnecessary clamping of depth values (bug 11448) | Brian | 2007-07-02 | 1 | -28/+51 |
| | |||||
* | a variety of fixes for MingW | zhang | 2007-06-28 | 1 | -0/+3 |
| | |||||
* | increase MAX_POINT_SIZE to 60 | Brian | 2007-06-28 | 1 | -1/+1 |
| | |||||
* | XXX comment about point clamping | Brian | 2007-06-28 | 1 | -0/+1 |
| | |||||
* | fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of ↵ | Brian | 2007-06-12 | 1 | -17/+17 |
| | | | | a goto | ||||
* | fix comment | Brian | 2007-06-12 | 1 | -2/+2 |
| | |||||
* | Rework _mesa_update_texture_compare_function() to only be called during | Brian | 2007-06-11 | 2 | -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_mode | Brian | 2007-06-11 | 1 | -12/+15 |
| | |||||
* | fix typo, added comment | Brian | 2007-06-11 | 1 | -2/+5 |
| | |||||
* | Replace texobj->Complete with texobj->_Complete since it's a derived field. | Brian | 2007-06-11 | 4 | -33/+33 |
| | |||||
* | typo: s/derrived/derived/ | Brian | 2007-06-11 | 1 | -1/+1 |
| | |||||
* | In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's ↵ | Brian | 2007-06-11 | 1 | -1/+1 |
| | | | | an app issue, not a mesa bug. | ||||
* | remove dead code | Brian | 2007-06-11 | 1 | -30/+4 |
| | |||||
* | In supported_buffer_bitmask(), use framebuffer's visual, not context's visual | Brian | 2007-06-08 | 1 | -28/+23 |
| | |||||
* | disable depthBits test in check_compatible(), see bug 11161 | Brian | 2007-06-08 | 1 | -3/+6 |
| | |||||
* | remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS | Brian | 2007-06-08 | 1 | -6/+3 |
| | |||||
* | Add support for GL_ARB_fragment_program_shadow. | Ian Romanick | 2007-06-07 | 3 | -0/+6 |
| | |||||
* | Fix ARB_fp spec conformance bug WRT shadow sampling. | Ian Romanick | 2007-06-07 | 3 | -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 comments | Brian | 2007-05-23 | 1 | -6/+18 |
| |