summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-08-24remove CallDepth++/-- accidentally removed in prev commitBrian
2007-08-23For _mesa_share_state(), update the context's references to the new share ↵Brian
group's objects (Shane Blackett)
2007-08-23remove unneeded CallStack arrayBrian
2007-08-20refactor bounds checking codeBrian
2007-08-20don't map buffer in _mesa_validate_DrawElements() unless neededBrian
2007-08-18some fixes for compressed cube maps (bug 11986)Brian
2007-08-18remove dead code left over after fixing GL_READ/DRAW_BUFFER state issuesBrian
2007-08-17Brian's fix for bug9829Xiang, Haihao
2007-08-16Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland ↵Brian
previously did. Basically, in update_framebuffer() (which should be called after an FBO is bound with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO. If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state. Old code still in place but disabled with #if 0 / #endif.
2007-08-16update comments, etc related to Read/DrawBuffer stateBrian
2007-08-16replace Proxy1D/2D/etc fields with ProxyTex[] arrayBrian
2007-08-16Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.Brian
Simplification in colortab.c too.
2007-08-16replace separate 1D/2D/etc fields with an array indexed by texture targetBrian
2007-08-16remove old Saved1D/2D/etc fieldsBrian
2007-08-16Bring over the texobj refcounting changes from mesa_7_0_branchBrian
2007-08-14Fix a few more problems with freeing FBOs/textures during context destruction.Brian
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.
2007-08-13free any render/framebuffers left in hash tables when freeing shared stateBrian
2007-08-13Implement mutex/locking around texture object reference counting.Brian
Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures.
2007-08-13added some missing Default1D/2DArray texture codeBrian
2007-08-09fix byte swap bug for GLint stencil indexes (bug 11909)Brian
2007-08-02fix stencil value masking bug 11805, and fix sizeof() bugBrian
2007-08-02 EXT_texture_sRGB support on i965Zou Nan hai
2007-07-30Fix an error in _mesa_validate_DrawElementsXiang, Haihao
The field 'Data' in an obj is NULL in some dri drivers(such as i965). Use mapped pointer instead.
2007-07-30remove old comment, minor formatting fixesBrian
2007-07-30handle LSB_FIRST in _mesa_pack_bitmap by the way used inXiang, Haihao
_mesa_unpack_bitmap
2007-07-30Fix an error related to glPolygonStipple.Xiang, Haihao
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.
2007-07-29fix glPointParameteriv bug 11754Jan Dvorak
2007-07-24remove unused MAX_3D_TEXTURE_SIZE, reformatttingBrian
2007-07-21Fix a number of MINGW32 issuesZhang
2007-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
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.
2007-07-20fix bogus recently introduced function param commentsRoland Scheidegger
2007-07-19fix mesa's handling of fbo's / window fb (again)Roland Scheidegger
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.
2007-07-19more fixes for mesa's fbo handling (fixes tests/fbotest1/2)Roland Scheidegger
2007-07-19fix up mesa's probably bogus framebuffer updates with different read/write fbsRoland Scheidegger
Conflicts: src/mesa/main/framebuffer.c
2007-07-19fix 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-16fix bogus fb/drawable informationRoland 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 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.)
2007-07-12fix width/depth mix-up (bug 11577)Brian
2007-07-11Minor clean-up of polygon offset logic. Properly compute _MRD field.Brian
2007-07-08Fix size test bug in _mesa_test_proxy_teximage().Brian
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.
2007-07-08Check if 'indices' parameter is NULL (bug 11314)Brian
2007-07-08Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax.Brian
2007-07-08check depthScale value for optimized ushort->uint case (fixes bug 11474)Brian
2007-07-05stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475Brian
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
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