Searched refs:bufferBits (Results 1 – 2 of 2) sorted by relevance
673 GLint bufferBits[4]; in calcTextureEpsilon() local676 gl.getIntegerv(GL_RED_BITS, &bufferBits[0]); in calcTextureEpsilon()677 gl.getIntegerv(GL_GREEN_BITS, &bufferBits[1]); in calcTextureEpsilon()678 gl.getIntegerv(GL_BLUE_BITS, &bufferBits[2]); in calcTextureEpsilon()679 gl.getIntegerv(GL_ALPHA_BITS, &bufferBits[3]); in calcTextureEpsilon()702 if (bits > bufferBits[i]) in calcTextureEpsilon()704 bits = bufferBits[i]; in calcTextureEpsilon()720 if (bits == 8 && bufferBits[i] != 0) in calcTextureEpsilon()
1362 uint32 bufferBits = 0; in ReadUncompressed() local1367 while (bufferBits < bitDepth) in ReadUncompressed()1372 bufferBits += 8; in ReadUncompressed()1376 p [j] = (uint16) ((bitBuffer >> (bufferBits - bitDepth)) & bitMask); in ReadUncompressed()1378 bufferBits -= bitDepth; in ReadUncompressed()1401 uint32 bufferBits = 0; in ReadUncompressed() local1406 while (bufferBits < bitDepth) in ReadUncompressed()1411 bufferBits += 8; in ReadUncompressed()1415 p [j] = ((uint32) (bitBuffer >> (bufferBits - bitDepth))) & bitMask; in ReadUncompressed()1417 bufferBits -= bitDepth; in ReadUncompressed()