| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 | 8 |
| 10 #include "GrResourceCache.h" | 9 #include "GrResourceCache.h" |
| 11 #include "GrGpuResourceCacheAccess.h" | 10 #include "GrGpuResourceCacheAccess.h" |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 return true; | 732 return true; |
| 734 } | 733 } |
| 735 if (index < fNonpurgeableResources.count() && fNonpurgeableResources[index]
== resource) { | 734 if (index < fNonpurgeableResources.count() && fNonpurgeableResources[index]
== resource) { |
| 736 return true; | 735 return true; |
| 737 } | 736 } |
| 738 SkDEBUGFAIL("Resource index should be -1 or the resource should be in the ca
che."); | 737 SkDEBUGFAIL("Resource index should be -1 or the resource should be in the ca
che."); |
| 739 return false; | 738 return false; |
| 740 } | 739 } |
| 741 | 740 |
| 742 #endif | 741 #endif |
| OLD | NEW |