Lines Matching refs:Format
517 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format);
518 const gl_format fmt = rb->Format;
545 const gl_format fmt = rb->Format;
557 const gl_format fmt = rb->Format;
565 const gl_format fmt = rb->Format;
573 const gl_format fmt = rb->Format;
747 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA,
756 GLenum format,
770 switch (format) {
802 ASSERT(_mesa_get_format_bits(readBuf->Format, GL_RED_BITS) > 0 ||
803 _mesa_get_format_bits(readBuf->Format, GL_ALPHA_BITS) > 0 ||
804 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_LUMINANCE_SIZE) > 0 ||
805 _mesa_get_format_bits(readBuf->Format, GL_TEXTURE_INTENSITY_SIZE) > 0 ||
806 _mesa_get_format_bits(readBuf->Format, GL_INDEX_BITS) > 0);
833 "Unexpected format 0x%x in renderbuffer_exists",
834 format);
846 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA,
851 _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format)
853 return renderbuffer_exists(ctx, ctx->ReadBuffer, format, GL_TRUE);
861 _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format)
863 return renderbuffer_exists(ctx, ctx->DrawBuffer, format, GL_FALSE);
873 switch (ctx->ReadBuffer->_ColorReadBuffer->Format) {
890 switch (ctx->ReadBuffer->_ColorReadBuffer->Format) {
923 fprintf(stderr, " Size: %u x %u x %u Format %s\n",
930 fprintf(stderr, " Size: %u x %u Format %s\n",
932 _mesa_get_format_name(att->Renderbuffer->Format));