summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
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).
2005-08-18Don't try to update hardware texture fields if there is no hardware texture.Ian Romanick
This can happen when all the texture enables for a texture unit are disabled. This fixes bugzilla #3195.
2005-08-18Make the i810 driver use driGetRendererString like all the other drivers.Ian Romanick
The GL_RENDERER string now accurately contains the chip name. This was only tested on a "plain" i810 (PCI ID 8086:7121).
2005-08-15Add Egberts fixes for 64bit architecturesAlan Hourihane
Add additional checks for the *DRIRec info structure passed in from the device driver. This ensures that things fallback to indirect rendering if the DDX driver has had modifications (i.e. removal of the drmAddress field).
2005-08-14Add a check which compares the passed in size of the DDX driver private DRIAlan Hourihane
structure to the 3D drivers view of it, and abort if they don't match. This traps the case with the drmAddress removal in the DDX driver.
2005-08-13Enable support for EXT_stencil_wrap. The code was already there, but theIan Romanick
extension wasn't enabled. I have verified its correct function with Mesa's stencil_wrap test. It is enabled on both Savage4 and Savage3D. Since Savage3D uses a software fallback for *all* stencil operations, this is safe.
2005-08-11Remove support for the R200_NO_VTXFMT environment variable. Instead useIan Romanick
'tcl_mode=1'. This fixes bugzilla #3972.
2005-08-11Make ffb driver build on x86-64. The fix is two fold. First, use theIan Romanick
proper DRM_CAS_RESULT to declare the variable used to store the result of DRM_CAS. Second, only use the "real" versions of LOCK_HARDWARE and UNLOCK_HARDWARE on SPARC. That's the only platform where the hardware can really exist.