summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses ↵Roland Scheidegger2005-10-179-57/+215
| | | | fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).
* fix some obvious typos in radeon_reg.h (only currently unused bits affected)Roland Scheidegger2005-10-161-4/+4
|
* enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger2005-10-1513-19/+201
| | | | generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
* fix two bugs wrt calculating max possible texture sizes for texture ↵Roland Scheidegger2005-10-151-3/+3
| | | | rectangles/cube maps.
* enable 3rd texture unit on radeon (default still 2 enabled units). Disable ↵Roland Scheidegger2005-10-1317-251/+285
| | | | some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
* make sure texture matrix is updated often enough with texture rectanglesRoland Scheidegger2005-10-131-0/+2
|
* fix potential bug when emitting elts with lots of componentsRoland Scheidegger2005-10-131-1/+2
|
* 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.
* check for PIXMAP in clip routine (SF bug 1323215)Brian Paul2005-10-111-1/+1
|
* 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-052-3/+3
|
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-0519-85/+88
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* updated assertions (see bug 4590)Brian Paul2005-09-281-1/+5
|
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-8/+10
| | | | glReadPixels done, glDrawPixels mostly done.
* 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.
* Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places insteadBrian Paul2005-09-264-96/+120
| | | | of the XMesaPixmap field to avoid some X server-side issues with casting.
* 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
|
* Committing in .Jouk Jansen2005-09-233-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Added a fast xor_line() function. Uses XDrawLine with GXxor mode.Brian Paul2005-09-231-3/+56
| | | | | Only used for front-buffer window/pixmap rendering, GL_FLAT shade model, no Z test or other fragment operations.
* Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbufferBrian Paul2005-09-232-4/+3
| | | | | | | | with another, such as wrapping a hardware/win-sys RGB renderbuffer with a software-based alpha buffer. Previous alpha buffer wrapping was conflicting with the X driver's xmesa_renderbuffer structure containment/inheritance. That lead to memory corruption.
* improve the test for using software alpha bufferBrian Paul2005-09-231-1/+16
|
* 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-222-2/+2
| | | | BlueBits, etc fields.
* Remove ACCUM_BITS.Brian Paul2005-09-211-8/+15
|
* replace GLdepth with GLuintBrian Paul2005-09-216-14/+14
|
* remove 31-bit Z buffer work-aroundBrian Paul2005-09-201-2/+2
|
* additional wrapper updates, bug 4468Brian Paul2005-09-191-0/+25
|
* compilation fixes, don't know if runtime worksBrian Paul2005-09-193-6/+18
|
* remove unused varsBrian Paul2005-09-141-60/+1
|
* remove _tnl_MakeCurrent callBrian Paul2005-09-141-4/+0
|
* Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.Brian Paul2005-09-141-1/+0
|
* 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
|