summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2006-11-16use LONGSTRING to silence warningBrian Paul
2006-11-16fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044Brian Paul
2006-11-16Make sure vbo's are mapped before accessing their contents inKeith Whitwell
api_arrayelt.c. Reported by Haihao Xiang.
2006-11-16reindent, clean-upBrian Paul
2006-11-15Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
2006-11-15Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constantBrian Paul
in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants.
2006-11-15reindent, add some commentsBrian Paul
2006-11-15reindentBrian Paul
2006-11-15indent, commentsBrian Paul
2006-11-15s/int/GLboolean/Brian Paul
2006-11-15improved error mesagesBrian Paul
2006-11-15fix casts to silence warningsBrian Paul
2006-11-15#define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul
warnings about long string literals.
2006-11-15Comments for operations.Brian Paul
2006-11-15Remove use of GetBufferSize (depreciated).Jerome Glisse
2006-11-14Make sure RENDER_FINISH is called on the zero pixel case. Reported byKeith Whitwell
Haihao Xiang.
2006-11-14Enable GLX_SGI_make_current_read for tdfx.Ian Romanick
Implement GLX_SGI_make_current_read for tdfx. Remove annoying debug printf in tdfxSwapBuffers. Updated a comment in drirenderbuffer.h to note that the tdfx driver uses a flag that was previously only used by s3v. This code was tested with glxgears, wincopy, and manywin.
2006-11-13Clean-up compiler warnings.Ian Romanick
2006-11-13Implement GL_ARB_occlusion_query.Ian Romanick
Based on the old code that implemented GL_HP_occlusion_test, implement GL_ARB_occlusion_query. This code passes progs/demo/arbocclude.
2006-11-13tdfxDDWriteDepthPixels can be called with mask == NULL.Ian Romanick
Via depth_test_pixels (swrast/s_depth.c), tdfxDDWriteDepthPixels can be called with mask == NULL. Test for this condition in the places where mask might be dereference. This matches the behavior of several other functions in this file with a 'const GLubyte mask[]' parameter.
2006-11-13Major clean-up of tdfxDDGetString.Ian Romanick
2006-11-13Eliminate use of deprecated GetBufferSize interface.Ian Romanick
2006-11-13Fix "3D driver claims to not support visual ..." warnings.Ian Romanick
In 16-bit color modes the 3D driver was erroneously creating fbconfigs with 16-bits of accumulation alpha. Since the 2D driver always generates modes with zero bits of alpha, the lists of fbconfigs did not match and warnings were generated by libGL.
2006-11-10Bump driver date.Ian Romanick
2006-11-10Refactor savageXMesaSet{Back,Front}ClipRects.Ian Romanick
Refactor savageXMesaSetBackClipRects and savageXMesaSetFrontClipRects into a single new routine called savageXMesaSetClipRects. This allows a few cleanups in the code.
2006-11-10Enable GLX_SGI_make_current_read.Ian Romanick
Eliminate use of deprecated GetBufferSize interface. Keep framebuffer state associated with the read-drawable and the draw-drawable up to date. Tested with progs/demos/wincopy.
2006-11-10Fix up texture compression at least Get and TexImage, not too sure aboutDave Airlie
how to fix SubTexImage with compressed textures
2006-11-10Implement GLX_SGI_make_current_readIan Romanick
Discontinue use of the old GetBuffeSize interface. Track both the current read-drawable and the current draw-drawable. After moving some context state to via_rednerbuffer, GLX_SGI_make_current_read can be enabled. The extension works, but the wincopy test prodcues a black window for the destination window. After messing around with the window and looking at the code, I believe the problem is in the handling of buffer swap requests on a drawable that isn't the current draw-drawable.
2006-11-09Remove unnecessary setting of GetBufferSize to NULL.Ian Romanick
2006-11-09Fix some && (logical) that should clearly have been & (bitwise).Adam Jackson
2006-11-05fix vp lockups due to incorrectly set up / emitted attrib inputs.Roland Scheidegger
2006-11-05fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp ↵Roland Scheidegger
inputs.
2006-11-05reindentBrian Paul
2006-11-05Add sin instruction to fragment program.Jerome Glisse
There is a bug somewhere in fragment program. tri-cos and tri-sin show the bug. Also we should not emit multiple time the same constant. for sin,cos,lit have to fix that.
2006-11-04Add cos instruction and remove left over debug.Jerome Glisse
2006-11-04Fix for glGetVertexAttribfvNV, bug 8883Brian Paul
2006-11-04fix error msgBrian Paul
2006-11-04fix for glGetVertexAttribfvARB, bug 8883Brian Paul
2006-11-03#define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set.Brian Paul
2006-11-03Fix _mesa_IsProgram() and _mesa_IsShader()Brian Paul
2006-11-03check for USE_MGL_NAMESPACEBrian Paul
2006-11-03implement _mesa_GetShaderiv()Brian Paul
2006-11-03implement _mesa_GetProgramiv()Brian Paul
2006-11-03Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.Brian Paul
2006-11-03Use inlined uniform() helper function in all the glUniform*() function toBrian Paul
reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
2006-11-03plug in 2.0, 2.1 functionsBrian Paul
2006-11-03Added OpenGL 2.1 entrypoints.Brian Paul
2006-11-03Set DO_DEBUG=0Brian Paul
2006-11-03only enabled memcpy timing if DO_DEBUG=1Brian Paul
2006-11-03replace CONFIG_H with MESA_CONFIG_H_INCLUDEDBrian Paul