Searched refs:prev_ctx (Results 1 – 1 of 1) sorted by relevance
564 _EGLContext *prev_ctx; in _eglBindContext() local576 prev_ctx = _eglBindContextToThread(ctx, t); in _eglBindContext()579 if (prev_ctx) { in _eglBindContext()580 prev_draw = prev_ctx->DrawSurface; in _eglBindContext()581 prev_read = prev_ctx->ReadSurface; in _eglBindContext()588 prev_ctx->DrawSurface = NULL; in _eglBindContext()589 prev_ctx->ReadSurface = NULL; in _eglBindContext()607 *old_ctx = prev_ctx; in _eglBindContext()