Searched refs:surfaceContext (Results 1 – 6 of 6) sorted by relevance
/external/skia/tests/ |
D | EGLImageTest.cpp | 160 sk_sp<GrTextureContext> surfaceContext = context0->priv().makeBackendTextureContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 163 if (!surfaceContext) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 169 GrTextureProxy* proxy = surfaceContext->asTextureProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 189 test_read_pixels(reporter, surfaceContext.get(), pixels.get(), "EGLImageTest-read"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 192 test_write_pixels(reporter, surfaceContext.get(), false, "EGLImageTest-write"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 196 test_copy_from_surface(reporter, context0, surfaceContext->asSurfaceProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | SRGBReadWritePixelsTest.cpp | 210 auto surfaceContext = context->priv().makeDeferredSurfaceContext( in make_surface_context() local 213 if (!surfaceContext) { in make_surface_context() 216 return surfaceContext; in make_surface_context() 222 auto surfaceContext = make_surface_context(contextEncoding, context, reporter); in test_write_read() local 223 if (!surfaceContext) { in test_write_read() 229 if (!surfaceContext->writePixels(writeII, data.get(), 0, 0, 0)) { in test_write_read() 240 read_and_check_pixels(reporter, surfaceContext.get(), data.get(), readII, check, error, in test_write_read()
|
/external/skqp/tests/ |
D | EGLImageTest.cpp | 160 sk_sp<GrTextureContext> surfaceContext = context0->contextPriv().makeBackendTextureContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 163 if (!surfaceContext) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 169 GrTextureProxy* proxy = surfaceContext->asTextureProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 189 test_read_pixels(reporter, surfaceContext.get(), pixels.get(), "EGLImageTest-read"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 192 test_write_pixels(reporter, surfaceContext.get(), false, "EGLImageTest-write"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 196 test_copy_from_surface(reporter, context0, surfaceContext->asSurfaceProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | SRGBReadWritePixelsTest.cpp | 210 auto surfaceContext = context->contextPriv().makeDeferredSurfaceContext( in make_surface_context() local 213 if (!surfaceContext) { in make_surface_context() 216 return surfaceContext; in make_surface_context() 222 auto surfaceContext = make_surface_context(contextEncoding, context, reporter); in test_write_read() local 223 if (!surfaceContext) { in test_write_read() 229 if (!surfaceContext->writePixels(writeII, data.get(), 0, 0, 0)) { in test_write_read() 240 read_and_check_pixels(reporter, surfaceContext.get(), data.get(), readII, check, error, in test_write_read()
|
/external/skia/src/gpu/ |
D | GrSurfaceContextPriv.h | 21 explicit GrSurfaceContextPriv(GrSurfaceContext* surfaceContext) in GrSurfaceContextPriv() argument 22 : fSurfaceContext(surfaceContext) { in GrSurfaceContextPriv()
|
/external/skqp/src/gpu/ |
D | GrSurfaceContextPriv.h | 21 explicit GrSurfaceContextPriv(GrSurfaceContext* surfaceContext) in GrSurfaceContextPriv() argument 22 : fSurfaceContext(surfaceContext) { in GrSurfaceContextPriv()
|