summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2008-01-09fix bug 13978: glDrawBuffersARB() didn't set all necessary stateBrian
2008-01-06Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian
Each array element is now a BUFFER_x token rather than a BUFFER_BIT_x bitmask. The number of active color buffers is specified by _NumColorDrawBuffers. This builds on the previous DrawBuffer changes and will help with drivers implementing GL_ARB_draw_buffers.
2008-01-06Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian
These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this...
2008-01-05fix depth/1 typo in glTexImage3D proxy codeBrian
2008-01-02additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian
2008-01-01remove unneeded conditionalBrian
2008-01-01additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian
2007-12-25mesa: fix a bad cast in put_values_z24.Xiang, Haihao
The values passed to put_values_z24 are GLuint, not GLubyte. fix #13543
2007-12-20[intel] Fix and reenable (software) SGIS_generate_mipmapEric Anholt
The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images.
2007-12-18fix NEED_SECONDARY_COLOR for vert/frag progsBrian
2007-12-05Fix endianness bug in _mesa_texstore_argb8888()Brian
On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res Also, clean-up nearby code to match. picked from gallium-0.1 branch
2007-12-03fix DD_TRI_LIGHT_TWOSIDE bug (#13368)Brian
2007-11-30fix broken two-sided stencilBrian
2007-11-30Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesajoukj
2007-11-29New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian
t_vb_program.c
2007-11-09check for texture and renderbuffer in check_end_texture_render()Brian
2007-11-09alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger
these should be the same functions (as per spec).
2007-10-31check for count==0 in _mesa_validate_DrawArrays()Brian
2007-10-31Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-10-30Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian
2007-10-30Finish up ATI_separate_stencilBrian
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
2007-10-30add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger
2007-10-28Only set R_MODE with NV_point_spriteAlan Hourihane
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