CPU cache limit in case of SK_USE_DISCARDABLE_SCALEDIMAGECACHE

15 views
Skip to first unread message

syawin

unread,
Jun 15, 2021, 6:58:16 AM6/15/21
to skia-discuss
Hello There,

I like to get a picture of how cpu caching works in cases of  "SK_USE_DISCARDABLE_SCALEDIMAGECACHE" .

when SK_USE_DISCARDABLE_SCALEDIMAGECACHE  set and no explicit memory pool created, I see the memory limit is 0 ( from SkGraphics::GetResourceCacheTotalByteLimit()).
with this state, On using SkImage, can observe cache is been used. (via SkGraphics::GetResourceCacheTotalBytesUsed())

Like to know, How this cache is handled, it's limit & lifetime.

-syawin
Reply all
Reply to author
Forward
0 new messages