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

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

Issue 1834903003: Add WSI functions to GrVkInterface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add Android and Xlib Created 4 years, 9 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
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
11 #include "GrGpu.h" 11 #include "GrGpu.h"
12 #include "GrGpuFactory.h" 12 #include "GrGpuFactory.h"
13 #include "vk/GrVkBackendContext.h" 13 #include "vk/GrVkBackendContext.h"
14 #include "GrVkCaps.h" 14 #include "GrVkCaps.h"
15 #include "GrVkIndexBuffer.h" 15 #include "GrVkIndexBuffer.h"
16 #include "GrVkResourceProvider.h" 16 #include "GrVkResourceProvider.h"
17 #include "GrVkVertexBuffer.h" 17 #include "GrVkVertexBuffer.h"
18 #include "GrVkUtil.h" 18 #include "GrVkUtil.h"
19 19
20 #include "shaderc/shaderc.h" 20 #include "shaderc/shaderc.h"
21 #include "vulkan/vulkan.h" 21 #include "vk/GrVkDefines.h"
22 22
23 class GrPipeline; 23 class GrPipeline;
24 class GrNonInstancedMesh; 24 class GrNonInstancedMesh;
25 25
26 class GrVkBufferImpl; 26 class GrVkBufferImpl;
27 class GrVkCommandBuffer; 27 class GrVkCommandBuffer;
28 class GrVkPipeline; 28 class GrVkPipeline;
29 class GrVkPipelineState; 29 class GrVkPipelineState;
30 class GrVkRenderPass; 30 class GrVkRenderPass;
31 class GrVkTexture; 31 class GrVkTexture;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 // Shaderc compiler used for compiling glsl in spirv. We only want to create the compiler once 216 // Shaderc compiler used for compiling glsl in spirv. We only want to create the compiler once
217 // since there is significant overhead to the first compile of any compiler. 217 // since there is significant overhead to the first compile of any compiler.
218 shaderc_compiler_t fCompiler; 218 shaderc_compiler_t fCompiler;
219 219
220 220
221 typedef GrGpu INHERITED; 221 typedef GrGpu INHERITED;
222 }; 222 };
223 223
224 #endif 224 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698