Lines Matching refs:buffer
81 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
121 * Clear the accumulation buffer by mapping the renderbuffer and
138 return; /* missing accum buffer, not an error */
175 _mesa_warning(ctx, "unexpected accum buffer type");
259 /* no read buffer - OK */
269 /* Map accum buffer */
277 /* Map color buffer */
297 /* read colors from source color buffer */
348 GLuint buffer;
350 /* Map accum buffer */
360 for (buffer = 0; buffer < fb->_NumColorDrawBuffers; buffer++) {
361 struct gl_renderbuffer *colorRb = fb->_ColorDrawBuffers[buffer];
362 const GLboolean masking = (!ctx->Color.ColorMask[buffer][RCOMP] ||
363 !ctx->Color.ColorMask[buffer][GCOMP] ||
364 !ctx->Color.ColorMask[buffer][BCOMP] ||
365 !ctx->Color.ColorMask[buffer][ACOMP]);
371 /* Map color buffer */
400 /* get existing colors from dest buffer */
404 if (ctx->Color.ColorMask[buffer][RCOMP] == 0) {
408 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) {
412 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) {
416 if (ctx->Color.ColorMask[buffer][ACOMP] == 0) {
458 _mesa_warning(ctx, "Calling glAccum() without an accumulation buffer");
505 /* Accumulate buffer group */