Lines Matching refs:drawBuffer
1418 struct gl_framebuffer *drawBuffer, in _mesa_make_current() argument
1428 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1429 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1459 if (drawBuffer && readBuffer) { in _mesa_make_current()
1460 ASSERT(_mesa_is_winsys_fbo(drawBuffer)); in _mesa_make_current()
1462 _mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, drawBuffer); in _mesa_make_current()
1470 _mesa_reference_framebuffer(&newCtx->DrawBuffer, drawBuffer); in _mesa_make_current()
1490 if (!drawBuffer->Initialized) { in _mesa_make_current()
1491 initialize_framebuffer_size(newCtx, drawBuffer); in _mesa_make_current()
1493 if (readBuffer != drawBuffer && !readBuffer->Initialized) { in _mesa_make_current()
1512 ASSERT(drawBuffer->Width > 0); in _mesa_make_current()
1513 ASSERT(drawBuffer->Height > 0); in _mesa_make_current()
1516 if (drawBuffer) { in _mesa_make_current()
1518 drawBuffer->Width, drawBuffer->Height); in _mesa_make_current()