Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: experimental/SkiaExamples/SkExample.h

Issue 23708009: Add ShouldSkip variant that can read a --match flag directly. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: reupload Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | experimental/SkiaExamples/SkExample.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | experimental/SkiaExamples/SkExample.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698