$subj.
Seems like the in-memory storage for the shader cache is in GrShaderCache::store_ - it would be nice to know how much it takes on various device types. I know that it cannot take more than 2MiB/128KiB at load time because of the limits on the disk storage: kDefaultMaxProgramCacheMemoryBytes, kLowEndMaxProgramCacheMemoryBytes.
Just noticed that the store_ seems to be cleared on GpuChannelManager::HandleMemoryPressure(), so maybe it is mostly empty because of that :)
Not sure how to best prioritize and queue this, so adding +fundamentals folks.
Comment 1 by benhenry@google.com
, Jan 11