Lines Matching refs:internalformat
326 bool IsCompressed(GLint internalformat) in IsCompressed() argument
328 switch(internalformat) in IsCompressed()
351 bool IsSizedInternalFormat(GLint internalformat) in IsSizedInternalFormat() argument
353 switch(internalformat) in IsSizedInternalFormat()
609 GLint internalformat = depthbuffer->getFormat(); in ValidateReadPixelsFormatType() local
615 switch(internalformat) in ValidateReadPixelsFormatType()
626 UNREACHABLE(internalformat); in ValidateReadPixelsFormatType()
631 switch(internalformat) in ValidateReadPixelsFormatType()
642 UNREACHABLE(internalformat); in ValidateReadPixelsFormatType()
681 GLint internalformat = colorbuffer->getFormat(); in ValidateReadPixelsFormatType() local
683 if(IsNormalizedInteger(internalformat)) in ValidateReadPixelsFormatType()
702 else if(IsFloatFormat(internalformat)) in ValidateReadPixelsFormatType()
711 else if(IsSignedNonNormalizedInteger(internalformat)) in ValidateReadPixelsFormatType()
718 else if(IsUnsignedNonNormalizedInteger(internalformat)) in ValidateReadPixelsFormatType()
725 else UNREACHABLE(internalformat); in ValidateReadPixelsFormatType()
750 if(internalformat == GL_RGB10_A2) in ValidateReadPixelsFormatType()
808 GLenum ValidateTextureFormatType(GLenum format, GLenum type, GLint internalformat, GLenum target) in ValidateTextureFormatType() argument
872 if((GLenum)internalformat != format) in ValidateTextureFormatType()
874 if(gl::IsUnsizedInternalFormat(internalformat)) in ValidateTextureFormatType()
879 if(!IsSizedInternalFormat(internalformat)) in ValidateTextureFormatType()
885 if((GLenum)internalformat == format) in ValidateTextureFormatType()
975 …alformats[] = {__VA_ARGS__}; for(GLint v : validInternalformats) {if(internalformat == v) validSiz… in ValidateTextureFormatType()
1328 bool IsColorRenderable(GLint internalformat) in IsColorRenderable() argument
1330 if(IsCompressed(internalformat)) in IsColorRenderable()
1335 switch(internalformat) in IsColorRenderable()
1404 bool IsDepthRenderable(GLint internalformat) in IsDepthRenderable() argument
1406 if(IsCompressed(internalformat)) in IsDepthRenderable()
1411 switch(internalformat) in IsDepthRenderable()
1474 bool IsStencilRenderable(GLint internalformat) in IsStencilRenderable() argument
1476 if(IsCompressed(internalformat)) in IsStencilRenderable()
1481 switch(internalformat) in IsStencilRenderable()
1544 bool IsMipmappable(GLint internalformat) in IsMipmappable() argument
1546 if(internalformat == GL_NONE) in IsMipmappable()
1551 if(IsNonNormalizedInteger(internalformat)) in IsMipmappable()
1556 switch(internalformat) in IsMipmappable()
1569 return IsColorRenderable(internalformat); in IsMipmappable()
1573 GLuint GetAlphaSize(GLint internalformat) in GetAlphaSize() argument
1575 switch(internalformat) in GetAlphaSize()
1622 GLuint GetRedSize(GLint internalformat) in GetRedSize() argument
1624 switch(internalformat) in GetRedSize()
1671 GLuint GetGreenSize(GLint internalformat) in GetGreenSize() argument
1673 switch(internalformat) in GetGreenSize()
1720 GLuint GetBlueSize(GLint internalformat) in GetBlueSize() argument
1722 switch(internalformat) in GetBlueSize()
1769 GLuint GetDepthSize(GLint internalformat) in GetDepthSize() argument
1771 switch(internalformat) in GetDepthSize()
1786 GLuint GetStencilSize(GLint internalformat) in GetStencilSize() argument
1788 switch(internalformat) in GetStencilSize()
1803 GLenum GetColorComponentType(GLint internalformat) in GetColorComponentType() argument
1805 switch(internalformat) in GetColorComponentType()
1877 GLenum GetComponentType(GLint internalformat, GLenum attachment) in GetComponentType() argument
1914 return GetColorComponentType(internalformat); in GetComponentType()
1925 bool IsNormalizedInteger(GLint internalformat) in IsNormalizedInteger() argument
1927 GLenum type = GetColorComponentType(internalformat); in IsNormalizedInteger()
1932 bool IsNonNormalizedInteger(GLint internalformat) in IsNonNormalizedInteger() argument
1934 GLenum type = GetColorComponentType(internalformat); in IsNonNormalizedInteger()
1939 bool IsFloatFormat(GLint internalformat) in IsFloatFormat() argument
1941 return GetColorComponentType(internalformat) == GL_FLOAT; in IsFloatFormat()
1944 bool IsSignedNonNormalizedInteger(GLint internalformat) in IsSignedNonNormalizedInteger() argument
1946 return GetColorComponentType(internalformat) == GL_INT; in IsSignedNonNormalizedInteger()
1949 bool IsUnsignedNonNormalizedInteger(GLint internalformat) in IsUnsignedNonNormalizedInteger() argument
1951 return GetColorComponentType(internalformat) == GL_UNSIGNED_INT; in IsUnsignedNonNormalizedInteger()
1954 GLenum GetColorEncoding(GLint internalformat) in GetColorEncoding() argument
1956 switch(internalformat) in GetColorEncoding()