/external/skia/tests/ |
D | ProxyConversionTest.cpp | 68 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 70 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 72 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 76 clean_up_wrapped_rt(gpu, std::move(sProxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 82 sk_sp<GrSurfaceProxy> sProxy(make_offscreen_rt(proxyProvider, kSize, kColorType)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 83 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 85 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 96 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 98 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 100 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ProxyTest.cpp | 230 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 232 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 234 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 258 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 260 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 261 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 280 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapRenderableBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 283 if (!sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 288 check_surface(reporter, sProxy.get(), kWidthHeight, kWidthHeight, SkBudgeted::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 289 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/skqp/tests/ |
D | ProxyConversionTest.cpp | 72 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 74 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 80 clean_up_wrapped_rt(gpu, std::move(sProxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 86 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 88 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 90 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 101 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 103 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ProxyTest.cpp | 230 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 232 check_surface(reporter, sProxy.get(), origin, kWidthHeight, kWidthHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 235 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 260 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 262 check_surface(reporter, sProxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 266 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 276 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 278 if (!sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 283 check_surface(reporter, sProxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 287 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/external/skqp/src/gpu/text/ |
D | GrAtlasManager.cpp | 100 static bool save_pixels(GrContext* context, GrSurfaceProxy* sProxy, const char* filename) { in save_pixels() argument 101 if (!sProxy) { in save_pixels() 105 SkImageInfo ii = SkImageInfo::Make(sProxy->width(), sProxy->height(), in save_pixels() 113 sk_ref_sp(sProxy))); in save_pixels()
|
/external/skqp/src/gpu/ |
D | GrDrawingManager.cpp | 702 sk_sp<GrSurfaceProxy> sProxy, in makeRenderTargetContext() argument 706 if (this->wasAbandoned() || !sProxy->asRenderTargetProxy()) { in makeRenderTargetContext() 712 if (!SkSurface_Gpu::Valid(fContext->contextPriv().caps(), sProxy->config(), colorSpace.get())) { in makeRenderTargetContext() 717 sk_sp<GrRenderTargetProxy> rtp(sk_ref_sp(sProxy->asRenderTargetProxy())); in makeRenderTargetContext() 727 sk_sp<GrTextureContext> GrDrawingManager::makeTextureContext(sk_sp<GrSurfaceProxy> sProxy, in makeTextureContext() argument 729 if (this->wasAbandoned() || !sProxy->asTextureProxy()) { in makeTextureContext() 735 if (!SkSurface_Gpu::Valid(fContext->contextPriv().caps(), sProxy->config(), colorSpace.get())) { in makeTextureContext() 741 SkASSERT(!sProxy->asRenderTargetProxy()); in makeTextureContext() 743 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy())); in makeTextureContext()
|