| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 GrVkPipelineStateBuilder_DEFINED | 8 #ifndef GrVkPipelineStateBuilder_DEFINED |
| 9 #define GrVkPipelineStateBuilder_DEFINED | 9 #define GrVkPipelineStateBuilder_DEFINED |
| 10 | 10 |
| 11 #include "glsl/GrGLSLProgramBuilder.h" | 11 #include "glsl/GrGLSLProgramBuilder.h" |
| 12 | 12 |
| 13 #include "GrPipeline.h" | 13 #include "GrPipeline.h" |
| 14 #include "GrVkPipelineState.h" | 14 #include "GrVkPipelineState.h" |
| 15 #include "GrVkUniformHandler.h" | 15 #include "GrVkUniformHandler.h" |
| 16 #include "GrVkVaryingHandler.h" | 16 #include "GrVkVaryingHandler.h" |
| 17 | 17 |
| 18 #include "shaderc/shaderc.h" | 18 #include "shaderc/shaderc.h" |
| 19 #include "vulkan/vulkan.h" | 19 #include "vk/GrVkDefines.h" |
| 20 | 20 |
| 21 class GrVkGpu; | 21 class GrVkGpu; |
| 22 class GrVkRenderPass; | 22 class GrVkRenderPass; |
| 23 class GrVkProgramDesc; | 23 class GrVkProgramDesc; |
| 24 | 24 |
| 25 class GrVkPipelineStateBuilder : public GrGLSLProgramBuilder { | 25 class GrVkPipelineStateBuilder : public GrGLSLProgramBuilder { |
| 26 public: | 26 public: |
| 27 /** Generates a pipeline state. | 27 /** Generates a pipeline state. |
| 28 * | 28 * |
| 29 * The GrVkPipelineState implements what is specified in the GrPipeline and G
rPrimitiveProcessor | 29 * The GrVkPipelineState implements what is specified in the GrPipeline and G
rPrimitiveProcessor |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 GrGLSLVaryingHandler* varyingHandler() override { return &fVaryingHandler; } | 65 GrGLSLVaryingHandler* varyingHandler() override { return &fVaryingHandler; } |
| 66 | 66 |
| 67 GrVkGpu* fGpu; | 67 GrVkGpu* fGpu; |
| 68 GrVkVaryingHandler fVaryingHandler; | 68 GrVkVaryingHandler fVaryingHandler; |
| 69 GrVkUniformHandler fUniformHandler; | 69 GrVkUniformHandler fUniformHandler; |
| 70 | 70 |
| 71 typedef GrGLSLProgramBuilder INHERITED; | 71 typedef GrGLSLProgramBuilder INHERITED; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 #endif | 74 #endif |
| OLD | NEW |