Home | History | Annotate | Download | only in main

Lines Matching refs:baseFormat

682 _mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat)
684 switch (baseFormat) {
710 const GLenum baseFormat =
714 valid = _mesa_is_legal_color_format(ctx, baseFormat);
753 is_legal_depth_format(const struct gl_context *ctx, GLenum baseFormat)
755 switch (baseFormat) {
784 GLenum baseFormat;
835 baseFormat = texImage->_BaseFormat;
838 if (!_mesa_is_legal_color_format(ctx, baseFormat)) {
862 if (baseFormat == GL_DEPTH_COMPONENT) {
866 baseFormat == GL_DEPTH_STENCIL) {
878 baseFormat == GL_DEPTH_STENCIL) {
881 baseFormat == GL_STENCIL_INDEX) {
892 const GLenum baseFormat = att->Renderbuffer->_BaseFormat;
903 if (!_mesa_is_legal_color_format(ctx, baseFormat)) {
910 if (baseFormat == GL_DEPTH_COMPONENT) {
913 else if (baseFormat == GL_DEPTH_STENCIL) {
924 if (baseFormat == GL_STENCIL_INDEX ||
925 baseFormat == GL_DEPTH_STENCIL) {
2047 const GLenum baseFormat = _mesa_base_fbo_format(ctx, internalFormat);
2049 assert(baseFormat != 0);
2081 rb->_BaseFormat = baseFormat;
2110 GLenum baseFormat;
2113 baseFormat = _mesa_base_fbo_format(ctx, internalFormat);
2114 if (baseFormat == 0) {
2279 get_component_bits(GLenum pname, GLenum baseFormat, mesa_format format)
2281 if (_mesa_base_format_has_channel(baseFormat, pname))
3536 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format);
3537 if (baseFormat != GL_DEPTH_STENCIL) {