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

Side by Side Diff: dm/DMGpuSupport.h

Issue 1421853002: Add immediate mode option for gpu configs in dm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add assert Created 5 years, 2 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
« no previous file with comments | « no previous file | dm/DMSrcSink.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 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef DMGpuSupport_DEFINED 8 #ifndef DMGpuSupport_DEFINED
9 #define DMGpuSupport_DEFINED 9 #define DMGpuSupport_DEFINED
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 kGLES_GrGLStandard 48 kGLES_GrGLStandard
49 }; 49 };
50 static const int kGrGLStandardCnt = 3; 50 static const int kGrGLStandardCnt = 3;
51 51
52 class GrContext { 52 class GrContext {
53 public: 53 public:
54 void dumpCacheStats(SkString*) const {} 54 void dumpCacheStats(SkString*) const {}
55 void dumpGpuStats(SkString*) const {} 55 void dumpGpuStats(SkString*) const {}
56 }; 56 };
57 57
58 struct GrContextOptions {}; 58 struct GrContextOptions {
59 bool fImmediateMode;
60 };
59 61
60 class GrContextFactory { 62 class GrContextFactory {
61 public: 63 public:
62 GrContextFactory() {}; 64 GrContextFactory() {};
63 explicit GrContextFactory(const GrContextOptions&) {} 65 explicit GrContextFactory(const GrContextOptions&) {}
64 66
65 typedef int GLContextType; 67 typedef int GLContextType;
66 68
67 static const GLContextType kANGLE_GLContextType = 0, 69 static const GLContextType kANGLE_GLContextType = 0,
68 kANGLE_GL_GLContextType = 0, 70 kANGLE_GL_GLContextType = 0,
(...skipping 20 matching lines...) Expand all
89 int, 91 int,
90 bool) { 92 bool) {
91 return nullptr; 93 return nullptr;
92 } 94 }
93 95
94 } // namespace DM 96 } // namespace DM
95 97
96 #endif//SK_SUPPORT_GPU 98 #endif//SK_SUPPORT_GPU
97 99
98 #endif//DMGpuSupport_DEFINED 100 #endif//DMGpuSupport_DEFINED
OLDNEW
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698