summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* use LONGSTRING to silence warningBrian Paul2006-11-162-2/+2
|
* fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044Brian Paul2006-11-161-3/+3
|
* Make sure vbo's are mapped before accessing their contents inKeith Whitwell2006-11-164-6/+110
| | | | api_arrayelt.c. Reported by Haihao Xiang.
* reindent, clean-upBrian Paul2006-11-161-119/+146
|
* Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul2006-11-159-15/+19
| | | | | _mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
* Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constantBrian Paul2006-11-152-15/+88
| | | | | | in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants.
* reindent, add some commentsBrian Paul2006-11-151-1545/+1625
|
* reindentBrian Paul2006-11-151-103/+130
|
* indent, commentsBrian Paul2006-11-151-24/+42
|
* s/int/GLboolean/Brian Paul2006-11-152-2/+2
|
* improved error mesagesBrian Paul2006-11-151-2/+2
|
* fix casts to silence warningsBrian Paul2006-11-151-5/+5
|
* #define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul2006-11-153-13/+19
| | | | warnings about long string literals.
* Comments for operations.Brian Paul2006-11-151-54/+66
|
* Remove use of GetBufferSize (depreciated).Jerome Glisse2006-11-154-29/+44
|
* Make sure RENDER_FINISH is called on the zero pixel case. Reported byKeith Whitwell2006-11-141-1/+1
| | | | Haihao Xiang.
* Enable GLX_SGI_make_current_read for tdfx.Ian Romanick2006-11-147-32/+69
| | | | | | | | | 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.
* Clean-up compiler warnings.Ian Romanick2006-11-132-2/+5
|
* Implement GL_ARB_occlusion_query.Ian Romanick2006-11-132-1/+55
| | | | | Based on the old code that implemented GL_HP_occlusion_test, implement GL_ARB_occlusion_query. This code passes progs/demo/arbocclude.
* tdfxDDWriteDepthPixels can be called with mask == NULL.Ian Romanick2006-11-131-2/+2
| | | | | | | 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.
* Major clean-up of tdfxDDGetString.Ian Romanick2006-11-131-43/+16
|
* Eliminate use of deprecated GetBufferSize interface.Ian Romanick2006-11-132-38/+15
|
* Fix "3D driver claims to not support visual ..." warnings.Ian Romanick2006-11-131-1/+1
| | | | | | | 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.
* Bump driver date.Ian Romanick2006-11-101-1/+1
|
* Refactor savageXMesaSet{Back,Front}ClipRects.Ian Romanick2006-11-103-38/+9
| | | | | | Refactor savageXMesaSetBackClipRects and savageXMesaSetFrontClipRects into a single new routine called savageXMesaSetClipRects. This allows a few cleanups in the code.
* Enable GLX_SGI_make_current_read.Ian Romanick2006-11-104-36/+27
| | | | | | | | 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.
* Fix up texture compression at least Get and TexImage, not too sure aboutDave Airlie2006-11-107-41/+151
| | | | how to fix SubTexImage with compressed textures
* Implement GLX_SGI_make_current_readIan Romanick2006-11-106-85/+153
| | | | | | | | | | | | 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.
* Remove unnecessary setting of GetBufferSize to NULL.Ian Romanick2006-11-092-2/+0
|
* Fix some && (logical) that should clearly have been & (bitwise).Adam Jackson2006-11-091-4/+4
|
* remove drm stuff from libGL, this is now in libdrm 2.3.0Dave Airlie2006-11-081-62/+0
|
* fix vp lockups due to incorrectly set up / emitted attrib inputs.Roland Scheidegger2006-11-051-1/+2
|
* fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp ↵Roland Scheidegger2006-11-051-1/+1
| | | | inputs.
* reindentBrian Paul2006-11-052-1771/+1822
|
* Add sin instruction to fragment program.Jerome Glisse2006-11-051-2/+64
| | | | | | | 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.
* Add cos instruction and remove left over debug.Jerome Glisse2006-11-042-45/+64
|
* Fix for glGetVertexAttribfvNV, bug 8883Brian Paul2006-11-041-3/+18
|
* fix error msgBrian Paul2006-11-041-1/+1
|
* fix for glGetVertexAttribfvARB, bug 8883Brian Paul2006-11-041-1/+6
|
* #define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set.Brian Paul2006-11-034-8/+4
|
* Fix _mesa_IsProgram() and _mesa_IsShader()Brian Paul2006-11-031-4/+16
|
* check for USE_MGL_NAMESPACEBrian Paul2006-11-033-1/+15
|
* implement _mesa_GetShaderiv()Brian Paul2006-11-031-2/+30
|
* implement _mesa_GetProgramiv()Brian Paul2006-11-031-3/+40
|
* Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code.Brian Paul2006-11-031-34/+29
|
* Use inlined uniform() helper function in all the glUniform*() function toBrian Paul2006-11-033-270/+193
| | | | | | | reduce duplicated code. Finish up _program_ReadUniform() for non-float types. Implement _mesa_GetUniformivARB(). Simplify the _program_WriteUniform() function a bit.
* plug in 2.0, 2.1 functionsBrian Paul2006-11-031-0/+26
|
* Added OpenGL 2.1 entrypoints.Brian Paul2006-11-0311-5509/+6098
|
* Set DO_DEBUG=0Brian Paul2006-11-031-1/+1
|
* only enabled memcpy timing if DO_DEBUG=1Brian Paul2006-11-031-23/+28
|