summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
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
2006-11-02bump driver dateBrian Paul
2006-11-02Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul
need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-11-01comment-out unused varBrian Paul
2006-11-01remove unused varsBrian Paul
2006-11-01fix _mesa_select_tex_image() callsBrian Paul
2006-11-01Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul
after locking. Next: remove the params altogether.
2006-11-01disable debug printfsBrian Paul
2006-11-01Correct a little bug, radeon->glCtx is a pointer.Jerome Glisse
2006-11-01Remove deprecated GetBufferSize interface.Jerome Glisse
2006-11-01fix compiler warningsKeith Whitwell
2006-11-01Patch from <haihao.xiang@intel.com> -- pass program stringKeith Whitwell
notification callback through to tnl/ module, fixes glean crash.
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-11-01Add LIT instruction to fragment program.Jerome Glisse
2006-11-01Import texmem i915 driver to its new location as i915tex.Keith Whitwell
2006-11-01Add CMPH instruction to fragprogJerome Glisse
CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0 Guessed by examinating LIT instruction handling of FGLRX.
2006-11-01Patch from <haihao.xiang@intel.com> -- pass program stringKeith Whitwell
notification callback through to tnl/ module, fixes glean crash.
2006-10-30Fix bug #8799.Ian Romanick
Properly resize bith the drawable and the readable in mgaUpdateRects. Eliminate the use of the deprecated GetBufferSize interface. Bump driver date.
2006-10-30Refactor mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects.Ian Romanick
Combine mgaXMesaSetFrontClipRects and mgaXMesaSetBackClipRects into a single new function called mga_set_cliprects. This enables a small refactor in mgaDDDrawBuffer.