Lines Matching refs:newDrawFb
2589 struct gl_framebuffer *newDrawFb, *newReadFb; in bind_framebuffer() local
2613 newDrawFb = _mesa_lookup_framebuffer(ctx, framebuffer); in bind_framebuffer()
2614 if (newDrawFb == &DummyFramebuffer) { in bind_framebuffer()
2616 newDrawFb = NULL; in bind_framebuffer()
2618 else if (!newDrawFb && !allow_user_names) { in bind_framebuffer()
2624 if (!newDrawFb) { in bind_framebuffer()
2626 newDrawFb = ctx->Driver.NewFramebuffer(ctx, framebuffer); in bind_framebuffer()
2627 if (!newDrawFb) { in bind_framebuffer()
2631 _mesa_HashInsert(ctx->Shared->FrameBuffers, framebuffer, newDrawFb); in bind_framebuffer()
2633 newReadFb = newDrawFb; in bind_framebuffer()
2639 newDrawFb = ctx->WinSysDrawBuffer; in bind_framebuffer()
2644 bindDrawBuf ? newDrawFb : ctx->DrawBuffer, in bind_framebuffer()
2650 struct gl_framebuffer *newDrawFb, in _mesa_bind_framebuffers() argument
2655 const bool bindDrawBuf = oldDrawFb != newDrawFb; in _mesa_bind_framebuffers()
2658 assert(newDrawFb); in _mesa_bind_framebuffers()
2659 assert(newDrawFb != &DummyFramebuffer); in _mesa_bind_framebuffers()
2690 check_begin_texture_render(ctx, newDrawFb); in _mesa_bind_framebuffers()
2692 _mesa_reference_framebuffer(&ctx->DrawBuffer, newDrawFb); in _mesa_bind_framebuffers()
2701 newDrawFb, newReadFb); in _mesa_bind_framebuffers()