Home | History | Annotate | Download | only in main

Lines Matching refs:DrawBuffer

28  * glReadBuffer, DrawBuffer functions.
214 * current ctx->DrawBuffer is a window-system framebuffer (Name=0) or
216 * In the former case, we update the per-context ctx->Color.DrawBuffer
243 = supported_buffer_bitmask(ctx, ctx->DrawBuffer);
268 else if (ctx->Driver.DrawBuffer)
269 ctx->Driver.DrawBuffer(ctx, buffer);
299 supportedMask = supported_buffer_bitmask(ctx, ctx->DrawBuffer);
342 else if (ctx->Driver.DrawBuffer)
343 ctx->Driver.DrawBuffer(ctx, n > 0 ? buffers[0] : GL_NONE);
358 struct gl_framebuffer *fb = ctx->DrawBuffer;
387 struct gl_framebuffer *fb = ctx->DrawBuffer;
457 /* also set context drawbuffer state */
459 if (ctx->Color.DrawBuffer[buf] != fb->ColorDrawBuffer[buf]) {
461 ctx->Color.DrawBuffer[buf] = fb->ColorDrawBuffer[buf];
469 * Update the current drawbuffer's _ColorDrawBufferIndex[] list, etc.
470 * from the context's Color.DrawBuffer[] state.
480 assert(_mesa_is_winsys_fbo(ctx->DrawBuffer));
483 buffers[i] = ctx->Color.DrawBuffer[i];