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

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

Issue 1834903003: Add WSI functions to GrVkInterface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add Android and Xlib Created 4 years, 8 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
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 GrVkRenderPass_DEFINED 8 #ifndef GrVkRenderPass_DEFINED
9 #define GrVkRenderPass_DEFINED 9 #define GrVkRenderPass_DEFINED
10 10
11 #include "GrTypes.h" 11 #include "GrTypes.h"
12 12
13 #include "GrVkResource.h" 13 #include "GrVkResource.h"
14 14
15 #include "vulkan/vulkan.h" 15 #include "vk/GrVkDefines.h"
16 16
17 class GrProcessorKeyBuilder; 17 class GrProcessorKeyBuilder;
18 class GrVkGpu; 18 class GrVkGpu;
19 class GrVkRenderTarget; 19 class GrVkRenderTarget;
20 20
21 class GrVkRenderPass : public GrVkResource { 21 class GrVkRenderPass : public GrVkResource {
22 public: 22 public:
23 GrVkRenderPass() : INHERITED(), fRenderPass(VK_NULL_HANDLE) {} 23 GrVkRenderPass() : INHERITED(), fRenderPass(VK_NULL_HANDLE) {}
24 void initSimple(const GrVkGpu* gpu, const GrVkRenderTarget& target); 24 void initSimple(const GrVkGpu* gpu, const GrVkRenderTarget& target);
25 25
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 VkRenderPass fRenderPass; 84 VkRenderPass fRenderPass;
85 AttachmentFlags fAttachmentFlags; 85 AttachmentFlags fAttachmentFlags;
86 AttachmentsDescriptor fAttachmentsDescriptor; 86 AttachmentsDescriptor fAttachmentsDescriptor;
87 87
88 typedef GrVkResource INHERITED; 88 typedef GrVkResource INHERITED;
89 }; 89 };
90 90
91 GR_MAKE_BITFIELD_OPS(GrVkRenderPass::AttachmentFlags); 91 GR_MAKE_BITFIELD_OPS(GrVkRenderPass::AttachmentFlags);
92 92
93 #endif 93 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698