diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-27 15:42:47 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-08-26 16:22:13 +0300 |
commit | 718d2b5b5be22cf827121a541163f65fddc75a7a (patch) | |
tree | 49acb57646c6d9e001304581f6879c131681313e | |
parent | 08abd1be7b2754ff436ff6e82d747e69ee992d71 (diff) |
s/g/w/s/remote_xlib: remove all glx implementation
-rw-r--r-- | src/gallium/winsys/sw/remote_xlib/remote_xlib_sw_winsys.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/gallium/winsys/sw/remote_xlib/remote_xlib_sw_winsys.c b/src/gallium/winsys/sw/remote_xlib/remote_xlib_sw_winsys.c index 82ffb12d8a..2c5e508b3d 100644 --- a/src/gallium/winsys/sw/remote_xlib/remote_xlib_sw_winsys.c +++ b/src/gallium/winsys/sw/remote_xlib/remote_xlib_sw_winsys.c @@ -34,7 +34,6 @@ #include "remote_messages.h" #include "remote_comms.h" #include "remote_debug.h" -#include "remote_winsys.h" #include "remote_context.h" extern int analyse_waits; @@ -42,13 +41,11 @@ extern int analyse_waits; struct remote_winsys* singleton_winsys = 0; struct remote_screen* singleton_screen = 0; -struct pipe_context * -xmesa_create_pipe_context(XMesaContext xmesa, uint pixelformat) +static void +remote_create_singletons(void) { struct pipe_context *pipe; - DBG("Creating a new xmesa_context\n"); - if(!singleton_winsys) { DBG("Found no winsys; creating\n"); singleton_winsys = (struct remote_winsys*)remote_winsys_create(); @@ -69,13 +66,6 @@ xmesa_create_pipe_context(XMesaContext xmesa, uint pixelformat) exit(1); } } - - pipe = remote_context_create((struct pipe_screen*)singleton_screen); - - if (pipe) - pipe->priv = xmesa; - - return pipe; } |