| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "GrTest.h" | 9 #include "GrTest.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 tar->init(this, fGpu); | 31 tar->init(this, fGpu); |
| 32 } | 32 } |
| 33 | 33 |
| 34 /////////////////////////////////////////////////////////////////////////////// | 34 /////////////////////////////////////////////////////////////////////////////// |
| 35 | 35 |
| 36 void GrContext::setMaxTextureSizeOverride(int maxTextureSizeOverride) { | 36 void GrContext::setMaxTextureSizeOverride(int maxTextureSizeOverride) { |
| 37 fMaxTextureSizeOverride = maxTextureSizeOverride; | 37 fMaxTextureSizeOverride = maxTextureSizeOverride; |
| 38 } | 38 } |
| 39 | 39 |
| 40 void GrContext::purgeAllUnlockedResources() { | 40 void GrContext::purgeAllUnlockedResources() { |
| 41 fTextureCache->purgeAllUnlocked(); | 41 fResourceCache->purgeAllUnlocked(); |
| 42 } | 42 } |
| OLD | NEW |