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

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

Issue 2353563003: Create GrVkCopyPipeline class (Closed)
Patch Set: add files Created 4 years, 3 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
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef GrVkCopyPipeline_DEFINED
9 #define GrVkCopyPipeline_DEFINED
10
11 #include "GrVkPipeline.h"
12
13 class GrVkCopyPipeline : public GrVkPipeline {
14 public:
15 static GrVkCopyPipeline* Create(GrVkGpu* gpu,
16 VkPipelineShaderStageCreateInfo* shaderStage Info,
17 VkPipelineLayout pipelineLayout,
18 int numSamples,
19 const GrVkRenderPass& renderPass,
20 VkPipelineCache cache);
21
22 bool isCompatible(const GrVkRenderPass& rp) const;
23
24 #ifdef SK_TRACE_VK_RESOURCES
25 void dumpInfo() const override {
26 SkDebugf("GrVkCopyPipeline: %d (%d refs)\n", fPipeline, this->getRefCnt( ));
27 }
28 #endif
29
30 private:
31 GrVkCopyPipeline(VkPipeline pipeline, const GrVkRenderPass* renderPass)
32 : INHERITED(pipeline)
33 , fRenderPass(renderPass) {
34 }
35
36 const GrVkRenderPass* fRenderPass;
37
38 typedef GrVkPipeline INHERITED;
39 };
40
41 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/vk/GrVkCopyPipeline.cpp » ('j') | src/gpu/vk/GrVkCopyPipeline.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698