Lines Matching refs:gpu
13 #include "include/gpu/GrDirectContext.h"
14 #include "src/gpu/GrDirectContextPriv.h"
15 #include "src/gpu/GrGpu.h"
16 #include "src/gpu/GrImageInfo.h"
17 #include "src/gpu/GrResourceProvider.h"
18 #include "src/gpu/GrSurfaceProxy.h"
19 #include "src/gpu/GrTexture.h"
20 #include "src/gpu/SkGr.h"
23 #include "tools/gpu/GrContextFactory.h"
72 auto* gpu = context->priv().getGpu();
85 if (!gpu->readPixels(texture,
99 return gpu->readPixels(texture,
123 GrGpu* gpu = dContext->priv().getGpu();
185 result = gpu->transferPixelsTo(tex.get(),
257 result = gpu->transferPixelsTo(tex.get(),
291 GrGpu* gpu = context->priv().getGpu();
365 gpu->stats()->reset();
369 bool result = gpu->transferPixelsFrom(tex.get(),
382 gpu->submitToGpu(true);
415 result = gpu->transferPixelsFrom(
429 gpu->submitToGpu(true);
451 REPORTER_ASSERT(reporter, gpu->stats()->transfersFromSurface() == expectedTransferCnt);