Lines Matching refs:glamor_ctx
36 glamor_egl_make_current(struct glamor_context *glamor_ctx) in glamor_egl_make_current() argument
38 eglMakeCurrent(glamor_ctx->display, EGL_NO_SURFACE, in glamor_egl_make_current()
40 if (!eglMakeCurrent(glamor_ctx->display, in glamor_egl_make_current()
42 glamor_ctx->ctx)) in glamor_egl_make_current()
49 if (lastGLContext == xwl_screen->glamor_ctx) in xwl_glamor_egl_make_current()
52 lastGLContext = xwl_screen->glamor_ctx; in xwl_glamor_egl_make_current()
53 xwl_screen->glamor_ctx->make_current(xwl_screen->glamor_ctx); in xwl_glamor_egl_make_current()
57 glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx) in glamor_egl_screen_init() argument
62 glamor_ctx->ctx = xwl_screen->egl_context; in glamor_egl_screen_init()
63 glamor_ctx->display = xwl_screen->egl_display; in glamor_egl_screen_init()
65 glamor_ctx->make_current = glamor_egl_make_current; in glamor_egl_screen_init()
67 xwl_screen->glamor_ctx = glamor_ctx; in glamor_egl_screen_init()