summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2006-11-21fix segfault with ATI_fs when trying to use a not enabled texture unit (bug ↵Roland Scheidegger
#9110).
2006-11-21blend, logicop changes for intelEmitCopyBlit backported to i915Keith Whitwell
2006-11-21Gary Wong's patches for CopyPixels Logiop (enable) and BlendKeith Whitwell
(disallow). Slightly cleaned to disallow on all blend states for code consiseness and turn a table lookup into a function to match other code in the driver.
2006-11-21Gary Wong's fix for 64 bit cleanness of vertex program inputs bitmask.Keith Whitwell
2006-11-21Commit Gary Wong & Keith Packard's changes for bug 8867 -- adjust codeKeith Whitwell
after repositioning of INDEX value in BRW_ATTRIB enum.
2006-11-20Disable fragment program debug messages.Rune Petersen
2006-11-20Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell
definition dangle (every vertex has a position). However save->currentsz isn't properly maintained for this attribute, as there is no current position value to track. Reported by Haihao Xiang.
2006-11-17fragment.position supportRune Petersen
World position is calculated in the vertex shader and passed to the fragment shader via an unused texcoord.
2006-11-17r300_select_vertex_shader4:Rune Petersen
Makes the vertex program output from the fragment input. It makes the driver capable of catching output-input mismatches safely. Primarily based on some of Aapo Tahkola's code.
2006-11-16remove unused imesa local var to silence warningsBrian Paul
2006-11-16Make sure vbo's are mapped before accessing their contents inKeith Whitwell
api_arrayelt.c. Reported by Haihao Xiang.
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-15Remove use of GetBufferSize (depreciated).Jerome Glisse
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-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-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-03enable generic arrays for r200 hw vertex programs by assigning unused color ↵Roland Scheidegger
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.).
2006-11-03remove setting some driver funcs explicitly to NULL, as they are no longer ↵Roland Scheidegger
set up later. Thix fixes a segfault in _mesa_Bitmap().
2006-11-02Update gl_API.xml with OpenGL 2.0 functions, regenerate derived files.Brian Paul
2006-11-02include utils.h to silence warningBrian Paul
2006-11-02s/GLuint/int/ to silence warningsBrian Paul
2006-11-02casting, type changes to silence warningsBrian Paul
2006-11-02s/GLint/GLuint/ to fix sign warningsBrian Paul
2006-11-02fix typo, silence warningsBrian Paul
2006-11-02Fix GL_EXT_packed_depth_stencil crash, but shadowtex still brokenBrian Paul
2006-11-02Fix fragment program fog problems found with Glean.Brian Paul
1. add PROGRAM_CONSTANT to switch() in src_vector(). 2. use _mesa_append_fog_code() to handle fog options in i915ProgramStringNotify(). 3. Re-enable some vertex attribute emit code that was previously disabled in i915ValidateFragmentProgram().
2006-11-02Call _mesa_problem() from i915_program_error() so we get a nice error message.Brian Paul
2006-11-02Add requested size to r300RefillCurrentDmaRegion.Jerome Glisse
This way we no longuer have the fixed RADEON_BUFFER_SIZE. Anyway function calling AllocDmaRegion should check if this succeed and fail gracefuly if not (see bug 8348).
2006-11-02remove GetBufferSize = NULL; assignmentBrian Paul
2006-11-02Fixes Glean vertex/fragment test failures. Those tests never calledBrian Paul
glViewport so the viewport was 0 by 0 pixels.
2006-11-02remove GetBufferSize codeBrian Paul
2006-11-02remove unneeded extern declaration of lockMutexBrian Paul