OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:indexsizebits
(Results
1 - 1
of
1
) sorted by null
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
PaletteTexture.cpp
30
void getPaletteInfo(GLenum internalFormat,unsigned int&
indexSizeBits
,unsigned int& colorSizeBytes,GLenum& colorFrmt) {
36
indexSizeBits
= 4;
41
indexSizeBits
= 4;
51
indexSizeBits
= 4;
56
indexSizeBits
= 8;
61
indexSizeBits
= 8;
71
indexSizeBits
= 8;
110
unsigned int
indexSizeBits
; //the size of the color index in the pallete
113
getPaletteInfo(internalformat,
indexSizeBits
,colorSizeBytes,formatOut);
124
int nColors = 2 << (
indexSizeBits
-1); //2^indexSizeBit
[
all
...]
Completed in 793 milliseconds