Home | History | Annotate | Download | only in main

Lines Matching defs:buffers

27  * \file buffers.c
34 #include "buffers.h"
46 * Return bitmask of BUFFER_BIT_* flags indicating which color buffers are
93 * Given a GLenum naming one or more color buffers (such as
253 /* none of the named color buffers exist! */
278 * \param buffers array [n] of renderbuffer names. Unlike glDrawBuffer, the
283 _mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers)
304 if (buffers[output] == GL_NONE) {
308 destMask[output] = draw_buffer_enum_to_bitmask(buffers[output]);
333 _mesa_drawbuffers(ctx, n, buffers, destMask);
337 * in which case we don't want to reference buffers[0], which
341 ctx->Driver.DrawBuffers(ctx, n, buffers);
343 ctx->Driver.DrawBuffer(ctx, n > 0 ? buffers[0] : GL_NONE);
378 * \param buffers array[n] of colorbuffer names, like GL_LEFT.
384 _mesa_drawbuffers(struct gl_context *ctx, GLuint n, const GLenum *buffers,
396 mask[output] = draw_buffer_enum_to_bitmask(buffers[output]);
418 fb->ColorDrawBuffer[0] = buffers[0];
440 fb->ColorDrawBuffer[buf] = buffers[buf];
476 GLenum buffers[MAX_DRAW_BUFFERS];
483 buffers[i] = ctx->Color.DrawBuffer[i];
485 _mesa_drawbuffers(ctx, ctx->Const.MaxDrawBuffers, buffers, NULL);