Searched refs:readPM (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | SRGBReadWritePixelsTest.cpp | 130 GrPixmap readPM = GrPixmap::Allocate(dstInfo); in read_and_check_pixels() local 131 memset(readPM.addr(), 0, sizeof(uint32_t)*w*h); in read_and_check_pixels() 133 if (!sContext->readPixels(dContext, readPM, {0, 0})) { in read_and_check_pixels() 141 uint32_t read = static_cast<uint32_t*>(readPM.addr())[j * w + i]; in read_and_check_pixels()
|
D | CopySurfaceTest.cpp | 165 GrPixmap readPM(ii, read.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 166 if (!dstContext->readPixels(dContext, readPM, {0, 0})) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|