Home | History | Annotate | Download | only in main

Lines Matching refs:buffer

200       /* don't clear depth buffer if depth writing disabled */
304 * Clear signed integer color buffer or stencil buffer (not depth).
307 _mesa_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
318 switch (buffer) {
322 * "ClearBuffer generates an INVALID VALUE error if buffer is
324 * value of MAX DRAW BUFFERS minus one; or if buffer is DEPTH,
359 /* clear buffer(s) */
370 * the type of the specified value and the type of the buffer being
372 * fixed- or floating-point buffer, or if ClearBufferfv is called
373 * for a signed or unsigned integer buffer). This is not an error."
386 _mesa_error(ctx, GL_INVALID_ENUM, "glClearBufferiv(buffer=%s)",
387 _mesa_lookup_enum_by_nr(buffer));
395 * Clear unsigned integer color buffer (not depth, not stencil).
398 _mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
409 switch (buffer) {
425 /* clear buffer(s) */
437 * the type of the specified value and the type of the buffer being
439 * fixed- or floating-point buffer, or if ClearBufferfv is called
440 * for a signed or unsigned integer buffer). This is not an error."
458 _mesa_error(ctx, GL_INVALID_ENUM, "glClearBufferuiv(buffer=%s)",
459 _mesa_lookup_enum_by_nr(buffer));
467 * Clear fixed-pt or float color buffer or depth buffer (not stencil).
470 _mesa_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
481 switch (buffer) {
485 * "ClearBuffer generates an INVALID VALUE error if buffer is
487 * value of MAX DRAW BUFFERS minus one; or if buffer is DEPTH,
506 /* clear depth buffer to value */
523 /* clear buffer(s) */
534 buffer being
536 * fixed- or floating-point buffer, or if ClearBufferfv is called
537 * for a signed or unsigned integer buffer). This is not an error."
550 _mesa_error(ctx, GL_INVALID_ENUM, "glClearBufferfv(buffer=%s)",
551 _mesa_lookup_enum_by_nr(buffer));
559 * Clear depth/stencil buffer only.
562 _mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer,
572 if (buffer != GL_DEPTH_STENCIL) {
573 _mesa_error(ctx, GL_INVALID_ENUM, "glClearBufferfi(buffer=%s)",
574 _mesa_lookup_enum_by_nr(buffer));
580 * "ClearBuffer generates an INVALID VALUE error if buffer is
582 * value of MAX DRAW BUFFERS minus one; or if buffer is DEPTH,