OLD | NEW |
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 Loading... |
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 kCommandBufferES2_GLContextType = 0, | 71 kCommandBuffer_GLContextType = 0, |
72 kCommandBufferES3_GLContextType = 0, | |
73 kDebug_GLContextType = 0, | 72 kDebug_GLContextType = 0, |
74 kMESA_GLContextType = 0, | 73 kMESA_GLContextType = 0, |
75 kNVPR_GLContextType = 0, | 74 kNVPR_GLContextType = 0, |
76 kNative_GLContextType = 0, | 75 kNative_GLContextType = 0, |
77 kNull_GLContextType = 0; | 76 kNull_GLContextType = 0; |
78 static const int kGLContextTypeCnt = 1; | 77 static const int kGLContextTypeCnt = 1; |
79 enum GLContextOptions { | 78 enum GLContextOptions { |
80 kNone_GLContextOptions = 0, | 79 kNone_GLContextOptions = 0, |
81 kEnableNVPR_GLContextOptions = 0x1, | 80 kEnableNVPR_GLContextOptions = 0x1, |
82 }; | 81 }; |
(...skipping 13 matching lines...) Expand all Loading... |
96 int, | 95 int, |
97 bool) { | 96 bool) { |
98 return nullptr; | 97 return nullptr; |
99 } | 98 } |
100 | 99 |
101 } // namespace DM | 100 } // namespace DM |
102 | 101 |
103 #endif//SK_SUPPORT_GPU | 102 #endif//SK_SUPPORT_GPU |
104 | 103 |
105 #endif//DMGpuSupport_DEFINED | 104 #endif//DMGpuSupport_DEFINED |
OLD | NEW |