Home | History | Annotate | Download | only in libGLES_CM

Lines Matching refs:Format

28 	bool IsCompressed(GLenum format)
30 return format == GL_COMPRESSED_RGB_S3TC_DXT1_EXT ||
31 format == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT ||
32 format == GL_ETC1_RGB8_OES;
35 bool IsDepthTexture(GLenum format)
37 return format == GL_DEPTH_STENCIL_OES;
40 bool IsStencilTexture(GLenum format)
42 return format == GL_DEPTH_STENCIL_OES;
70 // Verify that format/type are one of the combinations from table 3.4.
71 bool CheckTextureFormatType(GLenum format, GLenum type)
76 switch(format)
91 return (format == GL_RGBA);
93 return (format == GL_RGB);
95 return (format == GL_DEPTH_STENCIL_OES);
493 sw::Format ConvertRenderbufferFormat(GLenum format)
495 switch(format)
505 default: UNREACHABLE(format); return sw::FORMAT_A8B8G8R8;
552 unsigned int GetStencilSize(sw::Format stencilFormat)
577 unsigned int GetAlphaSize(sw::Format colorFormat)
601 unsigned int GetRedSize(sw::Format colorFormat)
624 unsigned int GetGreenSize(sw::Format colorFormat)
648 unsigned int GetBlueSize(sw::Format colorFormat)
671 unsigned int GetDepthSize(sw::Format depthFormat)
691 GLenum ConvertBackBufferFormat(sw::Format format)
693 switch(format)
703 UNREACHABLE(format);
709 GLenum ConvertDepthStencilFormat(sw::Format format)
711 switch(format)
720 UNREACHABLE(format);