| 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 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 Loading... |
| 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 |
| OLD | NEW |