summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* replace CONFIG_H with MESA_CONFIG_H_INCLUDEDBrian Paul2006-11-031-4/+4
|
* Added OpenGL 2.1 glUniformMatrix* functions.Brian Paul2006-11-033-127/+199
| | | | | Refactor the _mesa_UniformMatrix() functions to use a helper function. Implement GetUniformfv function (might need more work someday).
* reformat comments in Doxygen styleBrian Paul2006-11-031-44/+71
|
* reindentBrian Paul2006-11-031-1225/+1264
|
* Minor changes to get ready for OpenGL 2.1.Brian Paul2006-11-033-1/+11
|
* enable generic arrays for r200 hw vertex programs by assigning unused color ↵Roland Scheidegger2006-11-034-27/+143
| | | | and texture inputs to them. Not widely tested yet. This should eliminate all fallbacks due to vertex programs, except writes to back facing colors, or when exceeding a hw limit (12 temps, 12 attribs etc.).
* remove setting some driver funcs explicitly to NULL, as they are no longer ↵Roland Scheidegger2006-11-031-4/+0
| | | | set up later. Thix fixes a segfault in _mesa_Bitmap().
* Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul2006-11-0211-6411/+8922
|
* minor change in _mesa_ResizeBuffersMESA()Brian Paul2006-11-021-1/+2
|
* include utils.h to silence warningBrian Paul2006-11-021-0/+1
|