Lines Matching refs:fbRead
462 stw_make_current(struct stw_framebuffer *fb, struct stw_framebuffer *fbRead, struct stw_context *ct… in stw_make_current() argument
473 if (old_ctx->current_framebuffer == fb && old_ctx->current_read_framebuffer == fbRead) { in stw_make_current()
499 if (!fb || !fbRead) in stw_make_current()
506 if (fbRead->iPixelFormat != ctx->iPixelFormat) { in stw_make_current()
516 stw_framebuffer_lock(fbRead); in stw_make_current()
517 if (fbRead != fb) in stw_make_current()
518 stw_framebuffer_update(fbRead); in stw_make_current()
519 stw_framebuffer_reference_locked(fbRead); in stw_make_current()
520 stw_framebuffer_unlock(fbRead); in stw_make_current()
525 ctx->current_read_framebuffer = fbRead; in stw_make_current()
528 fb->stfb, fbRead->stfb); in stw_make_current()
537 if (fbRead) in stw_make_current()
538 assert(!stw_own_mutex(&fbRead->mutex)); in stw_make_current()
602 struct stw_framebuffer *fbRead = (hDrawDC == hReadDC || hReadDC == NULL) ? in stw_make_current_by_handles() local
604 if (ctx && !fbRead) { in stw_make_current_by_handles()
610 BOOL success = stw_make_current(fb, fbRead, ctx); in stw_make_current_by_handles()
621 assert(fb && fbRead); in stw_make_current_by_handles()
628 if (fb != fbRead) { in stw_make_current_by_handles()
629 stw_framebuffer_lock(fbRead); in stw_make_current_by_handles()
630 stw_framebuffer_release_locked(fbRead, ctx->st); in stw_make_current_by_handles()