Home
last modified time | relevance | path

Searched refs:resourcePriv (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp139 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in insertResource()
149 if (resource->resourcePriv().getScratchKey().isValid()) { in insertResource()
151 fScratchMap.insert(resource->resourcePriv().getScratchKey(), resource); in insertResource()
170 if (SkBudgeted::kYes == resource->resourcePriv().isBudgeted()) { in removeResource()
177 if (resource->resourcePriv().getScratchKey().isValid()) { in removeResource()
178 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in removeResource()
282 SkASSERT(resource->resourcePriv().getScratchKey().isValid()); in willRemoveScratchKey()
283 fScratchMap.remove(resource->resourcePriv().getScratchKey(), resource); in willRemoveScratchKey()
312 if (!old->resourcePriv().getScratchKey().isValid() && old->isPurgeable()) { in changeUniqueKey()
378 if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { in notifyCntReachedZero()
[all …]
DGrGpuResourcePriv.h80 inline GrGpuResource::ResourcePriv GrGpuResource::resourcePriv() { return ResourcePriv(this); } in resourcePriv() function
82 inline const GrGpuResource::ResourcePriv GrGpuResource::resourcePriv() const { in resourcePriv() function
DGrTextureProvider.cpp50 texture->resourcePriv().makeUnbudgeted(); in createTexture()
146 resource->resourcePriv().setUniqueKey(key); in assignUniqueKeyToResource()
DGrGpu.cpp150 tex->resourcePriv().removeScratchKey(); in createTexture()
217 vb->resourcePriv().removeScratchKey(); in createVertexBuffer()
226 ib->resourcePriv().removeScratchKey(); in createIndexBuffer()
DGrResourceCache.h223 if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { in update()
282 return r.resourcePriv().getScratchKey(); in GetKey()
DGrGpuResourceCacheAccess.h30 SkBudgeted::kYes == fResource->resourcePriv().isBudgeted(); in isScratch()
DGrLayerAtlas.cpp71 fTexture->resourcePriv().setUniqueKey(get_layer_atlas_key()); in createBackingTexture()
DGrGpuResource.cpp122 if (SkBudgeted::kNo == this->resourcePriv().isBudgeted()) { in setUniqueKey()
DGrImageIDTextureAdjuster.cpp96 tex->resourcePriv().setUniqueKey(fOriginalKey); in refOriginalTexture()
DGrResourceProvider.cpp209 stencil->resourcePriv().setUniqueKey(sbKey); in attachStencilAttachment()
DGrClipMaskManager.cpp607 texture->resourcePriv().setUniqueKey(key); in createCachedMask()
688 texture->resourcePriv().removeUniqueKey(); in createAlphaClipMask()
DGrTextureParamsAdjuster.cpp152 copy->resourcePriv().setUniqueKey(key); in refCopy()
DSkGpuDevice.cpp324 SkBudgeted budgeted = fRenderTarget->resourcePriv().isBudgeted(); in replaceRenderTarget()
/external/skia/tests/
DResourceCacheTest.cpp423 unique->resourcePriv().setUniqueKey(uniqueKey); in test_budgeting()
433 wrapped->resourcePriv().setUniqueKey(uniqueKey2); in test_budgeting()
517 unique->resourcePriv().setUniqueKey(uniqueKey); in test_unbudgeted()
571 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch()
573 REPORTER_ASSERT(reporter, SkBudgeted::kNo == resource->resourcePriv().isBudgeted()); in test_unbudgeted_to_scratch()
588 REPORTER_ASSERT(reporter, resource->resourcePriv().getScratchKey() == key); in test_unbudgeted_to_scratch()
590 REPORTER_ASSERT(reporter, SkBudgeted::kYes == resource->resourcePriv().isBudgeted()); in test_unbudgeted_to_scratch()
595 resource->resourcePriv().makeUnbudgeted(); in test_unbudgeted_to_scratch()
598 resource->resourcePriv().removeScratchKey(); in test_unbudgeted_to_scratch()
603 REPORTER_ASSERT(reporter, !resource->resourcePriv().getScratchKey().isValid()); in test_unbudgeted_to_scratch()
[all …]
DSurfaceTest.cpp703 return ((SkSurface_Gpu*)surf)->getDevice()->accessRenderTarget()->resourcePriv().isBudgeted(); in is_budgeted()
707 return ((SkImage_Gpu*)image)->getTexture()->resourcePriv().isBudgeted(); in is_budgeted()
/external/skia/src/image/
DSkImage_Gpu.h32 tex->resourcePriv().makeBudgeted(); in applyBudgetDecision()
34 tex->resourcePriv().makeUnbudgeted(); in applyBudgetDecision()
/external/skia/include/gpu/
DGrGpuResource.h243 inline ResourcePriv resourcePriv();
244 inline const ResourcePriv resourcePriv() const;
/external/skia/bench/
DGrResourceCacheBench.cpp49 resource->resourcePriv().setUniqueKey(key); in populate_cache()
/external/skia/src/core/
DSkImageCacherator.cpp227 tex->resourcePriv().setUniqueKey(key); in set_key_and_return()