DescriptionThis CL starts the process of moving locking out of the Resource Cache. It isn't complete but this CL alone should be plenty to consider. It also removes GrResourceCache::attach (which was no longer used).
It originally also removed GrResourceCache::LockType (which was only used for stencil buffer and isn't compatible with where we are going) but naively removing it caused huge differences in the cache usage.
Patch Set 1 #Patch Set 2 : Removed unneeded purge parameter to unlock #Patch Set 3 : Reinstated LockType #
Total comments: 6
Patch Set 4 : removed \n #
MessagesTotal messages: 3
|