Lines Matching refs:CurrentContext
513 if (draw && draw->CurrentContext && draw->CurrentContext != ctx) {
514 if (draw->CurrentContext->Binding != t ||
515 draw->CurrentContext->ClientAPI != ctx->ClientAPI)
518 if (read && read->CurrentContext && read->CurrentContext != ctx) {
519 if (read->CurrentContext->Binding != t ||
520 read->CurrentContext->ClientAPI != ctx->ClientAPI)
584 prev_draw->CurrentContext = NULL;
586 prev_read->CurrentContext = NULL;
598 draw->CurrentContext = ctx;
600 read->CurrentContext = ctx;