summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2005-09-04Use InitPointers helperBrian Paul
2005-09-04Combine GET_DST_PTR and GET_SRC_PTR into just GET_PTR.Brian Paul
2005-09-04Added InitPointers helper functionBrian Paul
2005-09-04replace assertion with a conditional returnBrian Paul
2005-09-03renderbuffer updatesBrian Paul
2005-09-03SetBuffer, renderbuffer changesBrian Paul
2005-09-03use new InitStencil/DepthPointer functionsBrian Paul
2005-09-03remove dead codeBrian Paul
2005-09-03remove SetBufferBrian Paul
2005-09-03SetBuffer, renderbuffer changesBrian Paul
2005-09-03added flippedData field for page flipping, code to flip stereo color buffersBrian Paul
2005-09-03added SetStencil/DepthPointer functionsBrian Paul
2005-09-03remove SetBuffer(). Misc renderbuffer changes.Brian Paul
2005-09-03silence misc warningsBrian Paul
2005-09-02set depthHasSurface for stencil renderbufferBrian Paul
2005-09-02change scratch pointer from _int32_t to u_int32_t to silence warning. Is ↵Brian Paul
this field actually used for anything?
2005-09-02remove unneeded assertion in stencil/depth LOCAL_DEPTH_VARS codeBrian Paul
2005-09-02set depthHasSurface field for stencil renderbufferBrian Paul
2005-09-01added an assertion to help debug broken stencil readbackBrian Paul
2005-09-01added driFlipRenderbuffers()Brian Paul
2005-09-01fix page flipping breakageBrian Paul
2005-09-01fix typoBrian Paul
2005-09-01some missing renderbuffer changes (Roland)Brian Paul
2005-09-01Finish up some of the gl_renderbuffer work.Brian Paul
Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function. Old code is surrounded by #if 000 / #endif, temporarily.
2005-09-01Finish up some of the gl_renderbuffer work.Brian Paul
Use driRenderbuffer's offset, pitch fields in the span routines. Remove the SetBuffer driver function. Consolidate the code for setting CTX_RB3D_COLOROFFSET and CTX_RB3D_COLORPITCH state in new radeonUpdateDrawBuffer() function.
2005-09-01s/__inline/INLINE/Brian Paul
2005-09-01use char* instead of GLubyte* in i915_program_error() to silence warningsBrian Paul
2005-09-01use proper datatypes to silence a bunch of warningsBrian Paul
2005-09-01added a few more fields to help with DRI driversBrian Paul
2005-08-31enable GL_ARB_texture_env_crossbar on r200, separate the enable bits for ↵Roland Scheidegger
texture sampling and texture environment, optimize away texture sampling for units if the result is not used, always emit the env instructions in-order and try to eliminate GL_REPLACE env instructions.
2005-08-31reverse a bogus patchAlan Hourihane
2005-08-31remove redundant ctx->Driver fallback assignments that were already done in ↵Brian Paul
_mesa_init_driver_functions()
2005-08-31fix a cast/assignment warningBrian Paul
2005-08-30silence fprintf and casting warningsBrian Paul
2005-08-30added some parenthesis to silence warningsBrian Paul
2005-08-30drmUnmap correct sizeAlan Hourihane
2005-08-30move via_dri.h to serverAlan Hourihane
2005-08-30define Bool for solo buildsAlan Hourihane
2005-08-30Fixes from https://bugs.freedesktop.org/attachment.cgi?id=3077Alan Hourihane
2005-08-29Implement GL_ARB_texture_env_combine, GL_EXT_texture_env_combine, andIan Romanick
GL_ARB_texture_env_crossbar for i810. This passes both demos/texenv and all of glean's texCombine tests.
2005-08-29remove drmAddressAlan Hourihane
2005-08-25remove stray references to ctx->Depth.OcclusionTestBrian Paul
2005-08-25Fix texture format selection. ChooseTextureFormat is supposed to select theIan Romanick
hardware format of the texture, and SetTexImages is supposed to use the format selected by ChooseTextureFormat. However, both routines were making their choices based on the texture's BaseFormat. This is wrong. ChooseTextureFormat uses BaseFormat and SetTexImages uses TexFormat->MesaFormat. Once SetTexImages was fixed to use the right format values, ChooseTextureFormat was cleaned up. It now uses the few available texture formats supported by the i810 in a smarter way. This should improve the quality of LUMINANCE, LUMINANCE_ALPHA, and INTENSITY textures. I tested this by cycling through all the texture formats in demos/texenv and tests/yuvsquare.
2005-08-25removed GL_HP_occlusion_test extensionBrian Paul
2005-08-25Attempt to fix the issue reported by Alan Grimes with DRM_RADEON_TEXTUREEric Anholt
erroring out when it shouldn't. The errno could be changed by usleep() between the ioctl call and the loop check, if a signal was received. This could cause an EAGAIN return from the DRM_RADEON_TEXTURE ioctl to not loop again. Instead of checking errno, check thevalue of ret itself, since it is a saved (and sign-flipped) copy of errno from the ioctl call.
2005-08-19Convert libGL and DRI drivers to require libdrm.Adam Jackson
libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
2005-08-19Commit missing piece from Egbert's 32/64 bit patchesAlan Hourihane
2005-08-19Enable ARB_texture_compression. The code has been in place for a long time,Ian Romanick
but, for whatever reason, the extension wasn't enabled. Add some comments to i810ChooseTextureFormat. There's some strangeness with i810 texture formats.
2005-08-18Add support for NV_blend_square. This was tested withIan Romanick
progs/tests/blendsquare.
2005-08-18Make sure extension entry point offsets are properly initialized. This isIan Romanick
primarilly needed to support functions that are internally implemented using extension entry points (e.g., glBlendFunc uses glBlendFuncSeparate).