summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|
* Added OpenGL 2.1 entrypoints.Brian Paul2006-11-031-9/+63
|
* Set DO_DEBUG=0Brian Paul2006-11-031-1/+1
|
* only enabled memcpy timing if DO_DEBUG=1Brian Paul2006-11-031-23/+28
|
* 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-021-139/+389
|
* include utils.h to silence warningBrian Paul2006-11-021-0/+1
|
* s/GLuint/int/ to silence warningsBrian Paul2006-11-021-2/+2
|
* casting, type changes to silence warningsBrian Paul2006-11-022-5/+5
|
* s/GLint/GLuint/ to fix sign warningsBrian Paul2006-11-021-4/+4
|
* fix typo, silence warningsBrian Paul2006-11-021-2/+3
|
* Fix GL_EXT_packed_depth_stencil crash, but shadowtex still brokenBrian Paul2006-11-022-1/+5
|
* Fix fragment program fog problems found with Glean.Brian Paul2006-11-022-2/+24
| | | | | | 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().
* Call _mesa_problem() from i915_program_error() so we get a nice error message.Brian Paul2006-11-022-9/+3
|
* Add requested size to r300RefillCurrentDmaRegion.Jerome Glisse2006-11-024-11/+14
| | | | | | 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).
* remove GetBufferSize = NULL; assignmentBrian Paul2006-11-021-1/+0
|
* Fixes Glean vertex/fragment test failures. Those tests never calledBrian Paul2006-11-021-0/+10
| | | | glViewport so the viewport was 0 by 0 pixels.
* remove GetBufferSize codeBrian Paul2006-11-021-28/+0
|
* remove unneeded extern declaration of lockMutexBrian Paul2006-11-021-3/+0
|
* bump driver dateBrian Paul2006-11-021-1/+1
|
* Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul2006-11-027-9/+11
| | | | | need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-0137-175/+142
|
* comment-out unused varBrian Paul2006-11-011-1/+1
|
* remove unused varsBrian Paul2006-11-012-2/+0
|
* fix _mesa_select_tex_image() callsBrian Paul2006-11-011-4/+2
|
* Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul2006-11-016-60/+80
| | | | after locking. Next: remove the params altogether.
* disable debug printfsBrian Paul2006-11-012-4/+7
|
* Correct a little bug, radeon->glCtx is a pointer.Jerome Glisse2006-11-011-2/+3
|
* Remove deprecated GetBufferSize interface.Jerome Glisse2006-11-015-72/+76
|
* fix compiler warningsKeith Whitwell2006-11-012-0/+2
|
* Patch from <[email protected]> -- pass program stringKeith Whitwell2006-11-011-0/+2
| | | | notification callback through to tnl/ module, fixes glean crash.
* Merge texmem-0-3-branch.Keith Whitwell2006-11-018-6/+917
|
* Add LIT instruction to fragment program.Jerome Glisse2006-11-012-17/+88
|
* Import texmem i915 driver to its new location as i915tex.Keith Whitwell2006-11-0173-0/+25933
|
* Add CMPH instruction to fragprogJerome Glisse2006-11-011-0/+2
| | | | | CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX.