summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_screen_texture.h
AgeCommit message (Collapse)Author
2009-12-03gallium: fix reference counting functions to be strict-aliasing compliantRoland Scheidegger
Historically, parts of mesa code are not strict-aliasing safe, hence -fno-strict-aliasing is needed to compile (this got forgotten for scons builds for gallium, which indeed not only caused compiler warnings but also unexplicable crashes in non-debug builds). However, we should try to eliminate code not complying with strict-aliasing code at least for gallium. Hence change pipe_reference functions to make them strict-aliasing compliant. This adds a bit more complexity (especially for derived classes) but is the right thing to do, and it does in fact fix a segfault.
2009-11-24svga: cache textures as well as buffersKeith Whitwell
2009-11-17svga: Add svga driverJakob Bornecrantz