summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/sis/sis_tex.c
AgeCommit message (Collapse)Author
2005-10-24Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightlyEric Anholt
concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
2005-10-24Since we memcpy texture data synchronously to the card, idle the engine beforeEric Anholt
we start copying. I haven't seen it go wrong before, but I'm pretty sure this fix is correct.
2005-10-24- Add a few more hardware internal formats that are supported. Some remainingEric Anholt
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.
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2004-05-24Clean up some warnings by making sis_fatal_error a macro, and let it take anEric Anholt
argument of a message to print. Make some assert(0)s use sis_fatal_error.
2004-01-20Undo some bits from last check-in related to the ctx->Driver.NewTextureObjectBrian Paul
functions. Don't allocate the driver-specific data during texture object creation but do it later as needed (as code originally was).
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
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.
2004-01-18include texobj.h to silence warningsBrian Paul
2004-01-11call _mesa_delete_texture_object() from in the driver's DeleteTexture functionBrian Paul
2003-12-04merge latest DRI sis driver changes from the DRI trunkAlan Hourihane
2003-09-30add the SiS driver - no kernel driver yetAlan Hourihane
(build tested, but not physically tested)