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

Side by Side Diff: dm/DMGpuSupport.h

Issue 1872283003: Vulkan config in dm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix no-gpu build Created 4 years, 8 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') | src/gpu/vk/GrVkBackendContext.cpp » ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | src/gpu/vk/GrVkBackendContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698