aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/sis/sis_tex.c
Commit message (Collapse)AuthorAgeFilesLines
* s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806)Brian2007-08-021-1/+3
|
* Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightlyEric Anholt2005-10-241-2/+2
| | | | | concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
* 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-241-36/+119
| | | | | | | | 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.
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-051-2/+2
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* Clean up some warnings by making sis_fatal_error a macro, and let it take anEric Anholt2004-05-241-5/+3
| | | | argument of a message to print. Make some assert(0)s use sis_fatal_error.
* Undo some bits from last check-in related to the ctx->Driver.NewTextureObjectBrian Paul2004-01-201-19/+29
| | | | | functions. Don't allocate the driver-specific data during texture object creation but do it later as needed (as code originally was).
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-67/+67
| | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
* include texobj.h to silence warningsBrian Paul2004-01-181-0/+1
|
* call _mesa_delete_texture_object() from in the driver's DeleteTexture functionBrian Paul2004-01-111-0/+2
|
* merge latest DRI sis driver changes from the DRI trunkAlan Hourihane2003-12-041-4/+3
|
* add the SiS driver - no kernel driver yetAlan Hourihane2003-09-301-0/+474
(build tested, but not physically tested)