commit-bot@chromium.org | 78a1078 | 2013-08-21 19:27:48 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2013 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef GrTest_DEFINED |
| 9 | #define GrTest_DEFINED |
| 10 | |
| 11 | #include "GrContext.h" |
commit-bot@chromium.org | 78a1078 | 2013-08-21 19:27:48 +0000 | [diff] [blame] | 12 | |
joshualitt | 7f9c9eb | 2015-08-21 11:08:00 -0700 | [diff] [blame] | 13 | namespace GrTest { |
| 14 | /** |
| 15 | * Forces the GrContext to use a small atlas which only has room for one plot and will thus |
| 16 | * constantly be evicting entries |
| 17 | */ |
| 18 | void SetupAlwaysEvictAtlas(GrContext*); |
| 19 | }; |
| 20 | |
commit-bot@chromium.org | 78a1078 | 2013-08-21 19:27:48 +0000 | [diff] [blame] | 21 | #endif |