summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2006-11-19Stupid bug..Ben Skeggs
2006-11-19poke the correct FIFO regsBen Skeggs
2006-11-18More state functionsStephane Marchesin
2006-11-18Add nv20_state.c ; hook nv10_state.c into the build ; do the renamingStephane Marchesin
required by the renouveau changes.
2006-11-17Small unneeded nv03 fixStephane Marchesin
2006-11-17Use RENDERINPUTS macros to access render_inputs_bitsetBen Skeggs
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-17Adapt FIFO code to deal with cases where the base GET/PUT value isn't 0.Ben Skeggs
2006-11-16jkolb pointed out that face can also be FRONT_AND_BACK. Added stencil funcsBen Skeggs
2006-11-16Add nv30InitStateFuncsBen Skeggs
2006-11-16remove unused imesa local var to silence warningsBrian Paul
2006-11-16nv10 state copy/pasted from nv30 statePatrice Mandin
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-13Fix segfault in nouveauCalcViewportBen Skeggs
2006-11-12Add include guard.Jeremy Kolb
2006-11-12Some more nouveau_screen.c setup, not sure how correct it is yet though..Ben Skeggs
2006-11-12We need nmesa->driFd and friends setup before we call nouveauFifoInitBen Skeggs
2006-11-12Dont call exit() from the DRI driver, with AIGLX this is particularly nastyBen Skeggs
2006-11-11fix typoBen Skeggs
2006-11-11Some nouveau_screen work for darktamaStephane Marchesin
2006-11-11Fill in nv30PointSize and nv30Viewport.Jeremy Kolb
2006-11-11Fix the texture init function nameStephane Marchesin
2006-11-11Add the GL_LIGHING enableStephane Marchesin
2006-11-11Some work on nv30 state, heavily based on jkolb's workStephane Marchesin
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-07Commit a small nitpickStephane Marchesin
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-05Architect the DRI :Stephane Marchesin
- make use of the autogenerated nouveau_reg.h file - add object creation to the DRI - some work on screen and context creation
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.).