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

Side by Side Diff: src/gpu/vk/GrVkTextureRenderTarget.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/GrVkTexture.cpp ('k') | src/gpu/vk/GrVkTextureRenderTarget.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 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 8
9 #ifndef GrVkTextureRenderTarget_DEFINED 9 #ifndef GrVkTextureRenderTarget_DEFINED
10 #define GrVkTextureRenderTarget_DEFINED 10 #define GrVkTextureRenderTarget_DEFINED
(...skipping 10 matching lines...) Expand all
21 21
22 class GrVkImageView; 22 class GrVkImageView;
23 struct GrVkTextureInfo; 23 struct GrVkTextureInfo;
24 24
25 class GrVkTextureRenderTarget: public GrVkTexture, public GrVkRenderTarget { 25 class GrVkTextureRenderTarget: public GrVkTexture, public GrVkRenderTarget {
26 public: 26 public:
27 static GrVkTextureRenderTarget* CreateNewTextureRenderTarget(GrVkGpu*, const GrSurfaceDesc&, 27 static GrVkTextureRenderTarget* CreateNewTextureRenderTarget(GrVkGpu*, const GrSurfaceDesc&,
28 GrGpuResource:: LifeCycle, 28 GrGpuResource:: LifeCycle,
29 const GrVkImage ::ImageDesc&); 29 const GrVkImage ::ImageDesc&);
30 30
31 static GrVkTextureRenderTarget* CreateWrappedTextureRenderTarget(GrVkGpu*, 31 static GrVkTextureRenderTarget* CreateWrappedTextureRenderTarget(GrVkGpu*,
32 const GrSur faceDesc&, 32 const GrSur faceDesc&,
33 GrGpuResour ce::LifeCycle, 33 GrGpuResour ce::LifeCycle,
34 VkFormat, 34 VkFormat,
35 const GrVkT extureInfo*); 35 const GrVkT extureInfo*);
36 36
37 protected: 37 protected:
38 void onAbandon() override { 38 void onAbandon() override {
39 GrVkRenderTarget::onAbandon(); 39 GrVkRenderTarget::onAbandon();
40 GrVkTexture::onAbandon(); 40 GrVkTexture::onAbandon();
41 } 41 }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 VkFormat format, 81 VkFormat format,
82 const GrVkImage::Resource* imageResou rce); 82 const GrVkImage::Resource* imageResou rce);
83 83
84 // GrGLRenderTarget accounts for the texture's memory and any MSAA renderbuf fer's memory. 84 // GrGLRenderTarget accounts for the texture's memory and any MSAA renderbuf fer's memory.
85 size_t onGpuMemorySize() const override { 85 size_t onGpuMemorySize() const override {
86 return GrVkRenderTarget::onGpuMemorySize(); 86 return GrVkRenderTarget::onGpuMemorySize();
87 } 87 }
88 }; 88 };
89 89
90 #endif 90 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkTexture.cpp ('k') | src/gpu/vk/GrVkTextureRenderTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698