OSDN Git Service

target-helpers: remove swrast_xlib.c helper
authorKeith Whitwell <keithw@vmware.com>
Wed, 10 Mar 2010 11:49:11 +0000 (11:49 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 10 Mar 2010 11:52:04 +0000 (11:52 +0000)
commit0731d14a43191233e91fbebe5b47b13faa655f9f
tree8efbaacf3304fb8ac53055d3cd7da862820853a9
parente47a619ea262ba1c49f86525b2855a64a5e36a42
target-helpers: remove swrast_xlib.c helper

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.
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/target-helpers/swrast_xlib.c [deleted file]
src/gallium/auxiliary/target-helpers/swrast_xlib.h [deleted file]
src/gallium/state_trackers/egl/x11/native_ximage.c
src/gallium/targets/libgl-xlib/xlib.c