9bc76d96f9
kUnbudgetedCacheable now means that the resource is never purged until its unique key is removed. This fixes an issue where a cached texture for a promise image might get purged by cache pressure. This in turn could cause Skia to call the promise image's Fulfill proc multiple times with no intervening Release calls. The balancing Release calls would occur, but the policy is that each Fulfill should be balanced by Release *before* another Fulfill. Update/add unit tests. Bug: chromium:922851 Change-Id: I6411e413b3104721ca4bb6e7f07b3b73d14cbcf9 Reviewed-on: https://skia-review.googlesource.com/c/186361 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> |
||
---|---|---|
.. | ||
gl | ||
mock | ||
mtl | ||
vk | ||
GrBackendDrawableInfo.h | ||
GrBackendSemaphore.h | ||
GrBackendSurface.h | ||
GrBlend.h | ||
GrConfig.h | ||
GrContext.h | ||
GrContextOptions.h | ||
GrDriverBugWorkarounds.h | ||
GrDriverBugWorkaroundsAutogen.h | ||
GrGpuResource.h | ||
GrRenderTarget.h | ||
GrSamplerState.h | ||
GrSurface.h | ||
GrTexture.h | ||
GrTypes.h |