Lines Matching refs:newDrawFb
2505 struct gl_framebuffer *newDrawFb, *newReadFb; in bind_framebuffer() local
2529 newDrawFb = _mesa_lookup_framebuffer(ctx, framebuffer); in bind_framebuffer()
2530 if (newDrawFb == &DummyFramebuffer) { in bind_framebuffer()
2532 newDrawFb = NULL; in bind_framebuffer()
2534 else if (!newDrawFb && !allow_user_names) { in bind_framebuffer()
2540 if (!newDrawFb) { in bind_framebuffer()
2542 newDrawFb = ctx->Driver.NewFramebuffer(ctx, framebuffer); in bind_framebuffer()
2543 if (!newDrawFb) { in bind_framebuffer()
2547 _mesa_HashInsert(ctx->Shared->FrameBuffers, framebuffer, newDrawFb); in bind_framebuffer()
2549 newReadFb = newDrawFb; in bind_framebuffer()
2555 newDrawFb = ctx->WinSysDrawBuffer; in bind_framebuffer()
2560 bindDrawBuf ? newDrawFb : ctx->DrawBuffer, in bind_framebuffer()
2566 struct gl_framebuffer *newDrawFb, in _mesa_bind_framebuffers() argument
2571 const bool bindDrawBuf = oldDrawFb != newDrawFb; in _mesa_bind_framebuffers()
2574 assert(newDrawFb); in _mesa_bind_framebuffers()
2575 assert(newDrawFb != &DummyFramebuffer); in _mesa_bind_framebuffers()
2606 check_begin_texture_render(ctx, newDrawFb); in _mesa_bind_framebuffers()
2608 _mesa_reference_framebuffer(&ctx->DrawBuffer, newDrawFb); in _mesa_bind_framebuffers()
2617 newDrawFb, newReadFb); in _mesa_bind_framebuffers()