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