Home
last modified time | relevance | path

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

/external/skia/tests/
DProxyConversionTest.cpp72 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 …]
DProxyTest.cpp230 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
233 check_surface(reporter, sProxy.get(), origin, kWidthHeight, kWidthHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
261 sk_sp<GrSurfaceProxy> sProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
264 check_surface(reporter, sProxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
268 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
278 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
280 if (!sProxy) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
285 check_surface(reporter, sProxy.get(), origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
289 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skqp/tests/
DProxyConversionTest.cpp72 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 …]
DProxyTest.cpp230 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/
DGrAtlasManager.cpp100 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/skia/src/gpu/text/
DGrAtlasManager.cpp100 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()
112 sk_sp<GrSurfaceContext> sContext(context->priv().makeWrappedSurfaceContext(sk_ref_sp(sProxy))); in save_pixels()
/external/skqp/src/gpu/
DGrDrawingManager.cpp702 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()
/external/skia/src/gpu/
DGrDrawingManager.cpp770 sk_sp<GrSurfaceProxy> sProxy, in makeRenderTargetContext() argument
774 if (this->wasAbandoned() || !sProxy->asRenderTargetProxy()) { in makeRenderTargetContext()
780 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->config(), colorSpace.get())) { in makeRenderTargetContext()
785 sk_sp<GrRenderTargetProxy> renderTargetProxy(sk_ref_sp(sProxy->asRenderTargetProxy())); in makeRenderTargetContext()
794 sk_sp<GrTextureContext> GrDrawingManager::makeTextureContext(sk_sp<GrSurfaceProxy> sProxy, in makeTextureContext() argument
796 if (this->wasAbandoned() || !sProxy->asTextureProxy()) { in makeTextureContext()
802 if (!SkSurface_Gpu::Valid(fContext->priv().caps(), sProxy->config(), colorSpace.get())) { in makeTextureContext()
808 SkASSERT(!sProxy->asRenderTargetProxy()); in makeTextureContext()
810 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy())); in makeTextureContext()