| 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 GrVkProgramDesc_DEFINED | 8 #ifndef GrVkProgramDesc_DEFINED |
| 9 #define GrVkProgramDesc_DEFINED | 9 #define GrVkProgramDesc_DEFINED |
| 10 | 10 |
| 11 #include "GrColor.h" | 11 #include "GrColor.h" |
| 12 #include "GrProgramDesc.h" | 12 #include "GrProgramDesc.h" |
| 13 #include "GrGpu.h" | 13 #include "GrGpu.h" |
| 14 #include "GrTypesPriv.h" | 14 #include "GrTypesPriv.h" |
| 15 | 15 |
| 16 #include "shaderc/shaderc.h" | 16 #include "shaderc/shaderc.h" |
| 17 #include "vulkan/vulkan.h" | 17 #include "vk/GrVkDefines.h" |
| 18 | 18 |
| 19 class GrVkGpu; | 19 class GrVkGpu; |
| 20 class GrVkProgramDescBuilder; | 20 class GrVkProgramDescBuilder; |
| 21 | 21 |
| 22 class GrVkProgramDesc : public GrProgramDesc { | 22 class GrVkProgramDesc : public GrProgramDesc { |
| 23 private: | 23 private: |
| 24 friend class GrVkProgramDescBuilder; | 24 friend class GrVkProgramDescBuilder; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 /** | 27 /** |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 * parts of the descriptor. | 60 * parts of the descriptor. |
| 61 * @param GrProgramDesc The built and finalized descriptor | 61 * @param GrProgramDesc The built and finalized descriptor |
| 62 **/ | 62 **/ |
| 63 static bool Build(GrProgramDesc*, | 63 static bool Build(GrProgramDesc*, |
| 64 const GrPrimitiveProcessor&, | 64 const GrPrimitiveProcessor&, |
| 65 const GrPipeline&, | 65 const GrPipeline&, |
| 66 const GrGLSLCaps&); | 66 const GrGLSLCaps&); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif | 69 #endif |
| OLD | NEW |