Keith Packard <[email protected]> writes: > This eliminates a huge cost when using EGL. > > Signed-off-by: Keith Packard <[email protected]>
It also, as far as I've heard, causes segfaults when you use indirect
GLX. I never quite got my patchset for global GL context management
finished (I think I know what the remaining bug was now), but we
probably shouldn't land this until that's done.
> ---
> glamor/glamor_egl.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c
> index 8123421..0248efa 100644
> --- a/glamor/glamor_egl.c
> +++ b/glamor/glamor_egl.c
> @@ -116,9 +116,6 @@ glamor_egl_put_context(struct glamor_context *glamor_ctx)
> {
> if (--glamor_ctx->get_count)
> return;
> -
> - eglMakeCurrent(glamor_ctx->display, EGL_NO_SURFACE,
> - EGL_NO_SURFACE, EGL_NO_CONTEXT);
> }
>
> static EGLImageKHR
> --
> 1.9.0
pgp8i59Apl_GS.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
