summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-xlib
Commit message (Collapse)AuthorAgeFilesLines
* target-helpers: remove swrast_xlib.c helperKeith Whitwell2010-03-101-1/+62
| | | | | | | | | | This was a good idea, but ended up tying the build systems in knots. We can revisit this later, in particular if we can put in place dummy implementations of cell_create_screen(), llvmpipe_create_screen() which just return NULL if the driver isn't available. In the meantime, just duplicate this smallish function in the two places it was being called.
* gallium: create helper for swrast+xlib combinationKeith Whitwell2010-03-091-66/+4
| | | | | Several targets may want to reuse this code. It's pretty simple, not sure if this is really a win.
* scons: Fix the libg-xlib Sconscript.José Fonseca2010-03-091-9/+14
|
* targets/libgl-xlib: add code to inject trace and identity layersKeith Whitwell2010-03-092-1/+17
| | | | | Finally we can inject layers for debug, trace and "other" with relative ease between state-tracker and driver.
* ws/xlib: remove self-knowledge about users of xlib winsysKeith Whitwell2010-03-091-11/+54
| | | | | | | | | Several software rasterizers can make use of this winsys, but there isn't any reason why the winsys itself should know about them. This change moves that information into the libgl-xlib target. Need to fix up other targets making use of this winsys.
* gallium: introduce target directoryKeith Whitwell2010-03-083-0/+266
Currently there are still at least two functions bundled up inside the winsys concept: a) that of a backend resource manager, sometimes capable of performing present() operations, b) the initialization code/routine for the whole driver stack. The inclusion of (b) makes it difficult to share implementations of (a) between different drivers. For instance, a clean xlib winsys could be of use for software-rasterized VG, GLES, EGL, etc, stacks. But that is only true as long as there is no dependency from the winsys to higher level code, as would be the case when we include (b) in this component. This change creates a new gallium/targets subtree, specifically for implementing the glue needed to build individual driver stacks, and moves that code out of a single example winsys, namely xlib. Other drivers continue to build unchanged, but hopefully can migrate to this structure over time.