Lines Matching refs:format
36 GLenum format; member
52 static s32 GetPixelByte(const GLenum format);
83 bool ConvertGLTextureToNative(const GLenum format, const u32 width, const u32 height, in ConvertGLTextureToNative() argument
97 textureInformation.format = format; in ConvertGLTextureToNative()
135 static s32 GetPixelByte(const GLenum format) in GetPixelByte() argument
138 if ( format == GL_RGBA_NATIVE_DMP ) in GetPixelByte()
143 else if ( format == GL_RGB_NATIVE_DMP ) in GetPixelByte()
148 else if ( format == GL_LUMINANCE_ALPHA_NATIVE_DMP ) in GetPixelByte()
165 u32 pixelByte = GetPixelByte(textureInformation->format); in ReadBlock()
200 u32 pixelByte = GetPixelByte(textureInformation->format); in WriteBlock()
251 u32 pixelByte = GetPixelByte(textureInformation->format); in DeBlock()
303 u32 pixelByte = GetPixelByte(textureInformation->format); in EnBlock()
359 if ( textureInformation->format == GL_RGBA_NATIVE_DMP ) in SwapColorComponents()
363 else if ( textureInformation->format == GL_RGB_NATIVE_DMP ) in SwapColorComponents()
367 else if ( textureInformation->format == GL_LUMINANCE_ALPHA_NATIVE_DMP ) in SwapColorComponents()
380 u32 pixelByte = GetPixelByte(textureInformation->format); in ConvertFormat8888Function()
395 u32 pixelByte = GetPixelByte(textureInformation->format); in ConvertFormat888Function()
409 u32 pixelByte = GetPixelByte(textureInformation->format); in ConvertFormat88Function()