Searched refs:__size_pixels (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_enc.cpp | 860 const unsigned int __size_pixels = (((glUtilsPixelBitSize(format, type) * width) >> 3) * height); in rcReadColorBuffer_enc() local 878 *(unsigned int *)(ptr) = __size_pixels; ptr += 4; in rcReadColorBuffer_enc() 883 stream->readback(pixels, __size_pixels); in rcReadColorBuffer_enc() 884 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in rcReadColorBuffer_enc() 905 const unsigned int __size_pixels = (((glUtilsPixelBitSize(format, type) * width) >> 3) * height); in rcUpdateColorBuffer_enc() local 908 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in rcUpdateColorBuffer_enc() 926 stream->writeFully(&__size_pixels,4); in rcUpdateColorBuffer_enc() 927 if (useChecksum) checksumCalculator->addBuffer(&__size_pixels,4); in rcUpdateColorBuffer_enc() 928 stream->writeFully(pixels, __size_pixels); in rcUpdateColorBuffer_enc() 929 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in rcUpdateColorBuffer_enc() [all …]
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | gl2_enc.cpp | 3011 …const unsigned int __size_pixels = glesv2_enc::pixelDataSize(self, width, height, format, type, 1… in glReadPixels_enc() local 3028 *(unsigned int *)(ptr) = __size_pixels; ptr += 4; in glReadPixels_enc() 3034 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in glReadPixels_enc() 3322 …const unsigned int __size_pixels = ((pixels != NULL) ? glesv2_enc::pixelDataSize(self, width, hei… in glTexImage2D_enc() local 3325 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glTexImage2D_enc() 3344 stream->writeFully(&__size_pixels,4); in glTexImage2D_enc() 3345 if (useChecksum) checksumCalculator->addBuffer(&__size_pixels,4); in glTexImage2D_enc() 3348 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in glTexImage2D_enc() 3475 …const unsigned int __size_pixels = ((pixels != NULL) ? glesv2_enc::pixelDataSize(self, width, hei… in glTexSubImage2D_enc() local 3478 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glTexSubImage2D_enc() [all …]
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | gl_enc.cpp | 3390 …const unsigned int __size_pixels = glesv1_enc::pixelDataSize(self, width, height, format, type, 1… in glReadPixels_enc() local 3407 *(unsigned int *)(ptr) = __size_pixels; ptr += 4; in glReadPixels_enc() 3412 stream->readback(pixels, __size_pixels); in glReadPixels_enc() 3413 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in glReadPixels_enc() 3785 …const unsigned int __size_pixels = ((pixels != NULL) ? glesv1_enc::pixelDataSize(self, width, hei… in glTexImage2D_enc() local 3788 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glTexImage2D_enc() 3807 stream->writeFully(&__size_pixels,4); in glTexImage2D_enc() 3808 if (useChecksum) checksumCalculator->addBuffer(&__size_pixels,4); in glTexImage2D_enc() 3810 stream->writeFully(pixels, __size_pixels); in glTexImage2D_enc() 3811 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in glTexImage2D_enc() [all …]
|