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

Side by Side Diff: dm/DMGpuSupport.h

Issue 1338003002: skia: Add ANGLE with GL backend to nanobench/DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove PictureRenderer changes Created 5 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
« no previous file with comments | « dm/DM.cpp ('k') | include/gpu/gl/angle/SkANGLEGLContext.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 struct GrContextOptions {}; 58 struct GrContextOptions {};
59 59
60 class GrContextFactory { 60 class GrContextFactory {
61 public: 61 public:
62 GrContextFactory() {}; 62 GrContextFactory() {};
63 explicit GrContextFactory(const GrContextOptions&) {} 63 explicit GrContextFactory(const GrContextOptions&) {}
64 64
65 typedef int GLContextType; 65 typedef int GLContextType;
66 66
67 static const GLContextType kANGLE_GLContextType = 0, 67 static const GLContextType kANGLE_GLContextType = 0,
68 kANGLE_GL_GLContextType = 0,
68 kCommandBuffer_GLContextType = 0, 69 kCommandBuffer_GLContextType = 0,
69 kDebug_GLContextType = 0, 70 kDebug_GLContextType = 0,
70 kMESA_GLContextType = 0, 71 kMESA_GLContextType = 0,
71 kNVPR_GLContextType = 0, 72 kNVPR_GLContextType = 0,
72 kNative_GLContextType = 0, 73 kNative_GLContextType = 0,
73 kNull_GLContextType = 0; 74 kNull_GLContextType = 0;
74 static const int kGLContextTypeCnt = 1; 75 static const int kGLContextTypeCnt = 1;
75 void destroyContexts() {} 76 void destroyContexts() {}
76 77
77 void abandonContexts() {} 78 void abandonContexts() {}
(...skipping 10 matching lines...) Expand all
88 int, 89 int,
89 bool) { 90 bool) {
90 return nullptr; 91 return nullptr;
91 } 92 }
92 93
93 } // namespace DM 94 } // namespace DM
94 95
95 #endif//SK_SUPPORT_GPU 96 #endif//SK_SUPPORT_GPU
96 97
97 #endif//DMGpuSupport_DEFINED 98 #endif//DMGpuSupport_DEFINED
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | include/gpu/gl/angle/SkANGLEGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698