Lines Matching defs:drawBuffer
1572 * Bind the given context to the given drawBuffer and readBuffer and
1574 * We'll render into the drawBuffer and read pixels from the
1582 * \param drawBuffer the drawing framebuffer
1587 struct gl_framebuffer *drawBuffer,
1597 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) {
1598 if (!check_compatible(newCtx, drawBuffer)) {
1645 if (drawBuffer && readBuffer) {
1646 assert(_mesa_is_winsys_fbo(drawBuffer));
1648 _mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, drawBuffer);
1656 _mesa_reference_framebuffer(&newCtx->DrawBuffer, drawBuffer);
1684 check_init_viewport(newCtx, drawBuffer->Width, drawBuffer->Height);