summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Since we memcpy texture data synchronously to the card, idle the engine beforeEric Anholt2005-10-241-0/+4
| | | | | we start copying. I haven't seen it go wrong before, but I'm pretty sure this fix is correct.
* - Add a few more hardware internal formats that are supported. Some remainingEric Anholt2005-10-244-41/+135
| | | | | | | | ones require custom texstore, so they aren't done yet. - Add YCBCR support commented out, since the yuvsquare test didn't work with just the bits I've added. - Add the no-compression GL_ARB_texture_compression support. - Add the driconf texture depth option and try to respect it.
* Fix the GL_BLEND case (and remove the fallback associated with it) by convertingEric Anholt2005-10-242-27/+16
| | | | the float values to bytes before packing them. Tested with texenv.
* Fix texenv by moving a misplaced check for being in fallback (should cover onlyEric Anholt2005-10-241-2/+5
| | | | | render state, not texture state). While here, move a SIS_FIREVERTICES to a more appropriate location, though it was harmless.
* Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,Eric Anholt2005-10-242-24/+29
| | | | | | | tested using texwrap, fixing the sourcing of border constant values (use the bytes, not the floats!). Remove the fallback on GL_CLAMP_TO_EDGE, which acts properly, and add a note to GL_CLAMP about nonconformance (whcih is what the fallback for CLAMP_TO_EDGE was probably targeting).
* Fix a typo in a fallback string.Eric Anholt2005-10-241-1/+1
|
* Add support for GL_EXT_stencil_wrap by guessing that the skip of two values inEric Anholt2005-10-244-7/+32
| | | | | | | | the register header was meaningful. It turns out those were the proper values for the plain INCR/DECR ops, while what we were using as INCR/DECR were the _WRAP versions. Tested with stencil_wrap (didn't expose normal/_WRAP swapping) and stencilwrap (exposed it nicely) tests. Props to idr for poking me about adding this.
* disable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). ↵Roland Scheidegger2005-10-221-48/+55
| | | | Change the initialization to fail if an unknown pci id is detected, instead of accepting all values which are not r100-based radeons.
* Fix FreeBSD build by building libGL in the order desired, and doing a fix to myEric Anholt2005-10-222-2/+3
| | | | mklib changes.
* fix GLX server resize/crash when resizing windowsBrian Paul2005-10-213-2/+4
|
* check span.y >=0 (bug 4842)Brian Paul2005-10-211-1/+4
|
* new depth testsKeith Whitwell2005-10-214-0/+441
|
* simplify, remove sgi messagesKeith Whitwell2005-10-2138-1966/+111
|
* Darwin version fix (SF bug 1334274)Brian Paul2005-10-211-1/+1
|
* fix broken SWZ instructionBrian Paul2005-10-212-12/+13
|
* fix broken KILBrian Paul2005-10-211-2/+4
|
* better looking testsKeith Whitwell2005-10-212-2/+7
|
* Make test visibleKeith Whitwell2005-10-211-1/+2
|
* Better looking test.Keith Whitwell2005-10-211-1/+1
|
* add the tile bits for offset, and unk bit 31 of sizeDave Airlie2005-10-211-0/+3
|
* restore FASTCALL stuffBrian Paul2005-10-205-7/+25
|
* fix bad loops in TransposeMatrix[fd]()Brian Paul2005-10-201-2/+2
|
* A bunch of little tests which exercise each ARB_fp instruction plusKeith Whitwell2005-10-2038-0/+6031
| | | | a couple of other interesting cases.
* added mm.c mm.h execmem.cBrian Paul2005-10-201-0/+12
|
* fix another renderbuffer wrapping bugBrian Paul2005-10-201-4/+3
|
* Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul2005-10-205-25/+7
|
* Bump driver dates for the crasher fixes yesterday.Eric Anholt2005-10-202-2/+2
|
* descrip.mms syntax correctionJouk Jansen2005-10-201-1/+1
|
* fixes for r300_tex.c from Aapo TahkolaDave Airlie2005-10-201-4/+4
|
* s/glut_gz2/glut_bz2/Brian Paul2005-10-191-1/+1
|
* 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.
* updated for new mm.c, execmem.c filesBrian Paul2005-10-192-0/+15
|
* 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.
* Attempt to fix libGL on FreeBSD, where the library was being built without anyEric Anholt2005-10-182-5/+17
| | | | dependencies, breaking builds of third-party software.
* move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul2005-10-181-11/+8
|
* Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul2005-10-183-50/+134
| | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-1811-7/+122
| | | | | 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.
* added some header files to DRI_FILES (Donnie Berkholz)Brian Paul2005-10-171-0/+2
|
* add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses ↵Roland Scheidegger2005-10-1710-58/+217
| | | | 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-1514-19/+202
| | | | 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
|