Searched refs:surfaceToRead (Results 1 – 1 of 1) sorted by relevance
454 sk_sp<GrSurface> surfaceToRead(SkRef(src)); in readSurfacePixels() local501 surfaceToRead.reset(tempRTC->asTexture().release()); in readSurfacePixels()509 if (!surfaceToRead) { in readSurfacePixels()518 this->flushSurfaceWrites(surfaceToRead.get()); in readSurfacePixels()521 if (!fGpu->readPixels(surfaceToRead.get(), left, top, width, height, configToRead, buffer, in readSurfacePixels()