Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a lot of const qualifiers for const-correctness. | Brian Paul | 2006-11-16 | 6 | -99/+184 |
| | | | | New comments, misc clean-ups. | ||||
* | reindent | Brian Paul | 2006-11-16 | 1 | -494/+493 |
| | |||||
* | remove unused imesa local var to silence warnings | Brian Paul | 2006-11-16 | 1 | -2/+0 |
| | |||||
* | Initial implementation work for CAL, RET, and BRA instructions for fragment | Brian Paul | 2006-11-16 | 3 | -1/+60 |
| | | | | programs. | ||||
* | disable yesterday's _mesa_add_named_constant() change for now | Brian Paul | 2006-11-16 | 1 | -0/+2 |
| | |||||
* | fix bug 9046 | Brian Paul | 2006-11-16 | 1 | -2/+2 |
| | |||||
* | use LONGSTRING to silence warning | Brian Paul | 2006-11-16 | 2 | -2/+2 |
| | |||||
* | fix glDrawPixels(GL_COLOR_INDEX, GL_BITMAP) bug 9044 | Brian Paul | 2006-11-16 | 1 | -3/+3 |
| | |||||
* | Make sure vbo's are mapped before accessing their contents in | Keith Whitwell | 2006-11-16 | 4 | -6/+110 |
| | | | | api_arrayelt.c. Reported by Haihao Xiang. | ||||
* | reindent, clean-up | Brian Paul | 2006-11-16 | 1 | -119/+146 |
| | |||||
* | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | 2006-11-15 | 9 | -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 constant | Brian Paul | 2006-11-15 | 2 | -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 comments | Brian Paul | 2006-11-15 | 1 | -1545/+1625 |
| | |||||
* | reindent | Brian Paul | 2006-11-15 | 1 | -103/+130 |
| | |||||
* | indent, comments | Brian Paul | 2006-11-15 | 1 | -24/+42 |
| | |||||
* | s/int/GLboolean/ | Brian Paul | 2006-11-15 | 2 | -2/+2 |
| | |||||
* | improved error mesages | Brian Paul | 2006-11-15 | 1 | -2/+2 |
| | |||||
* | fix casts to silence warnings | Brian Paul | 2006-11-15 | 1 | -5/+5 |
| | |||||
* | #define LONGSTRING __extension__ in imports.h and use it to silence gcc | Brian Paul | 2006-11-15 | 3 | -13/+19 |
| | | | | warnings about long string literals. | ||||
* | Comments for operations. | Brian Paul | 2006-11-15 | 1 | -54/+66 |
| | |||||
* | Remove use of GetBufferSize (depreciated). | Jerome Glisse | 2006-11-15 | 4 | -29/+44 |
| | |||||
* | Make sure RENDER_FINISH is called on the zero pixel case. Reported by | Keith Whitwell | 2006-11-14 | 1 | -1/+1 |
| | | | | Haihao Xiang. | ||||
* | Enable GLX_SGI_make_current_read for tdfx. | Ian Romanick | 2006-11-14 | 7 | -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 Romanick | 2006-11-13 | 2 | -2/+5 |
| | |||||
* | Implement GL_ARB_occlusion_query. | Ian Romanick | 2006-11-13 | 2 | -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 Romanick | 2006-11-13 | 1 | -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 Romanick | 2006-11-13 | 1 | -43/+16 |
| | |||||
* | Eliminate use of deprecated GetBufferSize interface. | Ian Romanick | 2006-11-13 | 2 | -38/+15 |
| | |||||
* | Fix "3D driver claims to not support visual ..." warnings. | Ian Romanick | 2006-11-13 | 1 | -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 Romanick | 2006-11-10 | 1 | -1/+1 |
| | |||||
* | Refactor savageXMesaSet{Back,Front}ClipRects. | Ian Romanick | 2006-11-10 | 3 | -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 Romanick | 2006-11-10 | 4 | -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 about | Dave Airlie | 2006-11-10 | 7 | -41/+151 |
| | | | | how to fix SubTexImage with compressed textures | ||||
* | Implement GLX_SGI_make_current_read | Ian Romanick | 2006-11-10 | 6 | -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 Romanick | 2006-11-09 | 2 | -2/+0 |
| | |||||
* | Fix some && (logical) that should clearly have been & (bitwise). | Adam Jackson | 2006-11-09 | 1 | -4/+4 |
| | |||||
* | fix vp lockups due to incorrectly set up / emitted attrib inputs. | Roland Scheidegger | 2006-11-05 | 1 | -1/+2 |
| | |||||
* | fix using VERT_ATTRIB_WEIGHT instead of VERT_BIT_WEIGHT when assigning vp ↵ | Roland Scheidegger | 2006-11-05 | 1 | -1/+1 |
| | | | | inputs. | ||||
* | reindent | Brian Paul | 2006-11-05 | 2 | -1771/+1822 |
| | |||||
* | Add sin instruction to fragment program. | Jerome Glisse | 2006-11-05 | 1 | -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 Glisse | 2006-11-04 | 2 | -45/+64 |
| | |||||
* | Fix for glGetVertexAttribfvNV, bug 8883 | Brian Paul | 2006-11-04 | 1 | -3/+18 |
| | |||||
* | fix error msg | Brian Paul | 2006-11-04 | 1 | -1/+1 |
| | |||||
* | fix for glGetVertexAttribfvARB, bug 8883 | Brian Paul | 2006-11-04 | 1 | -1/+6 |
| | |||||
* | #define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set. | Brian Paul | 2006-11-03 | 4 | -8/+4 |
| | |||||
* | Fix _mesa_IsProgram() and _mesa_IsShader() | Brian Paul | 2006-11-03 | 1 | -4/+16 |
| | |||||
* | check for USE_MGL_NAMESPACE | Brian Paul | 2006-11-03 | 3 | -1/+15 |
| | |||||
* | implement _mesa_GetShaderiv() | Brian Paul | 2006-11-03 | 1 | -2/+30 |
| | |||||
* | implement _mesa_GetProgramiv() | Brian Paul | 2006-11-03 | 1 | -3/+40 |
| | |||||
* | Simplify GET_CURRENT_LINKED_PROGRAM() macro and calling code. | Brian Paul | 2006-11-03 | 1 | -34/+29 |
| |