Home | History | Annotate | Download | only in main

Lines Matching refs:baseFormat

484 _mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat)
486 switch (baseFormat) {
508 is_legal_depth_format(const struct gl_context *ctx, GLenum baseFormat)
510 switch (baseFormat) {
539 GLenum baseFormat;
566 baseFormat = _mesa_get_format_base_format(texImage->TexFormat);
569 if (!_mesa_is_legal_color_format(ctx, baseFormat)) {
581 if (baseFormat == GL_DEPTH_COMPONENT) {
586 baseFormat == GL_DEPTH_STENCIL_EXT) {
599 baseFormat == GL_DEPTH_STENCIL_EXT) {
611 const GLenum baseFormat =
623 if (!_mesa_is_legal_color_format(ctx, baseFormat)) {
630 if (baseFormat == GL_DEPTH_COMPONENT) {
634 baseFormat == GL_DEPTH_STENCIL_EXT) {
645 if (baseFormat == GL_STENCIL_INDEX) {
649 baseFormat == GL_DEPTH_STENCIL_EXT) {
1416 GLenum baseFormat;
1426 baseFormat = _mesa_base_fbo_format(ctx, internalFormat);
1427 if (baseFormat == 0) {
1480 rb->_BaseFormat = baseFormat;
1543 get_component_bits(GLenum pname, GLenum baseFormat, gl_format format)
1545 if (_mesa_base_format_has_channel(baseFormat, pname))
2328 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format);
2329 if (baseFormat != GL_DEPTH_STENCIL) {