aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* Minor driver cleanup. Remove unnecessery/unneded ↵Roland Scheidegger2005-10-117-45/+4
| | | | radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.
* do not set format of the incoming vertices needed for fog_coord in the ↵Roland Scheidegger2005-10-081-6/+1
| | | | generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
* remove code dealing with drm versions older than 1.3. The driver requires ↵Roland Scheidegger2005-10-081-34/+16
| | | | (and requests) 1.3 since quite some time already to work at all.
* fix problems with some texgen modes by putting the chip into LOCAL_VIEWER ↵Roland Scheidegger2005-10-051-7/+21
| | | | mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
* reverse accidentally commited part of last commit (makes it compile again...).Roland Scheidegger2005-10-051-0/+1
|
* enable point sizes larger than 1 (for aliased points only) by using the hw ↵Roland Scheidegger2005-10-059-25/+59
| | | | point sprite primitive.
* fix typo in radeon_maos_arrays.c from last commit (code currently unused, ↵Roland Scheidegger2005-10-051-2/+2
| | | | that path is compile-tested only).
* remove unneeded parameter from radeonUploadTexMatrix.Roland Scheidegger2005-10-054-8/+9
|
* Remove the tcl fallback for texture rectangle (by manipulating the texture ↵Roland Scheidegger2005-10-0510-100/+299
| | | | matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
* s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul2005-10-051-2/+2
|
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-0518-69/+71
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* updated assertions (see bug 4590)Brian Paul2005-09-281-1/+5
|
* remove identity check for texgen planes (which was just plain wrong).Roland Scheidegger2005-09-261-16/+12
|
* fix projective texturing for (swtcl) texture rectangles. Fix wrong argument ↵Roland Scheidegger2005-09-262-7/+17
| | | | order for texgen/texmat matrix multiplication.
* Add support for texture compression to R300 driverDave Airlie2005-09-256-214/+409
| | | | | This isn't perfect, texcmp still has some issues with the small textures.. but its a good start
* add link for radeon_egl.cDave Airlie2005-09-251-1/+2
|
* Enable GL_ARB_texture_mirrored_repeat on Savage4. Refactor the code thatIan Romanick2005-09-223-69/+80
| | | | | | | sets the texture wrap mode and texture filter mode for Savage4 to the new functions savage4_set_wrap_mode and savage4_set_filter_mode. This was tested with texwrap and tunnel.
* Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul2005-09-221-1/+1
| | | | BlueBits, etc fields.
* replace GLdepth with GLuintBrian Paul2005-09-213-6/+6
|
* compilation fixes, don't know if runtime worksBrian Paul2005-09-193-6/+18
|
* fix breakage from Brians changes earlierDave Airlie2005-09-141-3/+3
|
* pageflip change from radeon driverBrian Paul2005-09-141-0/+5
|
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-144-6/+3
| | | | call driUpdateFramebufferSize() when window size/position changes.
* make some funcs staticBrian Paul2005-09-141-2/+4
|
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-1422-41/+51
| | | | call driUpdateFramebufferSize() when window size/position changes.
* use mklib script to make drivers instead of gcc -sharedBrian Paul2005-09-141-3/+2
|
* updated commentBrian Paul2005-09-141-2/+4
|
* make some functions staticBrian Paul2005-09-141-2/+4
|
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-142-7/+3
| | | | | call driUpdateFramebufferSize() when we detect changes in window size/ position in radeonGetLock().
* added driUpdateFramebufferSize()Brian Paul2005-09-142-2/+29
|
* replace semicolon with &&Brian Paul2005-09-131-3/+3
|
* Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul2005-09-1316-115/+139
| | | | ctx->Driver.Stencil*Separate() functions.
* just some reformattingBrian Paul2005-09-131-8/+10
|
* add complete support for ATI_fragment_shader for the r200. Most of the new ↵Roland Scheidegger2005-09-1211-79/+795
| | | | code is in the new file r200_fragshader.c. Reverse engeneered by Dave Airlie and me
* add 1002:5460 M22 X300 cardDave Airlie2005-09-111-0/+2
|
* add the new drm packets needed for ATI_fragment_shader to the sanity code of ↵Roland Scheidegger2005-09-102-0/+58
| | | | the r200 and radeon driver
* add reverse-engeneered register bits needed for ATI_fragment_shader (Dave ↵Roland Scheidegger2005-09-101-7/+97
| | | | Airlie, me)
* Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch,Brian Paul2005-09-1011-66/+58
| | | | backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
* add _tnl_arb_vertex_program_stage to all drivers which already have ↵Roland Scheidegger2005-09-095-0/+5
| | | | _tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
* remove the redundant textureSize field, use tex.size instead, it's always ↵Brian Paul2005-09-097-8/+6
| | | | the same value
* add missing fallback string for ARB_vertex_programRoland Scheidegger2005-09-091-1/+2
|
* Fix wrong fallback bit being set by the tcl fallback caused by ↵Roland Scheidegger2005-09-092-2/+2
| | | | ARB_vertex_program. Disable ARB_vertex_program by default - it is incredibly slow, and just plain doesn't work anyway (arbvptorus fails an assertion, arbvpmesh has bogus output)
* use an explicit reserved field, rather than magic number in boundKeith Whitwell2005-09-082-2/+5
|
* Fix the comment for the 'bound' field: it's a bitmask, not an index.Brian Paul2005-09-082-2/+5
| | | | In driTexturesGone(), set bound = 0, not 99.
* Treat NegateBase as a bitfield, not a boolean.Keith Whitwell2005-09-081-1/+5
|
* try to fix renderbuffer breakage, primarily in calculate_buffer_parameters()Brian Paul2005-09-071-11/+27
|
* added viaRenderbufferStorage() functionBrian Paul2005-09-061-2/+13
|
* Use mklib script instead of ar. Make libmesa.a instead of mesa.aBrian Paul2005-09-062-2/+2
|
* make some functions staticBrian Paul2005-09-052-8/+15
|
* make r128SpanRenderStart/Finish staticBrian Paul2005-09-051-2/+4
|