Home
last modified time | relevance | path

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

/external/skia/tests/
DRectangleTextureTest.cpp48 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear() argument
49 if (GrRenderTargetContext* rtc = rectContext->asRenderTargetContext()) { in test_clear()
162 sk_sp<GrSurfaceContext> rectContext = context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
164 SkASSERT(rectContext); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
166 test_read_pixels(reporter, rectContext.get(), refPixels, "RectangleTexture-read"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
168 test_copy_to_surface(reporter, context, rectContext.get(), "RectangleTexture-copy-to"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
170 test_write_pixels(reporter, rectContext.get(), true, "RectangleTexture-write"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
172 test_clear(reporter, rectContext.get()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DRectangleTextureTest.cpp48 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear() argument
49 if (GrRenderTargetContext* rtc = rectContext->asRenderTargetContext()) { in test_clear()
162 sk_sp<GrSurfaceContext> rectContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
164 SkASSERT(rectContext); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
166 test_read_pixels(reporter, rectContext.get(), refPixels, "RectangleTexture-read"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
169 rectContext.get(), "RectangleTexture-copy-to"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
171 test_write_pixels(reporter, rectContext.get(), true, "RectangleTexture-write"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
173 test_clear(reporter, rectContext.get()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()