Home | History | Annotate | Download | only in tests

Lines Matching refs:gpu

8 // This is a GPU-backend specific test. It relies on static intializers to work
52 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
62 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo);
67 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget());
69 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0);
77 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
79 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0);
89 gpu->clear(rect, myColor, tex->asRenderTarget());
91 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0);
107 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
118 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo);
123 gpu->clear(fullRect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget());
125 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0);
134 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
136 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
138 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
141 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0);
149 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget());
151 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0);
165 gpu->clear(rect, subColor1, tex->asRenderTarget());
167 gpu->clear(rect, subColor2, tex->asRenderTarget());
169 gpu->clear(rect, subColor3, tex->asRenderTarget());
171 gpu->clear(rect, subColor4, tex->asRenderTarget());
173 gpu->readPixels(tex, 0, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0);
179 gpu->readPixels(tex, subWidth, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0);
185 gpu->readPixels(tex, 0, subHeight, subWidth, subHeight, config, (void*)subBuffer.get(), 0);
191 gpu->readPixels(tex, subWidth, subHeight, subWidth, subHeight,