Home
last modified time | relevance | path

Searched refs:asTextureProxy (Results 1 – 17 of 17) sorted by relevance

/external/skia/tests/
DProxyConversionTest.cpp73 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
86 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
113 REPORTER_ASSERT(reporter, tProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
149 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 REPORTER_ASSERT(reporter, rtProxy->asTextureProxy() == tProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DRenderTargetContextTest.cpp36 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in check_is_wrapped_status()
71 GrTextureProxy* tProxy = rtCtx->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DIntTextureTest.cpp124 if (!dstContext || !dstContext->asTextureProxy()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 GrSurface* copySurface = dstContext->asTextureProxy()->instantiate( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyTest.cpp192 check_texture(reporter, provider, proxy->asTextureProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
273 check_texture(reporter, provider, sProxy->asTextureProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp33 sk_ref_sp(rectProxy->asTextureProxy()), in test_basic_draw_as_src()
DPreFlushCallbackTest.cpp487 return sk_ref_sp(tmp->asTextureProxy());
503 return sk_ref_sp(atlasDest->asTextureProxy()); in pre_create_atlas()
/external/skia/include/private/
DGrTextureProxy.h21 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy() function
22 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy() function
DGrSurfaceProxy.h248 virtual GrTextureProxy* asTextureProxy() { return nullptr; } in asTextureProxy() function
249 virtual const GrTextureProxy* asTextureProxy() const { return nullptr; } in asTextureProxy() function
/external/skia/src/gpu/
DGrTextureContext.h34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy() function
DGrDrawingManager.cpp328 if (this->wasAbandoned() || !sProxy->asTextureProxy()) { in makeTextureContext()
343 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy())); in makeTextureContext()
DGrSurfaceContext.h103 virtual GrTextureProxy* asTextureProxy() = 0;
DGrSWMaskHelper.cpp111 if (!sContext || !sContext->asTextureProxy()) { in toTextureProxy()
DGrRenderTargetContext.h373 GrTextureProxy* asTextureProxy() override;
DGrRenderTargetContext.cpp114 GrTextureProxy* GrRenderTargetContext::asTextureProxy() { in asTextureProxy() function in GrRenderTargetContext
115 return fRenderTargetProxy->asTextureProxy(); in asTextureProxy()
119 return sk_ref_sp(fRenderTargetProxy->asTextureProxy()); in asTextureProxyRef()
DGrContext.cpp610 SkASSERT(proxy->asTextureProxy()); in makeWrappedSurfaceContext()
/external/skia/src/image/
DSkImage_Gpu.cpp359 sk_ref_sp(yProxy->asTextureProxy()), in make_from_yuv_textures_copy()
360 sk_ref_sp(uProxy->asTextureProxy()), in make_from_yuv_textures_copy()
361 sk_ref_sp(vProxy->asTextureProxy()), yuvSizes, colorSpace, nv12)); in make_from_yuv_textures_copy()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp136 if (!sContext || !sContext->asTextureProxy()) { in save_pixels()