Home
last modified time | relevance | path

Searched refs:asRenderTargetProxy (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/tests/
DProxyConversionTest.cpp76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
79 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 REPORTER_ASSERT(reporter, !tProxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 GrRenderTargetProxy* rtProxy = proxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
152 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp154 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
167 proxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
268 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
289 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
315 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DProxyConversionTest.cpp76 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
79 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 GrRenderTargetProxy* rtProxy = sProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
94 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
95 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
107 GrRenderTargetProxy* rtProxy = tProxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 REPORTER_ASSERT(reporter, !tProxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
148 GrRenderTargetProxy* rtProxy = proxy->asRenderTargetProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
152 REPORTER_ASSERT(reporter, tProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp154 REPORTER_ASSERT(reporter, proxy->asRenderTargetProxy()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
167 proxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
235 check_rendertarget(reporter, caps, resourceProvider, sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
287 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
313 sProxy->asRenderTargetProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrTextureContext.cpp44 GrRenderTargetProxy* GrTextureContext::asRenderTargetProxy() { in asRenderTargetProxy() function in GrTextureContext
46 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
52 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
DGrSurfaceProxy.cpp211 if (this->asRenderTargetProxy()) { in assign()
213 if (this->asRenderTargetProxy()->needsStencil()) { in assign()
260 const GrRenderTargetProxy* rtp = this->asRenderTargetProxy(); in computeScratchKey()
456 bool needsStencil = fProxy->asRenderTargetProxy() in doLazyInstantiation()
457 ? fProxy->asRenderTargetProxy()->needsStencil() in doLazyInstantiation()
DGrOpList.cpp180 bool needsStencil = proxy->asRenderTargetProxy() in isFullyInstantiated()
181 ? proxy->asRenderTargetProxy()->needsStencil() in isFullyInstantiated()
DGrRenderTargetOpList.cpp421 fTarget.get()->asRenderTargetProxy(), in onPrepare()
506 fTarget.get()->asRenderTargetProxy(), in onExecute()
563 if (this->isEmpty() || (!fTarget.get()->asRenderTargetProxy()->needsStencil() && !fHasWaitOp)) { in resetForFullscreenClear()
570 return !fTarget.get()->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear()
586 SkASSERT(dst->asRenderTargetProxy() == fTarget.get()); in copySurface()
DGrTextureContext.h38 GrRenderTargetProxy* asRenderTargetProxy() override;
DGrSurfaceContext.h100 virtual GrRenderTargetProxy* asRenderTargetProxy() = 0;
/external/skqp/src/gpu/
DGrTextureContext.cpp48 GrRenderTargetProxy* GrTextureContext::asRenderTargetProxy() { in asRenderTargetProxy() function in GrTextureContext
50 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxy()
56 SkASSERT(!fTextureProxy->asRenderTargetProxy()); in asRenderTargetProxyRef()
DGrSurfaceProxy.cpp214 if (this->asRenderTargetProxy()) { in assign()
216 if (this->asRenderTargetProxy()->needsStencil()) { in assign()
263 const GrRenderTargetProxy* rtp = this->asRenderTargetProxy(); in computeScratchKey()
459 bool needsStencil = fProxy->asRenderTargetProxy() in doLazyInstantiation()
460 ? fProxy->asRenderTargetProxy()->needsStencil() in doLazyInstantiation()
DGrOpList.cpp180 bool needsStencil = proxy->asRenderTargetProxy() in isFullyInstantiated()
181 ? proxy->asRenderTargetProxy()->needsStencil() in isFullyInstantiated()
DGrRenderTargetOpList.cpp419 fTarget.get()->asRenderTargetProxy(), in onPrepare()
504 fTarget.get()->asRenderTargetProxy(), in onExecute()
559 if (this->isEmpty() || !fTarget.get()->asRenderTargetProxy()->needsStencil()) { in resetForFullscreenClear()
566 return !fTarget.get()->asRenderTargetProxy()->wrapsVkSecondaryCB(); in resetForFullscreenClear()
582 SkASSERT(dst->asRenderTargetProxy() == fTarget.get()); in copySurface()
DGrTextureContext.h38 GrRenderTargetProxy* asRenderTargetProxy() override;
DGrSurfaceContext.h100 virtual GrRenderTargetProxy* asRenderTargetProxy() = 0;
DGrDrawingManager.cpp706 if (this->wasAbandoned() || !sProxy->asRenderTargetProxy()) { in makeRenderTargetContext()
717 sk_sp<GrRenderTargetProxy> rtp(sk_ref_sp(sProxy->asRenderTargetProxy())); in makeRenderTargetContext()
741 SkASSERT(!sProxy->asRenderTargetProxy()); in makeTextureContext()
/external/skia/include/private/
DGrRenderTargetProxy.h23 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
24 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
DGrSurfaceProxy.h344 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function
345 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
/external/skqp/include/private/
DGrRenderTargetProxy.h23 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } in asRenderTargetProxy() function
24 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } in asRenderTargetProxy() function
DGrSurfaceProxy.h342 virtual GrRenderTargetProxy* asRenderTargetProxy() { return nullptr; } in asRenderTargetProxy() function
343 virtual const GrRenderTargetProxy* asRenderTargetProxy() const { return nullptr; } in asRenderTargetProxy() function
/external/skqp/src/gpu/mtl/
DGrMtlCaps.mm176 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) {
179 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) {
182 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy()));
183 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy()));
188 this->canCopyAsDraw(dst->config(), SkToBool(dst->asRenderTargetProxy()),
/external/skqp/src/gpu/vk/
DGrVkCaps.cpp180 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface()
189 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface()
198 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface()
199 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm176 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) {
179 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) {
182 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy()));
183 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy()));
188 this->canCopyAsDraw(dst->config(), SkToBool(dst->asRenderTargetProxy()),
/external/skia/src/gpu/vk/
DGrVkCaps.cpp200 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface()
209 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface()
218 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface()
219 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface()

12