Lines Matching defs:buffer
76 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
108 * Clear the accumulation buffer by mapping the renderbuffer and
125 return; /* missing accum buffer, not an error */
162 _mesa_warning(ctx, "unexpected accum buffer type");
246 /* no read buffer - OK */
256 /* Map accum buffer */
264 /* Map color buffer */
284 /* read colors from source color buffer */
335 GLuint buffer;
337 /* Map accum buffer */
347 for (buffer = 0; buffer < fb->_NumColorDrawBuffers; buffer++) {
348 struct gl_renderbuffer *colorRb = fb->_ColorDrawBuffers[buffer];
349 const GLboolean masking = (!ctx->Color.ColorMask[buffer][RCOMP] ||
350 !ctx->Color.ColorMask[buffer][GCOMP] ||
351 !ctx->Color.ColorMask[buffer][BCOMP] ||
352 !ctx->Color.ColorMask[buffer][ACOMP]);
358 /* Map color buffer */
387 /* get existing colors from dest buffer */
391 if (ctx->Color.ColorMask[buffer][RCOMP] == 0) {
395 if (ctx->Color.ColorMask[buffer][GCOMP] == 0) {
399 if (ctx->Color.ColorMask[buffer][BCOMP] == 0) {
403 if (ctx->Color.ColorMask[buffer][ACOMP] == 0) {
445 _mesa_warning(ctx, "Calling glAccum() without an accumulation buffer");
489 /* Accumulate buffer group */