Home
last modified time | relevance | path

Searched refs:sProxy (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/tests/
DProxyConversionTest.cpp68 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 …]
DProxyTest.cpp230 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 …]
/third_party/flutter/skia/tests/
DProxyConversionTest.cpp70 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_rt(proxyProvider, gpu, reporter, kSize, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
72 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
74 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
78 clean_up_wrapped_rt(gpu, std::move(sProxy)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
84 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
86 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
88 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
99 sk_sp<GrSurfaceProxy> sProxy(make_texture(proxyProvider, kSize, kColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
101 if (sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
103 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp241 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
244 check_surface(reporter, sProxy.get(), origin, kWidthHeight, kWidthHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
247 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
270 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
273 check_surface(reporter, sProxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
277 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
290 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
292 if (!sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
297 check_surface(reporter, sProxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/flutter/skia/src/gpu/text/
DGrAtlasManager.cpp117 static bool save_pixels(GrContext* context, GrSurfaceProxy* sProxy, GrColorType colorType, in save_pixels() argument
119 if (!sProxy) { in save_pixels()
123 SkImageInfo ii = SkImageInfo::Make(sProxy->width(), sProxy->height(), in save_pixels()
131 sk_ref_sp(sProxy), colorType, kUnknown_SkAlphaType)); in save_pixels()
/third_party/flutter/skia/src/gpu/
DGrDrawingManager.cpp768 sk_sp<GrSurfaceProxy> sProxy, in makeRenderTargetContext() argument
773 if (this->wasAbandoned() || !sProxy->asRenderTargetProxy()) { in makeRenderTargetContext()
779 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->backendFormat())) { in makeRenderTargetContext()
784 sk_sp<GrRenderTargetProxy> renderTargetProxy(sk_ref_sp(sProxy->asRenderTargetProxy())); in makeRenderTargetContext()
794 sk_sp<GrTextureContext> GrDrawingManager::makeTextureContext(sk_sp<GrSurfaceProxy> sProxy, in makeTextureContext() argument
798 if (this->wasAbandoned() || !sProxy->asTextureProxy()) { in makeTextureContext()
804 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->backendFormat())) { in makeTextureContext()
810 SkASSERT(!sProxy->asRenderTargetProxy()); in makeTextureContext()
812 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy())); in makeTextureContext()