Replaced the custom component type and SRGB bool with GLenums.

TRAC #23474

Author: Geoff Lang
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
diff --git a/src/libGLESv2/formatutils.h b/src/libGLESv2/formatutils.h
index ce038a3..13eae9d 100644
--- a/src/libGLESv2/formatutils.h
+++ b/src/libGLESv2/formatutils.h
@@ -65,13 +65,8 @@
 GLenum GetFormat(GLint internalFormat, GLuint clientVersion);
 GLenum GetType(GLint internalFormat, GLuint clientVersion);
 
-bool IsNormalizedFixedPointFormat(GLint internalFormat, GLuint clientVersion);
-bool IsIntegerFormat(GLint internalFormat, GLuint clientVersion);
-bool IsSignedIntegerFormat(GLint internalFormat, GLuint clientVersion);
-bool IsUnsignedIntegerFormat(GLint internalFormat, GLuint clientVersion);
-bool IsFloatingPointFormat(GLint internalFormat, GLuint clientVersion);
-
-bool IsSRGBFormat(GLint internalFormat, GLuint clientVersion);
+GLenum GetComponentType(GLint internalFormat, GLuint clientVersion);
+GLenum GetColorEncoding(GLint internalFormat, GLuint clientVersion);
 
 bool IsColorRenderingSupported(GLint internalFormat, const rx::Renderer *renderer);
 bool IsColorRenderingSupported(GLint internalFormat, const Context *context);