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