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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |