| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 static const ContextType kANGLE_ContextType = 0, | 74 static const ContextType kANGLE_ContextType = 0, |
| 75 kANGLE_GL_ContextType = 0, | 75 kANGLE_GL_ContextType = 0, |
| 76 kCommandBuffer_ContextType = 0, | 76 kCommandBuffer_ContextType = 0, |
| 77 kDebugGL_ContextType = 0, | 77 kDebugGL_ContextType = 0, |
| 78 kMESA_ContextType = 0, | 78 kMESA_ContextType = 0, |
| 79 kNVPR_ContextType = 0, | 79 kNVPR_ContextType = 0, |
| 80 kNativeGL_ContextType = 0, | 80 kNativeGL_ContextType = 0, |
| 81 kGL_ContextType = 0, | 81 kGL_ContextType = 0, |
| 82 kGLES_ContextType = 0, | 82 kGLES_ContextType = 0, |
| 83 kNullGL_ContextType = 0; | 83 kNullGL_ContextType = 0, |
| 84 kVulkan_ContextType = 0; |
| 84 static const int kContextTypeCnt = 1; | 85 static const int kContextTypeCnt = 1; |
| 85 enum ContextOptions { | 86 enum ContextOptions { |
| 86 kNone_ContextOptions = 0, | 87 kNone_ContextOptions = 0, |
| 87 kEnableNVPR_ContextOptions = 0x1, | 88 kEnableNVPR_ContextOptions = 0x1, |
| 88 }; | 89 }; |
| 89 void destroyContexts() {} | 90 void destroyContexts() {} |
| 90 | 91 |
| 91 void abandonContexts() {} | 92 void abandonContexts() {} |
| 92 | 93 |
| 93 void releaseResourcesAndAbandonContexts() {} | 94 void releaseResourcesAndAbandonContexts() {} |
| (...skipping 11 matching lines...) Expand all Loading... |
| 105 int, | 106 int, |
| 106 bool) { | 107 bool) { |
| 107 return nullptr; | 108 return nullptr; |
| 108 } | 109 } |
| 109 | 110 |
| 110 } // namespace DM | 111 } // namespace DM |
| 111 | 112 |
| 112 #endif//SK_SUPPORT_GPU | 113 #endif//SK_SUPPORT_GPU |
| 113 | 114 |
| 114 #endif//DMGpuSupport_DEFINED | 115 #endif//DMGpuSupport_DEFINED |
| OLD | NEW |