Home
last modified time | relevance | path

Searched refs:findByUniqueKey (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/
DGrResourceProvider.h69 template <typename T = GrGpuResource> sk_sp<T> findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() function
169 if (auto buffer = this->findByUniqueKey<GrBuffer>(key)) { in findOrCreatePatternedIndexBuffer()
183 if (auto buffer = this->findByUniqueKey<const GrBuffer>(fQuadIndexBufferKey)) { in refQuadIndexBuffer()
DGrResourceProvider.cpp292 if (auto buffer = this->findByUniqueKey<GrBuffer>(key)) { in findOrMakeStaticBuffer()
425 auto stencil = this->findByUniqueKey<GrStencilAttachment>(sbKey); in attachStencilAttachment()
DGrResourceAllocator.cpp246 sk_sp<GrSurface> surface = fResourceProvider->findByUniqueKey<GrSurface>( in findSurfaceFor()
DGrSurfaceProxy.cpp433 surface = resourceProvider->findByUniqueKey<GrSurface>( in doLazyInstantiation()
DGrProxyProvider.cpp743 invalidGpuResource = fResourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKey()
/external/skqp/tests/
DPromiseImageTest.cpp496 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey1)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
515 REPORTER_ASSERT(reporter, !ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey1)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
542 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
567 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
590 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
619 REPORTER_ASSERT(reporter, !ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey2)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
620 REPORTER_ASSERT(reporter, ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey3)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
665 REPORTER_ASSERT(reporter, !ctx->contextPriv().resourceProvider()->findByUniqueKey<>(texKey3)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
764 auto surf = ctx->contextPriv().resourceProvider()->findByUniqueKey<GrSurface>(key); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
778 auto surf = ctx->contextPriv().resourceProvider()->findByUniqueKey<GrSurface>(key); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrResourceProvider.h66 findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() function
166 if (auto buffer = this->findByUniqueKey<const GrGpuBuffer>(key)) { in findOrCreatePatternedIndexBuffer()
DGrResourceProvider.cpp273 if (auto buffer = this->findByUniqueKey<GrGpuBuffer>(key)) { in findOrMakeStaticBuffer()
395 auto stencil = this->findByUniqueKey<GrStencilAttachment>(sbKey); in attachStencilAttachment()
DGrResourceAllocator.cpp246 sk_sp<GrSurface> surface = fResourceProvider->findByUniqueKey<GrSurface>( in findSurfaceFor()
DGrSurfaceProxy.cpp431 surface = resourceProvider->findByUniqueKey<GrSurface>( in doLazyInstantiation()
DGrProxyProvider.cpp794 invalidGpuResource = resourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKey()
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp61 path = resourceProvider->findByUniqueKey<GrPath>(key); in get_gr_path()
DGrDrawVerticesOp.cpp289 sk_sp<GrBuffer> vertexBuffer = rp->findByUniqueKey<GrBuffer>(vertexKey); in drawNonVolatile()
291 rp->findByUniqueKey<GrBuffer>(indexKey) : in drawNonVolatile()
DGrTessellatingPathRenderer.cpp264 sk_sp<GrBuffer> cachedVertexBuffer(rp->findByUniqueKey<GrBuffer>(key)); in draw()
/external/skia/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp61 path = resourceProvider->findByUniqueKey<GrPath>(key); in get_gr_path()
DGrDrawVerticesOp.cpp347 sk_sp<GrGpuBuffer> vertexBuffer = rp->findByUniqueKey<GrGpuBuffer>(vertexKey); in drawNonVolatile()
349 this->isIndexed() ? rp->findByUniqueKey<GrGpuBuffer>(indexKey) : nullptr; in drawNonVolatile()
DGrTessellatingPathRenderer.cpp265 sk_sp<GrGpuBuffer> cachedVertexBuffer(rp->findByUniqueKey<GrGpuBuffer>(key)); in draw()
/external/skia/tests/
DPromiseImageTest.cpp317 auto surf = ctx->priv().resourceProvider()->findByUniqueKey<GrSurface>(key); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
331 auto surf = ctx->priv().resourceProvider()->findByUniqueKey<GrSurface>(key); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/image/
DSkImage_GpuBase.cpp443 auto surf = resourceProvider->findByUniqueKey<GrSurface>(fLastFulfilledKey); in MakePromiseImageLazyProxy()
491 if (auto surf = resourceProvider->findByUniqueKey<GrSurface>(fLastFulfilledKey)) { in MakePromiseImageLazyProxy()
/external/skia/src/image/
DSkImage_GpuBase.cpp494 if (auto surf = resourceProvider->findByUniqueKey<GrSurface>(key)) { in MakePromiseImageLazyProxy()