Lines Matching refs:gpu

50     GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());  in basic_clear_test()  local
51 gpu->discard(NULL); in basic_clear_test()
61 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo, nullptr, 0); in basic_clear_test()
66 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); in basic_clear_test()
68 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
76 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in basic_clear_test()
78 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
88 gpu->clear(rect, myColor, tex->asRenderTarget()); in basic_clear_test()
90 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test()
104 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in sub_clear_test() local
105 gpu->discard(NULL); in sub_clear_test()
116 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo, nullptr, 0); in sub_clear_test()
121 gpu->clear(fullRect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); in sub_clear_test()
123 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
132 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test()
134 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test()
136 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test()
139 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
147 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in sub_clear_test()
149 gpu->readPixels(tex, 0, 0, width, height, config, (void*)buffer.get(), 0); in sub_clear_test()
163 gpu->clear(rect, subColor1, tex->asRenderTarget()); in sub_clear_test()
165 gpu->clear(rect, subColor2, tex->asRenderTarget()); in sub_clear_test()
167 gpu->clear(rect, subColor3, tex->asRenderTarget()); in sub_clear_test()
169 gpu->clear(rect, subColor4, tex->asRenderTarget()); in sub_clear_test()
171 gpu->readPixels(tex, 0, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
177 gpu->readPixels(tex, subWidth, 0, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
183 gpu->readPixels(tex, 0, subHeight, subWidth, subHeight, config, (void*)subBuffer.get(), 0); in sub_clear_test()
189 gpu->readPixels(tex, subWidth, subHeight, subWidth, subHeight, in sub_clear_test()