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