Lines Matching refs:this
4 * Use of this source code is governed by a BSD-style license that can be
21 // allows this sharing.
30 // add a place holder view and then queue up the draw calls to complete it. In this way the
33 // The invariants for this cache differ a bit from those of the proxy and resource caches.
34 // For this cache:
36 // only this cache knows the unique key - neither the proxy nor backing resource should
38 // if a backing resource resides in the resource cache then there should be an entry in this
40 // an entry in this cache, however, doesn't guarantee that there is a corresponding entry in
47 // all the refs held in this cache to be dropped prior to clearing out the resource cache.
50 // to purge the requested amount of resources fails, uniquely held resources in this cache
51 // will be dropped in LRU to MRU order until the cache is under budget. Note that this
52 // prioritizes the survival of resources in this cache over those just in the resource cache.
54 // For the 'scratchResourcesOnly' variant of GrContext::purgeUnlockedResources, this cache
57 // back under budget). In the non-scratch-only case, all uniquely held resources in this cache
61 // reach the budget, uniquely held resources in this cache will be released in LRU to MRU order.
64 // w/in 'msNotUsed' will be released from this cache prior to the resource cache being cleaned.
204 this->makeEmpty();
318 // The head of this list is the MRU
321 // TODO: empirically determine this from the skps