summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri2
AgeCommit message (Collapse)Author
2009-03-18st/dri2: use pipe_screen.is_format_supported to choose depth/stencil formatBen Skeggs
2009-03-15dri2-gallium: Add occlusion query support at the state tracker level.Corbin Simpson
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-04st/dri2: Fake frontbuffer changesJakob Bornecrantz
Front buffer rendering works as it stands but it completely wrong. But as it stands fake front buffer rendering is completely broken. So we keep it as it is. But lets atleast handle it in the get buffers code.
2009-03-04st/dri2: Hook up flush_frontbufferJakob Bornecrantz
Doesn't do anything because we can't tell the X server about any changes to the fake front buffer.
2009-03-04st/dri2: We are strictly a dri2 driverJakob Bornecrantz
2009-03-03st/drm: s/hocks/hooks/Jakob Bornecrantz
2009-03-03st/dri2: Add DRI2 a state trackerJakob Bornecrantz
This was based of the unfinnished code that Keith Whitwell started on but never finnished. I moved the code from the glx directory because dri drivers can be used for more things then just glx.