aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/xlib_cell.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-021-1/+3
| | | | | | | this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
* gallium: make p_winsys internalZack Rusin2009-01-301-1/+1
| | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
* gallium: Remove the standalone surfaces.José Fonseca2009-01-201-62/+18
| | | | | | | | | | | | | | | | | | | | | | | | | This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
* xlib: don't explicitly create the pipe_winsys structKeith Whitwell2009-01-171-3/+18
|
* xlib: split off cell to its own backendKeith Whitwell2009-01-131-0/+464
Also remove compile-time USE_XSHM flag. Still check for XSHM at runtime though.