aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/xlib.c
Commit message (Collapse)AuthorAgeFilesLines
* ws/xlib: remove self-knowledge about users of xlib winsysKeith Whitwell2010-03-091-49/+0
| | | | | | | | | 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: make it workKeith Whitwell2010-03-081-0/+49
|
* gallium: introduce target directoryKeith Whitwell2010-03-081-136/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* softpipe: rework to use the llvmpipe winsysKeith Whitwell2010-03-041-3/+1
| | | | | | | | | Promote the llvmpipe winsys more or less unchanged to state_trackers/sw_winsys.h. Some minor breakages: - softpipe::texture_blanket is broken, but scheduled for removal anyway. - haven't fixed up g3vdl yet.
* Do not include glapi/dispatch.h outside Mesa core.Chia-I Wu2010-01-211-1/+2
| | | | | Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
* Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121-9/+2
|\ | | | | | | | | Conflicts: src/mesa/main/dd.h
| * st/mesa: Remove st_api.c.Chia-I Wu2010-01-121-0/+2
| | | | | | | | | | | | | | | | | | st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <[email protected]>
| * xlib: Integrate the trace driver with all pipe drivers.José Fonseca2009-12-281-9/+0
| | | | | | | | | | | | | | And not just softpipe. It is particularly convenient to use llvmpipe instead, since it is much faster. It also allows to use rbug with all xlib drivers.
* | gallium/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Chia-I Wu2009-11-051-0/+30
|/ | | | | | | | When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <[email protected]>
* i965g: Drop i965simpleJakob Bornecrantz2009-10-051-9/+0
| | | | | | The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
* llvmpipe: add missing break in xlib _init()Brian Paul2009-08-291-0/+1
|
* xlib: Complete llvmpipe integration.José Fonseca2009-08-291-0/+9
|
* xlib: Get conditional compilation of drivers working again.José Fonseca2009-02-021-0/+8
|
* xlib: split off cell to its own backendKeith Whitwell2009-01-131-0/+1
| | | | | Also remove compile-time USE_XSHM flag. Still check for XSHM at runtime though.
* xlib: allow winsys's to register themselves with glx/xlib state trackerKeith Whitwell2009-01-131-69/+8
|
* gallium: split driver-independent code out of xlib winsysKeith Whitwell2009-01-081-0/+165
Place in new xlib state-tracker. This is a statetracker for the GLX API.