summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* add the tile bits for offset, and unk bit 31 of sizeDave Airlie2005-10-211-0/+3
|
* fix another renderbuffer wrapping bugBrian Paul2005-10-201-4/+3
|
* Bump driver dates for the crasher fixes yesterday.Eric Anholt2005-10-202-2/+2
|
* fixes for r300_tex.c from Aapo TahkolaDave Airlie2005-10-201-4/+4
|
* Make SiS a little more like other drivers: Add SIS_DEBUG (only option beingEric Anholt2005-10-194-9/+63
| | | | | "fall" so far) and make the fallback_force option be no_rast like other drivers. Incidentally, makes no_rast not crash (though it still fails to render).
* Remove some long-dead code.Eric Anholt2005-10-194-215/+0
|
* Fix a missed merge for idr's dispatch changes: failure to do driInitExtensionsEric Anholt2005-10-192-1/+12
| | | | in __driCreateNewScreen_20050727 resulted in crashing in dispatch.
* s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/Brian Paul2005-10-194-8/+8
|
* Bug #4615: Fix the SiS driver for the renderbuffer changes. Previously, allEric Anholt2005-10-1911-197/+252
| | | | | | | drirenderbuffers pointed at screen offset 0 and NULL. Instead, set up the front buffer at startup but leave the others for later, since sis allocates them on demand rather than using the static method of the other non-sis-descendent drivers. Some basic apps work, but fallbacks may be broken still.
* Fix a missed merge for idr's dispatch changes: failure to do driInitExtensionsEric Anholt2005-10-182-1/+12
| | | | | in __driCreateNewScreen_20050727 resulted in crashing in dispatch. Rendering remains broken.
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-187-283/+4
| | | | | executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
* on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with ↵Roland Scheidegger2005-10-183-4/+7
| | | | vtxfmt not causing a fallback when fog coords are active.
* 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
|