Home | History | Annotate | Download | only in main

Lines Matching refs:readBuffer

930    ctx->ReadBuffer = NULL;
1113 _mesa_reference_framebuffer(&ctx->ReadBuffer, NULL);
1403 * Bind the given context to the given drawBuffer and readBuffer and
1406 * readBuffer (i.e. glRead/CopyPixels, glCopyTexImage, etc).
1414 * \param readBuffer the reading framebuffer
1419 struct gl_framebuffer *readBuffer )
1435 if (newCtx && readBuffer && newCtx->WinSysReadBuffer != readBuffer) {
1436 if (!check_compatible(newCtx, readBuffer)) {
1438 "MakeCurrent: incompatible visuals for context and readbuffer");
1459 if (drawBuffer && readBuffer) {
1461 ASSERT(_mesa_is_winsys_fbo(readBuffer));
1463 _mesa_reference_framebuffer(&newCtx->WinSysReadBuffer, readBuffer);
1466 * Only set the context's Draw/ReadBuffer fields if they're NULL
1477 if (!newCtx->ReadBuffer || _mesa_is_winsys_fbo(newCtx->ReadBuffer)) {
1478 _mesa_reference_framebuffer(&newCtx->ReadBuffer, readBuffer);
1493 if (readBuffer != drawBuffer && !readBuffer->Initialized) {
1494 initialize_framebuffer_size(newCtx, readBuffer);
1501 /* We want the drawBuffer and readBuffer to be initialized by