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

Side by Side Diff: src/gpu/vk/GrVkGpu.h

Issue 2185953003: Add gyp define to enable vulkan debug layers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « src/gpu/vk/GrVkBackendContext.cpp ('k') | src/gpu/vk/GrVkGpu.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 2015 Google Inc. 2 * Copyright 2015 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 GrVkGpu_DEFINED 8 #ifndef GrVkGpu_DEFINED
9 #define GrVkGpu_DEFINED 9 #define GrVkGpu_DEFINED
10 10
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 VkQueue fQueue; // Must be Graphics queue 243 VkQueue fQueue; // Must be Graphics queue
244 244
245 // Created by GrVkGpu 245 // Created by GrVkGpu
246 GrVkResourceProvider fResourceProvider; 246 GrVkResourceProvider fResourceProvider;
247 VkCommandPool fCmdPool; 247 VkCommandPool fCmdPool;
248 GrVkPrimaryCommandBuffer* fCurrentCmdBuffer; 248 GrVkPrimaryCommandBuffer* fCurrentCmdBuffer;
249 VkPhysicalDeviceMemoryProperties fPhysDevMemProps; 249 VkPhysicalDeviceMemoryProperties fPhysDevMemProps;
250 250
251 SkAutoTDelete<GrVkHeap> fHeaps[kHeapCount]; 251 SkAutoTDelete<GrVkHeap> fHeaps[kHeapCount];
252 252
253 #ifdef ENABLE_VK_LAYERS 253 #ifdef SK_ENABLE_VK_LAYERS
254 // For reporting validation layer errors 254 // For reporting validation layer errors
255 VkDebugReportCallbackEXT fCallback; 255 VkDebugReportCallbackEXT fCallback;
256 #endif 256 #endif
257 257
258 #if USE_SKSL 258 #if USE_SKSL
259 SkSL::Compiler* fCompiler; 259 SkSL::Compiler* fCompiler;
260 #else 260 #else
261 // Shaderc compiler used for compiling glsl in spirv. We only want to create the compiler once 261 // Shaderc compiler used for compiling glsl in spirv. We only want to create the compiler once
262 // since there is significant overhead to the first compile of any compiler. 262 // since there is significant overhead to the first compile of any compiler.
263 shaderc_compiler_t fCompiler; 263 shaderc_compiler_t fCompiler;
264 #endif 264 #endif
265 265
266 typedef GrGpu INHERITED; 266 typedef GrGpu INHERITED;
267 }; 267 };
268 268
269 #endif 269 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkBackendContext.cpp ('k') | src/gpu/vk/GrVkGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698