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 #ifndef GrTest_DEFINED | 9 #ifndef GrTest_DEFINED |
10 #define GrTest_DEFINED | 10 #define GrTest_DEFINED |
(...skipping 23 matching lines...) Expand all Loading... |
34 GrDrawTarget* target() { return fDrawTarget.get(); } | 34 GrDrawTarget* target() { return fDrawTarget.get(); } |
35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider()
; } | 35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider()
; } |
36 | 36 |
37 private: | 37 private: |
38 SkAutoTUnref<GrContext> fContext; | 38 SkAutoTUnref<GrContext> fContext; |
39 SkAutoTUnref<GrDrawTarget> fDrawTarget; | 39 SkAutoTUnref<GrDrawTarget> fDrawTarget; |
40 SkAutoTUnref<GrRenderTarget> fRenderTarget; | 40 SkAutoTUnref<GrRenderTarget> fRenderTarget; |
41 }; | 41 }; |
42 | 42 |
43 #endif | 43 #endif |
OLD | NEW |