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

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

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « src/gpu/vk/GrVkImage.cpp ('k') | src/gpu/vk/GrVkImageView.cpp » ('j') | 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 GrVkImageView_DEFINED 8 #ifndef GrVkImageView_DEFINED
9 #define GrVkImageView_DEFINED 9 #define GrVkImageView_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 "vk/GrVkDefines.h" 15 #include "vk/GrVkDefines.h"
16 16
17 class GrVkImageView : public GrVkResource { 17 class GrVkImageView : public GrVkResource {
18 public: 18 public:
19 enum Type { 19 enum Type {
20 kColor_Type, 20 kColor_Type,
21 kStencil_Type 21 kStencil_Type
22 }; 22 };
23 23
24 static const GrVkImageView* Create(GrVkGpu* gpu, VkImage image, VkFormat for mat, Type viewType); 24 static const GrVkImageView* Create(GrVkGpu* gpu, VkImage image, VkFormat for mat, Type viewType);
25 25
26 VkImageView imageView() const { return fImageView; } 26 VkImageView imageView() const { return fImageView; }
27 27
28 private: 28 private:
29 GrVkImageView(VkImageView imageView) : INHERITED(), fImageView(imageView) {} 29 GrVkImageView(VkImageView imageView) : INHERITED(), fImageView(imageView) {}
30 30
31 GrVkImageView(const GrVkImageView&); 31 GrVkImageView(const GrVkImageView&);
32 GrVkImageView& operator=(const GrVkImageView&); 32 GrVkImageView& operator=(const GrVkImageView&);
33 33
34 void freeGPUData(const GrVkGpu* gpu) const override; 34 void freeGPUData(const GrVkGpu* gpu) const override;
35 35
36 VkImageView fImageView; 36 VkImageView fImageView;
37 37
38 typedef GrVkResource INHERITED; 38 typedef GrVkResource INHERITED;
39 }; 39 };
40 40
41 #endif 41 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkImage.cpp ('k') | src/gpu/vk/GrVkImageView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698