Lines Matching refs:old_ctx
893 _EGLContext *old_ctx;
899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
903 if (old_ctx && dri2_drv->glFlush)
910 if (old_ctx) {
911 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context;
921 if (old_ctx)
922 drv->API.DestroyContext(drv, disp, old_ctx);
927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
938 _eglPutContext(old_ctx);