emulator opengl: Added glUtilsPixelBitSize function to glUtils.

moved pixel size calculation from GLClientState to glUtils to be used
outside the client state scope. (needed for the renderControl encoder
which will follow in next commit).

Change-Id: I5adbc40b241537054c6743e2afc52ba44454664f
This commit is contained in:
Guy Zadikario
2011-04-10 10:31:14 +03:00
parent caafd4df2e
commit fc2d0b09ec
3 changed files with 58 additions and 50 deletions

View File

@@ -49,6 +49,7 @@ extern "C" {
void glUtilsPackPointerData(unsigned char *dst, unsigned char *str,
int size, GLenum type, unsigned int stride,
unsigned int datalen);
int glUtilsPixelBitSize(GLenum format, GLenum type);
#ifdef __cplusplus
};
#endif