aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* fix bug 13978: glDrawBuffersARB() didn't set all necessary stateBrian2008-01-091-0/+2
|
* Replace gl_framebuffer's _ColorDrawBufferMask with _ColorDrawBufferIndexesBrian2008-01-063-82/+60
| | | | | | | 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.
* Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835.Brian2008-01-063-30/+76
| | | | | | | | | | | 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...
* fix depth/1 typo in glTexImage3D proxy codeBrian2008-01-051-3/+3
|
* additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian2008-01-021-0/+8
|
* remove unneeded conditionalBrian2008-01-011-2/+3
|
* additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian2008-01-011-0/+8
|
* mesa: fix a bad cast in put_values_z24.Xiang, Haihao2007-12-251-1/+1
| | | | | The values passed to put_values_z24 are GLuint, not GLubyte. fix #13543
* [intel] Fix and reenable (software) SGIS_generate_mipmapEric Anholt2007-12-202-40/+46
| | | | | | | 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.
* fix NEED_SECONDARY_COLOR for vert/frag progsBrian2007-12-181-4/+4
|
* Fix endianness bug in _mesa_texstore_argb8888()Brian2007-12-051-11/+13
| | | | | | | 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
* fix DD_TRI_LIGHT_TWOSIDE bug (#13368)Brian2007-12-031-4/+4
|
* fix broken two-sided stencilBrian2007-11-302-7/+0
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-306-157/+110
|\
| * New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian2007-11-292-1/+6
| | | | | | | | t_vb_program.c
| * check for texture and renderbuffer in check_end_texture_render()Brian2007-11-091-2/+1
| |
| * alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger2007-11-093-152/+100
| | | | | | | | these should be the same functions (as per spec).
| * check for count==0 in _mesa_validate_DrawArrays()Brian2007-10-311-2/+3
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-317-764/+789
|\|
| * Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2007-10-303-76/+29
| |
| * Finish up ATI_separate_stencilBrian2007-10-304-768/+757
| | | | | | | | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
| * add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger2007-10-302-0/+77
| |
| * Only set R_MODE with NV_point_spriteAlan Hourihane2007-10-281-1/+2
| |
| * Merge branch '965-glsl'Zou Nan hai2007-10-261-1/+1
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
| | * Only vertex program fix, bypass tnl vertex programZou Nan hai2007-10-081-1/+1
| | |
| * | properly init dst reg's CondMask/Swizzle fieldsBrian2007-10-231-2/+2
| | |
| * | bump up MAX_INSTRUCTIONS and add an assertion to catch emitting too many ↵Brian2007-10-231-4/+7
| | | | | | | | | | | | instructions
| * | Don't call the driver clear hook when the effective scissor rectangle is empty.Michel Dänzer2007-10-171-1/+3
| | |
* | | Update of OpenVMS makefiles for the use of "new" include file conventionJouk2007-10-031-1/+3
| | |
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-0232-939/+1080
|\| |
| * | Remove test for EXT_blend_logic_op in glGetString when determining GL version.Brian2007-09-282-2/+1
| | | | | | | | | | | | | | | 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.
| * | Restore old _TriangleCaps code to fix Blender problem (bug 12164)Brian2007-09-277-1/+79
| | |
| * | fix DrawRangeElements error msgBrian2007-09-231-1/+1
| | |
| * | fixes for bluegene-xlc-osmesa configBrian2007-09-201-1/+1
| | |
| * | In _mesa_make_current(), don't unbind FBOs from the old context.Brian2007-09-111-9/+0
| | | | | | | | | | | | | | | | | | 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.
| * | remove CallDepth++/-- accidentally removed in prev commitBrian2007-08-241-0/+4
| | |
| * | For _mesa_share_state(), update the context's references to the new share ↵Brian2007-08-235-75/+161
| | | | | | | | | | | | group's objects (Shane Blackett)
| * | remove unneeded CallStack arrayBrian2007-08-232-5/+0
| | |
| * | refactor bounds checking codeBrian2007-08-201-67/+81
| | |
| * | don't map buffer in _mesa_validate_DrawElements() unless neededBrian2007-08-201-32/+19
| | |
| * | some fixes for compressed cube maps (bug 11986)Brian2007-08-182-5/+6
| | |
| * | remove dead code left over after fixing GL_READ/DRAW_BUFFER state issuesBrian2007-08-184-89/+0
| | |
| * | Brian's fix for bug9829Xiang, Haihao2007-08-171-1/+1
| | |
| * | Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland ↵Brian2007-08-165-18/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | update comments, etc related to Read/DrawBuffer stateBrian2007-08-162-20/+33
| | |
| * | replace Proxy1D/2D/etc fields with ProxyTex[] arrayBrian2007-08-161-10/+1
| | |
| * | Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.Brian2007-08-164-296/+153
| | | | | | | | | | | | Simplification in colortab.c too.
| * | replace separate 1D/2D/etc fields with an array indexed by texture targetBrian2007-08-161-82/+46
| | |
| * | remove old Saved1D/2D/etc fieldsBrian2007-08-161-11/+0
| | |
| * | Bring over the texobj refcounting changes from mesa_7_0_branchBrian2007-08-165-125/+202
| | |