Home
last modified time | relevance | path

Searched refs:findByUniqueKey (Results 1 – 18 of 18) 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.h50 findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() function
211 if (auto buffer = this->findByUniqueKey<const GrGpuBuffer>(key)) { in findOrCreatePatternedIndexBuffer()
DGrBackendTextureImageGenerator.cpp185 auto surf = resourceProvider->findByUniqueKey<GrSurface>( in onGenerateTexture()
DGrResourceProvider.cpp357 if (auto buffer = this->findByUniqueKey<GrGpuBuffer>(key)) { in findOrMakeStaticBuffer()
534 auto stencil = this->findByUniqueKey<GrAttachment>(sbKey); in attachStencilAttachment()
DGrSurfaceProxy.cpp414 surface = resourceProvider->findByUniqueKey<GrSurface>(uniqueKey); in doLazyInstantiation()
DGrResourceAllocator.cpp123 fExistingSurface = provider->findByUniqueKey<GrSurface>(this->uniqueKey()); in Register()
DGrProxyProvider.cpp846 invalidGpuResource = resourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKeyImpl()
/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/tessellate/
DGrStencilPathShader.cpp312 if (auto buffer = resourceProvider->findByUniqueKey<GrGpuBuffer>(gMiddleOutIndexBufferKey)) { in FindOrMakeMiddleOutIndexBuffer()
/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/tests/
DGrThreadSafeCacheTest.cpp266 sk_sp<GrSurface> surf = resourceProvider->findByUniqueKey<GrSurface>(key); in checkView()
333 sk_sp<GrGpuBuffer> buffer = resourceProvider->findByUniqueKey<GrGpuBuffer>(key); in checkVert()