Lines Matching refs:newDrawFb
1716 struct gl_framebuffer *newDrawFb, *newReadFb; in _mesa_BindFramebufferEXT() local
1766 newDrawFb = _mesa_lookup_framebuffer(ctx, framebuffer); in _mesa_BindFramebufferEXT()
1767 if (newDrawFb == &DummyFramebuffer) { in _mesa_BindFramebufferEXT()
1769 newDrawFb = NULL; in _mesa_BindFramebufferEXT()
1771 else if (!newDrawFb && ctx->Extensions.ARB_framebuffer_object) { in _mesa_BindFramebufferEXT()
1777 if (!newDrawFb) { in _mesa_BindFramebufferEXT()
1779 newDrawFb = ctx->Driver.NewFramebuffer(ctx, framebuffer); in _mesa_BindFramebufferEXT()
1780 if (!newDrawFb) { in _mesa_BindFramebufferEXT()
1784 _mesa_HashInsert(ctx->Shared->FrameBuffers, framebuffer, newDrawFb); in _mesa_BindFramebufferEXT()
1786 newReadFb = newDrawFb; in _mesa_BindFramebufferEXT()
1792 newDrawFb = ctx->WinSysDrawBuffer; in _mesa_BindFramebufferEXT()
1796 ASSERT(newDrawFb); in _mesa_BindFramebufferEXT()
1797 ASSERT(newDrawFb != &DummyFramebuffer); in _mesa_BindFramebufferEXT()
1804 if (oldDrawFb == newDrawFb) in _mesa_BindFramebufferEXT()
1838 check_begin_texture_render(ctx, newDrawFb); in _mesa_BindFramebufferEXT()
1840 _mesa_reference_framebuffer(&ctx->DrawBuffer, newDrawFb); in _mesa_BindFramebufferEXT()
1844 ctx->Driver.BindFramebuffer(ctx, target, newDrawFb, newReadFb); in _mesa_BindFramebufferEXT()