Searched refs:__size_pixels (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish/opengl/system/renderControl_enc/ |
D | renderControl_enc.cpp | 831 const unsigned int __size_pixels = (((glUtilsPixelBitSize(format, type) * width) >> 3) * height); in rcReadColorBuffer_enc() local 834 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in rcReadColorBuffer_enc() 849 *(unsigned int *)(ptr) = __size_pixels; ptr += 4; in rcReadColorBuffer_enc() 854 stream->readback(pixels, __size_pixels); in rcReadColorBuffer_enc() 855 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in rcReadColorBuffer_enc() 874 const unsigned int __size_pixels = (((glUtilsPixelBitSize(format, type) * width) >> 3) * height); in rcUpdateColorBuffer_enc() local 877 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in rcUpdateColorBuffer_enc() 895 stream->writeFully(&__size_pixels,4); in rcUpdateColorBuffer_enc() 896 if (useChecksum) checksumCalculator->addBuffer(&__size_pixels,4); in rcUpdateColorBuffer_enc() 897 stream->writeFully(pixels, __size_pixels); in rcUpdateColorBuffer_enc() [all …]
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | gl2_enc.cpp | 2934 …const unsigned int __size_pixels = glesv2_enc::pixelDataSize(self, width, height, format, type, 1… in glReadPixels_enc() local 2937 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glReadPixels_enc() 2951 *(unsigned int *)(ptr) = __size_pixels; ptr += 4; in glReadPixels_enc() 2956 stream->readback(pixels, __size_pixels); in glReadPixels_enc() 2957 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in glReadPixels_enc() 3243 …const unsigned int __size_pixels = ((pixels != NULL) ? glesv2_enc::pixelDataSize(self, width, hei… in glTexImage2D_enc() local 3246 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glTexImage2D_enc() 3265 stream->writeFully(&__size_pixels,4); in glTexImage2D_enc() 3266 if (useChecksum) checksumCalculator->addBuffer(&__size_pixels,4); in glTexImage2D_enc() 3268 stream->writeFully(pixels, __size_pixels); in glTexImage2D_enc() [all …]
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | gl_enc.cpp | 3345 …const unsigned int __size_pixels = glesv1_enc::pixelDataSize(self, width, height, format, type, 1… in glReadPixels_enc() local 3348 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glReadPixels_enc() 3362 *(unsigned int *)(ptr) = __size_pixels; ptr += 4; in glReadPixels_enc() 3367 stream->readback(pixels, __size_pixels); in glReadPixels_enc() 3368 if (useChecksum) checksumCalculator->addBuffer(pixels, __size_pixels); in glReadPixels_enc() 3738 …const unsigned int __size_pixels = ((pixels != NULL) ? glesv1_enc::pixelDataSize(self, width, hei… in glTexImage2D_enc() local 3741 const size_t sizeWithoutChecksum = 8 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + 4 + __size_pixels + 1*4; in glTexImage2D_enc() 3760 stream->writeFully(&__size_pixels,4); in glTexImage2D_enc() 3761 if (useChecksum) checksumCalculator->addBuffer(&__size_pixels,4); in glTexImage2D_enc() 3763 stream->writeFully(pixels, __size_pixels); in glTexImage2D_enc() [all …]
|