summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2007-05-07better comments for _mesa_debug(), _mesa_warning(), etcBrian
2007-04-27Version bumps for 7.0Brian
2007-04-26Unconditionally update _TriangleCaps bits. Fixes software fallback bugs, ↵Brian
such as #10687.
2007-04-24assorted fixes for Windows/VC8Karl Schultz
2007-04-21specularColor.alpha should default to 1, not 0Brian
2007-04-21fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690Brian
2007-04-21Rename occlude.[ch] to queryobj.[ch]Brian
2007-04-21Rename occlude.[ch] to queryobj.[ch] to better reflect contents.Brian
2007-04-21added MemPool fieldBrian
2007-04-21Call _mesa_warning() instead of _mesa_problem() when external s3tc lib not ↵Brian
found. The later incorrectly encourages filing a bug (10703, for example).
2007-04-20Remove unused Imakefiles.Brian
2007-04-20Long obsolete.Brian
2007-04-19In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵Brian
GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm.
2007-04-18s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian
2007-04-17Enable texture sampling for vertex programs/shaders.Brian
This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
2007-04-17don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian
generates an error
2007-04-16Use generic program limits instead of NV-specific ones to init program ↵Brian
constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc.
2007-04-14illegal to set GL_TEXTURE_MAX_LEVEL w/ GL_TEXTURE_RECTANGLE_ARBBrian
2007-04-14more _mesa_unreference_framebuffer() calls, remove dead codeBrian
2007-04-09i915tex: Make sure texture format fetch hooks are initialized.Michel Dänzer
2007-04-08enable GLSL 1.20Brian
2007-04-07Drop XFree86Server from execmem.cGeorge Sapountzis
This is a remnant from the libcwrapper days that can be removed now. It is the last XFree86 glitch in Mesa core. Reverts the following commit (thanks to Brian Paul for pointing to it): commit 8b1dc68662f2a18ea4e02c6d3247c5d1da741aa8 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Tue Jan 24 21:40:53 2006 +0000 pull in fix from 6.4 branch for XFree86Server definition commit cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Author: Ian Romanick <idr@us.ibm.com> Date: Fri Oct 21 18:09:24 2005 +0000 Make execmem.c compile in the server (libGLcore). Since xf86mmap doesn't know about MAP_ANONYMOUS, this is the only viable fix. This issue will likely have to be revisited at some point.
2007-04-05Remove SI imports/exports remnants.George Sapountzis
2007-04-05temporary add some extra renderbuffer debug codeBrian
2007-04-04Remove the never-used SI-style imports/exports code.Brian
2007-04-02use _mesa_reference_renderbuffer() in a few more placesBrian
2007-04-02updated debug printfBrian
2007-03-27fix incorrect _MaxElement calculationRoland Scheidegger
The calculation of _MaxElement was wrong if the stride was larger than elementSize, which lead to rejection of every DrawElements call which accessed the maximum element if CheckArrayBounds was enabled.
2007-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
2007-03-26merge of glsl-compiler-1 branchBrian
2007-03-25Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian
2007-03-25Color3iv: set the alpha value to 1.0Xiang, Haihao
2007-03-24Free shader-related context state: _mesa_free_shader_state()Brian
2007-03-23Implement alpha buffer copy for SwapBuffers().Brian
Nicolai writes: When the pixmap pixel format has no alpha channel, the x11 driver (software rendering) adds a wrapped alpha channel on request. During SwapBuffers, this alpha channel is not copied from back to front, which means that the front buffer doesn't really contain the contents that the back buffer previously contained. A subsequent glReadPixels from the front buffer will return an incorrect result. The following patch attempts to fix this.
2007-03-23Add the ability to generate programs that doesn't use condition codes.Brian
ctx->Shader.EmitCondCodes determines if we use condition codes. If not, IF statement uses first operand's X component as the condition. Added OPCODE_BRK0, OPCODE_BRK1, OPCODE_CONT0, OPCODE_CONT1 to handle the common cases of conditional break/continue.
2007-03-22use _mesa_copy_instructions()Brian
2007-03-22Ensure we have a valid ReadBuffer for CopyTexSubImage, andAlan Hourihane
if not bail accordingly. Previously we'd only do this test on compressed textures.
2007-03-21merge from masterBrian
2007-03-21mesa: revert f9f79c8d770e696249bd98c68b563f887562c974Xiang, Haihao
to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float.
2007-03-18mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT)Xiang, Haihao
or TexImage(DEPTH_COMPONENT)
2007-03-18mesa: enhance fxt1_quantize_ALPHA1Xiang, Haihao
If possible, let minCol != maxCol
2007-03-17fix some format conversion bugs in glGetTexImage(), bug 10288Haihao Xiang
2007-03-16Assorted fixes for dealing with zero-size frame/renderbuffers.Brian
In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205.
2007-03-16Colortable re-org.Brian
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
2007-03-16added a renderbuffer commentBrian
2007-03-15silently ignore DeleteProgram/Shader(id=0)Brian
2007-03-15in _mesa_GetColorTable, return silently if table size is 0Brian
2007-03-15no-op clear if buffer width or height is zero (bug 7205)Brian
2007-03-15implement byteswapping for all multi-byte types in ↵Brian
_mesa_pack_rgba_span_float(), bug 10298
2007-03-14pixelmap code simplificationBrian