xserver-multidpi/glamor
Chris Wilson 556adfa6b9 Fixup glx support
Renaming glamor_priv->dispatch and wrapping the access to
the dispatch table with a function that also ensured the
context was bound.

 dispatch = glamor_get_dispatch(glamor_priv);
 ...
 glamor_put_dispatch(glamor_priv);

So that we catch all places where we attempt to call into GL withouta
context. As an optimisation we can then do glamor_get_context();
glamor_put_context() around the rendering entry points to reduce the
frequency of having to restore the old context. (Along with allowing
the context to be recursively acquired and making the old context part of
the glamor_egl state.)

Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2013-12-18 11:23:48 -08:00
..
glamor_addtraps.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copyarea.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copyplane.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copywindow.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_core.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_debug.h glamor_fbo: Introduce glamor fbo to manage all the fb/tex. 2013-12-18 11:23:47 -08:00
glamor_egl.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_eglmodule.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_fbo.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_fill.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_fillspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getimage.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_gl_dispatch.c glamor_gl_dispatch: fix the dispatch initialization on GLES2. 2013-12-18 11:23:48 -08:00
glamor_gl_dispatch.h glamor-fbo-pool: Implement fbo cache mechanism. 2013-12-18 11:23:47 -08:00
glamor_glext.h glamor: Re-arrange some macros/definitions in header files. 2011-09-26 16:47:02 +08:00
glamor_glyphblt.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_glyphs.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_picture.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_pixmap.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_polyfillrect.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_polylines.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_polyops.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_priv.h Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_putimage.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_render.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_setspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_tile.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_window.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.h Fixup glx support 2013-12-18 11:23:48 -08:00
glapi.h GLX: Enable glx support. 2013-12-18 11:23:48 -08:00
Makefile.am GLX: Enable glx support. 2013-12-18 11:23:48 -08:00