Searched refs:resourcePriv (Results 1 – 19 of 19) sorted by relevance
139 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 …]
80 inline GrGpuResource::ResourcePriv GrGpuResource::resourcePriv() { return ResourcePriv(this); } in resourcePriv() function82 inline const GrGpuResource::ResourcePriv GrGpuResource::resourcePriv() const { in resourcePriv() function
50 texture->resourcePriv().makeUnbudgeted(); in createTexture()146 resource->resourcePriv().setUniqueKey(key); in assignUniqueKeyToResource()
150 tex->resourcePriv().removeScratchKey(); in createTexture()217 vb->resourcePriv().removeScratchKey(); in createVertexBuffer()226 ib->resourcePriv().removeScratchKey(); in createIndexBuffer()
223 if (SkBudgeted::kNo == resource->resourcePriv().isBudgeted()) { in update()282 return r.resourcePriv().getScratchKey(); in GetKey()
30 SkBudgeted::kYes == fResource->resourcePriv().isBudgeted(); in isScratch()
71 fTexture->resourcePriv().setUniqueKey(get_layer_atlas_key()); in createBackingTexture()
122 if (SkBudgeted::kNo == this->resourcePriv().isBudgeted()) { in setUniqueKey()
96 tex->resourcePriv().setUniqueKey(fOriginalKey); in refOriginalTexture()
209 stencil->resourcePriv().setUniqueKey(sbKey); in attachStencilAttachment()
607 texture->resourcePriv().setUniqueKey(key); in createCachedMask()688 texture->resourcePriv().removeUniqueKey(); in createAlphaClipMask()
152 copy->resourcePriv().setUniqueKey(key); in refCopy()
324 SkBudgeted budgeted = fRenderTarget->resourcePriv().isBudgeted(); in replaceRenderTarget()
423 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 …]
703 return ((SkSurface_Gpu*)surf)->getDevice()->accessRenderTarget()->resourcePriv().isBudgeted(); in is_budgeted()707 return ((SkImage_Gpu*)image)->getTexture()->resourcePriv().isBudgeted(); in is_budgeted()
32 tex->resourcePriv().makeBudgeted(); in applyBudgetDecision()34 tex->resourcePriv().makeUnbudgeted(); in applyBudgetDecision()
243 inline ResourcePriv resourcePriv();244 inline const ResourcePriv resourcePriv() const;
49 resource->resourcePriv().setUniqueKey(key); in populate_cache()
227 tex->resourcePriv().setUniqueKey(key); in set_key_and_return()