Lines Matching refs:drawBuffer
1403 * Bind the given context to the given drawBuffer and readBuffer and
1405 * We'll render into the drawBuffer and read pixels from the
1413 * \param drawBuffer the drawing framebuffer
1418 struct gl_framebuffer *drawBuffer,
1428 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) {
1429 if (!check_compatible(newCtx, drawBuffer)) {
1459 if (drawBuffer && readBuffer) {
1460 ASSERT(_mesa_is_winsys_fbo(drawBuffer));
1462 _mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, drawBuffer);
1470 _mesa_reference_framebuffer(&newCtx->DrawBuffer, drawBuffer);
1490 if (!drawBuffer->Initialized) {
1491 initialize_framebuffer_size(newCtx, drawBuffer);
1493 if (readBuffer != drawBuffer && !readBuffer->Initialized) {
1501 /* We want the drawBuffer and readBuffer to be initialized by
1512 ASSERT(drawBuffer->Width > 0);
1513 ASSERT(drawBuffer->Height > 0);
1516 if (drawBuffer) {
1518 drawBuffer->Width, drawBuffer->Height);