diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-18 15:27:52 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-02-14 18:30:01 -0800 |
commit | 4afe15d8bfd575c010ed1868697a7922a37ab378 (patch) | |
tree | 5b3b4a274ce3e36ef104f782039bebc04a8b752c /glamor/glamor_egl_stubs.c | |
parent | 781c692cf970642865f0e537f4905c43192f9935 (diff) |
glamor: Put in a pluggable context switcher for GLX versus EGL.
The GLX side just gets the context from the current state. That's
also something I want to do for EGL, so that the making a context is
separate from initializing glamor, but I think I need the modesetting
driver in the server before I think about hacking on that more.
The previous code was rather incestuous, along with pulling in xf86
dependencies to our dix code. The new code just initializes itself
from the current state.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor/glamor_egl_stubs.c')
-rw-r--r-- | glamor/glamor_egl_stubs.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/glamor/glamor_egl_stubs.c b/glamor/glamor_egl_stubs.c index 1449d0874..4fd9e8016 100644 --- a/glamor/glamor_egl_stubs.c +++ b/glamor/glamor_egl_stubs.c @@ -29,7 +29,7 @@ #include "glamor_priv.h" void -glamor_egl_screen_init(ScreenPtr screen) +glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx) { } @@ -38,16 +38,6 @@ glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap) { } -void -glamor_egl_make_current(ScreenPtr screen) -{ -} - -void -glamor_egl_restore_context(ScreenPtr screen) -{ -} - int glamor_egl_dri3_fd_name_from_tex(ScreenPtr screen, PixmapPtr pixmap, |