Searched refs:findByUniqueKey (Results 1 – 18 of 18) sorted by relevance
69 template <typename T = GrGpuResource> sk_sp<T> findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() function169 if (auto buffer = this->findByUniqueKey<GrBuffer>(key)) { in findOrCreatePatternedIndexBuffer()183 if (auto buffer = this->findByUniqueKey<const GrBuffer>(fQuadIndexBufferKey)) { in refQuadIndexBuffer()
292 if (auto buffer = this->findByUniqueKey<GrBuffer>(key)) { in findOrMakeStaticBuffer()425 auto stencil = this->findByUniqueKey<GrStencilAttachment>(sbKey); in attachStencilAttachment()
246 sk_sp<GrSurface> surface = fResourceProvider->findByUniqueKey<GrSurface>( in findSurfaceFor()
433 surface = resourceProvider->findByUniqueKey<GrSurface>( in doLazyInstantiation()
743 invalidGpuResource = fResourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKey()
496 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()
50 findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() function211 if (auto buffer = this->findByUniqueKey<const GrGpuBuffer>(key)) { in findOrCreatePatternedIndexBuffer()
185 auto surf = resourceProvider->findByUniqueKey<GrSurface>( in onGenerateTexture()
357 if (auto buffer = this->findByUniqueKey<GrGpuBuffer>(key)) { in findOrMakeStaticBuffer()534 auto stencil = this->findByUniqueKey<GrAttachment>(sbKey); in attachStencilAttachment()
414 surface = resourceProvider->findByUniqueKey<GrSurface>(uniqueKey); in doLazyInstantiation()
123 fExistingSurface = provider->findByUniqueKey<GrSurface>(this->uniqueKey()); in Register()
846 invalidGpuResource = resourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKeyImpl()
61 path = resourceProvider->findByUniqueKey<GrPath>(key); in get_gr_path()
289 sk_sp<GrBuffer> vertexBuffer = rp->findByUniqueKey<GrBuffer>(vertexKey); in drawNonVolatile()291 rp->findByUniqueKey<GrBuffer>(indexKey) : in drawNonVolatile()
264 sk_sp<GrBuffer> cachedVertexBuffer(rp->findByUniqueKey<GrBuffer>(key)); in draw()
312 if (auto buffer = resourceProvider->findByUniqueKey<GrGpuBuffer>(gMiddleOutIndexBufferKey)) { in FindOrMakeMiddleOutIndexBuffer()
443 auto surf = resourceProvider->findByUniqueKey<GrSurface>(fLastFulfilledKey); in MakePromiseImageLazyProxy()491 if (auto surf = resourceProvider->findByUniqueKey<GrSurface>(fLastFulfilledKey)) { in MakePromiseImageLazyProxy()
266 sk_sp<GrSurface> surf = resourceProvider->findByUniqueKey<GrSurface>(key); in checkView()333 sk_sp<GrGpuBuffer> buffer = resourceProvider->findByUniqueKey<GrGpuBuffer>(key); in checkVert()