summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-10-26Merge branch '965-glsl'Zou Nan hai
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-23bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵Brian
instructions
2007-10-17Don't call the driver clear hook when the effective scissor rectangle is empty.Michel Dänzer
2007-10-08 Only vertex program fix, bypass tnl vertex programZou Nan hai
2007-10-03 Update of OpenVMS makefiles for the use of "new" include file conventionJouk
2007-10-02Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-09-28Remove test for EXT_blend_logic_op in glGetString when determining GL version.Brian
EXT_blend_logic_op is slightly different from GL 1.1's RGBA logicop mode and does not have to be supported. Per conversation with Roland.
2007-09-27Restore old _TriangleCaps code to fix Blender problem (bug 12164)Brian
2007-09-23fix DrawRangeElements error msgBrian
2007-09-20fixes for bluegene-xlc-osmesa configBrian
2007-09-11In _mesa_make_current(), don't unbind FBOs from the old context.Brian
This fixes the X server crash reported by KeithP on Aug 29. The old context's FBOs will be unreferenced during context destruction so there's no memleak with this change.
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-25Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
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