Lines Matching refs:drawbuffer
256 make_color_buffer_mask(struct gl_context *ctx, GLint drawbuffer) in make_color_buffer_mask() argument
275 if (drawbuffer < 0 || drawbuffer >= (GLint)ctx->Const.MaxDrawBuffers) { in make_color_buffer_mask()
279 switch (ctx->DrawBuffer->ColorDrawBuffer[drawbuffer]) { in make_color_buffer_mask()
325 ctx->DrawBuffer->_ColorDrawBufferIndexes[drawbuffer]; in make_color_buffer_mask()
343 clear_bufferiv(struct gl_context *ctx, GLenum buffer, GLint drawbuffer, in clear_bufferiv() argument
362 if (!no_error && drawbuffer != 0) { in clear_bufferiv()
364 drawbuffer); in clear_bufferiv()
382 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); in clear_bufferiv()
385 drawbuffer); in clear_bufferiv()
419 _mesa_ClearBufferiv_no_error(GLenum buffer, GLint drawbuffer, const GLint *value) in _mesa_ClearBufferiv_no_error() argument
422 clear_bufferiv(ctx, buffer, drawbuffer, value, true); in _mesa_ClearBufferiv_no_error()
427 _mesa_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) in _mesa_ClearBufferiv() argument
430 clear_bufferiv(ctx, buffer, drawbuffer, value, false); in _mesa_ClearBufferiv()
441 GLint drawbuffer, const GLint *value) in _mesa_ClearNamedFramebufferiv() argument
447 _mesa_ClearBufferiv(buffer, drawbuffer, value); in _mesa_ClearNamedFramebufferiv()
457 clear_bufferuiv(struct gl_context *ctx, GLenum buffer, GLint drawbuffer, in clear_bufferuiv() argument
470 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); in clear_bufferuiv()
473 drawbuffer); in clear_bufferuiv()
507 _mesa_ClearBufferuiv_no_error(GLenum buffer, GLint drawbuffer, in _mesa_ClearBufferuiv_no_error() argument
511 clear_bufferuiv(ctx, buffer, drawbuffer, value, true); in _mesa_ClearBufferuiv_no_error()
516 _mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) in _mesa_ClearBufferuiv() argument
519 clear_bufferuiv(ctx, buffer, drawbuffer, value, false); in _mesa_ClearBufferuiv()
530 GLint drawbuffer, const GLuint *value) in _mesa_ClearNamedFramebufferuiv() argument
536 _mesa_ClearBufferuiv(buffer, drawbuffer, value); in _mesa_ClearNamedFramebufferuiv()
546 clear_bufferfv(struct gl_context *ctx, GLenum buffer, GLint drawbuffer, in clear_bufferfv() argument
565 if (!no_error && drawbuffer != 0) { in clear_bufferfv()
567 drawbuffer); in clear_bufferfv()
586 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); in clear_bufferfv()
589 drawbuffer); in clear_bufferfv()
623 _mesa_ClearBufferfv_no_error(GLenum buffer, GLint drawbuffer, in _mesa_ClearBufferfv_no_error() argument
627 clear_bufferfv(ctx, buffer, drawbuffer, value, true); in _mesa_ClearBufferfv_no_error()
632 _mesa_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) in _mesa_ClearBufferfv() argument
635 clear_bufferfv(ctx, buffer, drawbuffer, value, false); in _mesa_ClearBufferfv()
646 GLint drawbuffer, const GLfloat *value) in _mesa_ClearNamedFramebufferfv() argument
652 _mesa_ClearBufferfv(buffer, drawbuffer, value); in _mesa_ClearNamedFramebufferfv()
662 clear_bufferfi(struct gl_context *ctx, GLenum buffer, GLint drawbuffer, in clear_bufferfi() argument
684 if (drawbuffer != 0) { in clear_bufferfi()
686 drawbuffer); in clear_bufferfi()
723 _mesa_ClearBufferfi_no_error(GLenum buffer, GLint drawbuffer, in _mesa_ClearBufferfi_no_error() argument
727 clear_bufferfi(ctx, buffer, drawbuffer, depth, stencil, true); in _mesa_ClearBufferfi_no_error()
732 _mesa_ClearBufferfi(GLenum buffer, GLint drawbuffer, in _mesa_ClearBufferfi() argument
736 clear_bufferfi(ctx, buffer, drawbuffer, depth, stencil, false); in _mesa_ClearBufferfi()
747 GLint drawbuffer, GLfloat depth, GLint stencil) in _mesa_ClearNamedFramebufferfi() argument
753 _mesa_ClearBufferfi(buffer, drawbuffer, depth, stencil); in _mesa_ClearNamedFramebufferfi()