OLD | NEW |
---|---|
(Empty) | |
1 | |
2 /* | |
3 * Copyright 2013 Google Inc. | |
4 * | |
5 * Use of this source code is governed by a BSD-style license that can be | |
6 * found in the LICENSE file. | |
7 */ | |
8 #ifndef GrUtils_DEFINED | |
9 #define GrUtils_DEFINED | |
10 | |
11 #if SK_SUPPORT_GPU | |
12 | |
13 class GrContext; | |
14 class SkCanvas; | |
15 | |
16 // Utility code that can be linked to tester applications. | |
17 namespace GrUtils { | |
18 | |
19 GrContext* GetGr(/*very nearly const*/ SkCanvas*); | |
bsalomon
2013/11/19 14:40:47
Having a getGrContext() function on SkCanvas keeps
Kimmo Kinnunen
2013/11/20 07:15:37
Done.
| |
20 | |
21 } | |
22 #endif | |
23 #endif | |
OLD | NEW |