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

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

Issue 2353563003: Create GrVkCopyPipeline class (Closed)
Patch Set: add comment about renderpass 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
« no previous file with comments | « src/gpu/vk/GrVkCopyPipeline.cpp ('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 GrVkPipeline_DEFINED 8 #ifndef GrVkPipeline_DEFINED
9 #define GrVkPipeline_DEFINED 9 #define GrVkPipeline_DEFINED
10 10
(...skipping 25 matching lines...) Expand all
36 VkPipeline pipeline() const { return fPipeline; } 36 VkPipeline pipeline() const { return fPipeline; }
37 37
38 static void SetDynamicState(GrVkGpu*, GrVkCommandBuffer*, const GrPipeline&) ; 38 static void SetDynamicState(GrVkGpu*, GrVkCommandBuffer*, const GrPipeline&) ;
39 39
40 #ifdef SK_TRACE_VK_RESOURCES 40 #ifdef SK_TRACE_VK_RESOURCES
41 void dumpInfo() const override { 41 void dumpInfo() const override {
42 SkDebugf("GrVkPipeline: %d (%d refs)\n", fPipeline, this->getRefCnt()); 42 SkDebugf("GrVkPipeline: %d (%d refs)\n", fPipeline, this->getRefCnt());
43 } 43 }
44 #endif 44 #endif
45 45
46 private: 46 protected:
47 GrVkPipeline(VkPipeline pipeline) : INHERITED(), fPipeline(pipeline) {} 47 GrVkPipeline(VkPipeline pipeline) : INHERITED(), fPipeline(pipeline) {}
48 48
49 GrVkPipeline(const GrVkPipeline&); 49 VkPipeline fPipeline;
50 GrVkPipeline& operator=(const GrVkPipeline&);
51 50
51 private:
52 void freeGPUData(const GrVkGpu* gpu) const override; 52 void freeGPUData(const GrVkGpu* gpu) const override;
53 53
54 VkPipeline fPipeline;
55
56 typedef GrVkResource INHERITED; 54 typedef GrVkResource INHERITED;
57 }; 55 };
58 56
59 #endif 57 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkCopyPipeline.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698