Lines Matching refs:getInternalFormat
114 return (baseImage ? baseImage->getInternalFormat() : GL_NONE);
129 GLenum Texture::getInternalFormat(const ImageIndex &index) const
132 return image->getInternalFormat();
213 GLenum Texture2D::getInternalFormat(GLint level) const
216 return mTexture->getImage(level, 0)->getInternalFormat();
299 if (!textureCaps.get(getInternalFormat(0)).filterable && !IsPointSampled(samplerState))
336 const gl::InternalFormat &formatInfo = gl::GetInternalFormatInfo(getInternalFormat(0));
354 return GetInternalFormatInfo(getInternalFormat(level)).compressed;
359 return GetInternalFormatInfo(getInternalFormat(level)).depthBits > 0;
411 if (image->getInternalFormat() != baseImage->getInternalFormat())
454 GLenum TextureCubeMap::getInternalFormat(GLenum target, GLint level) const
457 return mTexture->getImage(level, targetToLayerIndex(target))->getInternalFormat();
533 faceBaseImage->getInternalFormat() != baseFormat )
544 return GetInternalFormatInfo(getInternalFormat(target, level)).compressed;
549 return GetInternalFormatInfo(getInternalFormat(target, level)).depthBits > 0;
571 if (!textureCaps.get(getInternalFormat(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0)).filterable && !IsPointSampled(samplerState))
679 if (faceLevelImage->getInternalFormat() != getBaseLevelInternalFormat())
717 GLenum Texture3D::getInternalFormat(GLint level) const
719 return (level < IMPLEMENTATION_MAX_TEXTURE_LEVELS) ? mTexture->getImage(level, 0)->getInternalFormat() : GL_NONE;
729 return GetInternalFormatInfo(getInternalFormat(level)).compressed;
734 return GetInternalFormatInfo(getInternalFormat(level)).depthBits > 0;
775 if (!textureCaps.get(getInternalFormat(0)).filterable && !IsPointSampled(samplerState))
828 if (levelImage->getInternalFormat() != getBaseLevelInternalFormat())
875 GLenum Texture2DArray::getInternalFormat(GLint level) const
877 return (level < IMPLEMENTATION_MAX_TEXTURE_LEVELS && mTexture->getLayerCount(level) > 0) ? mTexture->getImage(level, 0)->getInternalFormat() : GL_NONE;
887 return GetInternalFormatInfo(getInternalFormat(level)).compressed;
892 return GetInternalFormatInfo(getInternalFormat(level)).depthBits > 0;
984 if (getInternalFormat(level) != getInternalFormat(0))