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

Side by Side Diff: dm/DMGpuSupport.h

Issue 1684413003: Implement support for using GL ES 3.0 with command buffer (Closed) Base URL: https://skia.googlesource.com/skia.git@no-texture-rectangle-gles
Patch Set: comment wording Created 4 years, 9 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/command_buffer/SkCommandBufferGLContext.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 class GrContextFactory { 62 class GrContextFactory {
63 public: 63 public:
64 GrContextFactory() {}; 64 GrContextFactory() {};
65 explicit GrContextFactory(const GrContextOptions&) {} 65 explicit GrContextFactory(const GrContextOptions&) {}
66 66
67 typedef int GLContextType; 67 typedef int GLContextType;
68 68
69 static const GLContextType kANGLE_GLContextType = 0, 69 static const GLContextType kANGLE_GLContextType = 0,
70 kANGLE_GL_GLContextType = 0, 70 kANGLE_GL_GLContextType = 0,
71 kCommandBuffer_GLContextType = 0, 71 kCommandBufferES2_GLContextType = 0,
72 kCommandBufferES3_GLContextType = 0,
72 kDebug_GLContextType = 0, 73 kDebug_GLContextType = 0,
73 kMESA_GLContextType = 0, 74 kMESA_GLContextType = 0,
74 kNVPR_GLContextType = 0, 75 kNVPR_GLContextType = 0,
75 kNative_GLContextType = 0, 76 kNative_GLContextType = 0,
76 kNull_GLContextType = 0; 77 kNull_GLContextType = 0;
77 static const int kGLContextTypeCnt = 1; 78 static const int kGLContextTypeCnt = 1;
78 enum GLContextOptions { 79 enum GLContextOptions {
79 kNone_GLContextOptions = 0, 80 kNone_GLContextOptions = 0,
80 kEnableNVPR_GLContextOptions = 0x1, 81 kEnableNVPR_GLContextOptions = 0x1,
81 }; 82 };
(...skipping 13 matching lines...) Expand all
95 int, 96 int,
96 bool) { 97 bool) {
97 return nullptr; 98 return nullptr;
98 } 99 }
99 100
100 } // namespace DM 101 } // namespace DM
101 102
102 #endif//SK_SUPPORT_GPU 103 #endif//SK_SUPPORT_GPU
103 104
104 #endif//DMGpuSupport_DEFINED 105 #endif//DMGpuSupport_DEFINED
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698