Home
last modified time | relevance | path

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

/third_party/skia/tests/
DSRGBReadWritePixelsTest.cpp130 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 (!sc->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()
DCopySurfaceTest.cpp163 GrPixmap readPM(ii, read.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
164 if (!dstContext->readPixels(dContext, readPM, {0, 0})) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()