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

Side by Side Diff: dm/DMGpuSupport.h

Issue 1158963002: Add caps overrides to GMs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 5 years, 6 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.h » ('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 {};
59
58 class GrContextFactory { 60 class GrContextFactory {
59 public: 61 public:
62 GrContextFactory() {};
63 explicit GrContextFactory(const GrContextOptions&) {}
64
60 typedef int GLContextType; 65 typedef int GLContextType;
61 66
62 static const GLContextType kANGLE_GLContextType = 0, 67 static const GLContextType kANGLE_GLContextType = 0,
63 kDebug_GLContextType = 0, 68 kDebug_GLContextType = 0,
64 kMESA_GLContextType = 0, 69 kMESA_GLContextType = 0,
65 kNVPR_GLContextType = 0, 70 kNVPR_GLContextType = 0,
66 kNative_GLContextType = 0, 71 kNative_GLContextType = 0,
67 kNull_GLContextType = 0; 72 kNull_GLContextType = 0;
68 static const int kGLContextTypeCnt = 1; 73 static const int kGLContextTypeCnt = 1;
69 void destroyContexts() {} 74 void destroyContexts() {}
(...skipping 12 matching lines...) Expand all
82 int, 87 int,
83 bool) { 88 bool) {
84 return NULL; 89 return NULL;
85 } 90 }
86 91
87 } // namespace DM 92 } // namespace DM
88 93
89 #endif//SK_SUPPORT_GPU 94 #endif//SK_SUPPORT_GPU
90 95
91 #endif//DMGpuSupport_DEFINED 96 #endif//DMGpuSupport_DEFINED
OLDNEW
« no previous file with comments | « no previous file | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698