OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
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 | 9 |
10 #ifndef SkExample_DEFINED | 10 #ifndef SkExample_DEFINED |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 private: | 63 private: |
64 bool findNextMatch(); // Set example to the first one that matches FLAGS_ma
tch. | 64 bool findNextMatch(); // Set example to the first one that matches FLAGS_ma
tch. |
65 void setupRenderTarget(); | 65 void setupRenderTarget(); |
66 bool onHandleChar(SkUnichar unichar) SK_OVERRIDE; | 66 bool onHandleChar(SkUnichar unichar) SK_OVERRIDE; |
67 | 67 |
68 DeviceType fType; | 68 DeviceType fType; |
69 | 69 |
70 SkExample* fCurrExample; | 70 SkExample* fCurrExample; |
71 const SkExample::Registry* fRegistry; | 71 const SkExample::Registry* fRegistry; |
72 SkTDArray<const char*> fMatchStrs; | |
73 GrContext* fContext; | 72 GrContext* fContext; |
74 GrRenderTarget* fRenderTarget; | 73 GrRenderTarget* fRenderTarget; |
75 AttachmentInfo fAttachmentInfo; | 74 AttachmentInfo fAttachmentInfo; |
76 const GrGLInterface* fInterface; | 75 const GrGLInterface* fInterface; |
77 | 76 |
78 typedef SkOSWindow INHERITED; | 77 typedef SkOSWindow INHERITED; |
79 }; | 78 }; |
80 | 79 |
81 #endif | 80 #endif |
OLD | NEW |