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

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

Issue 1816153002: Set up cache in vulkan to reuse GrVkPrograms (aka VkPipelines) (Closed) Base URL: https://skia.googlesource.com/skia.git@progSamplers
Patch Set: rebase 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
« no previous file with comments | « src/gpu/vk/GrVkUniformHandler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 GrVkVaryingHandler_DEFINED 8 #ifndef GrVkVaryingHandler_DEFINED
9 #define GrVkVaryingHandler_DEFINED 9 #define GrVkVaryingHandler_DEFINED
10 10
11 #include "glsl/GrGLSLVarying.h" 11 #include "glsl/GrGLSLVarying.h"
12 12
13 class GrVkVaryingHandler : public GrGLSLVaryingHandler { 13 class GrVkVaryingHandler : public GrGLSLVaryingHandler {
14 public: 14 public:
15 GrVkVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} 15 GrVkVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {}
16 16
17 typedef GrGLSLVaryingHandler::VarArray VarArray; 17 typedef GrGLSLVaryingHandler::VarArray VarArray;
18 18
19 private: 19 private:
20 void onFinalize() override; 20 void onFinalize() override;
21 21
22 friend class GrVkProgramBuilder; 22 friend class GrVkPipelineStateBuilder;
23 23
24 typedef GrGLSLVaryingHandler INHERITED; 24 typedef GrGLSLVaryingHandler INHERITED;
25 }; 25 };
26 26
27 #endif 27 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkUniformHandler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698