Home
last modified time | relevance | path

Searched refs:pLines2 (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Shell/API/KEGL/
DPVRShellAPI.cpp753 unsigned char *pLines2; in ApiScreenCaptureBuffer() local
758 pLines2 = (unsigned char *)calloc(4 * Width * Height, sizeof(unsigned char)); in ApiScreenCaptureBuffer()
759 if (!pLines2) return false; in ApiScreenCaptureBuffer()
763 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, pLines2); in ApiScreenCaptureBuffer()
774 pBuf[i] = pLines2[j+2]; in ApiScreenCaptureBuffer()
775 pBuf[i+1] = pLines2[j+1]; in ApiScreenCaptureBuffer()
776 pBuf[i+2] = pLines2[j]; in ApiScreenCaptureBuffer()
780 free(pLines2); in ApiScreenCaptureBuffer()