Lines Matching refs:format
682 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA,
691 GLenum format,
705 switch (format) {
775 "Unexpected format 0x%x in renderbuffer_exists",
776 format);
788 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA,
793 _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format)
795 return renderbuffer_exists(ctx, ctx->ReadBuffer, format, GL_TRUE);
803 _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format)
805 return renderbuffer_exists(ctx, ctx->DrawBuffer, format, GL_FALSE);
857 const mesa_format format = fb->_ColorReadBuffer->Format;
859 switch (format) {
896 if (_mesa_is_format_integer(format))
932 const mesa_format format = fb->_ColorReadBuffer->Format;
936 _mesa_uncompressed_format_to_type_and_comps(format, &data_type, &comps);
944 * Returns the read renderbuffer for the specified format.
948 GLenum format)
952 if (_mesa_is_color_format(format)) {
954 } else if (_mesa_is_depth_format(format) ||
955 _mesa_is_depthstencil_format(format)) {