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

Side by Side Diff: src/gpu/vk/GrVkCaps.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/GrVkBuffer.cpp ('k') | src/gpu/vk/GrVkCaps.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 #ifndef GrVkCaps_DEFINED 8 #ifndef GrVkCaps_DEFINED
9 #define GrVkCaps_DEFINED 9 #define GrVkCaps_DEFINED
10 10
11 #include "GrCaps.h" 11 #include "GrCaps.h"
12 #include "GrVkStencilAttachment.h" 12 #include "GrVkStencilAttachment.h"
13 #include "vk/GrVkDefines.h" 13 #include "vk/GrVkDefines.h"
14 14
15 struct GrVkInterface; 15 struct GrVkInterface;
16 class GrGLSLCaps; 16 class GrGLSLCaps;
17 17
18 /** 18 /**
19 * Stores some capabilities of a Vk backend. 19 * Stores some capabilities of a Vk backend.
20 */ 20 */
21 class GrVkCaps : public GrCaps { 21 class GrVkCaps : public GrCaps {
22 public: 22 public:
23 typedef GrVkStencilAttachment::Format StencilFormat; 23 typedef GrVkStencilAttachment::Format StencilFormat;
24 24
25 /** 25 /**
26 * Creates a GrVkCaps that is set such that nothing is supported. The init f unction should 26 * Creates a GrVkCaps that is set such that nothing is supported. The init f unction should
27 * be called to fill out the caps. 27 * be called to fill out the caps.
28 */ 28 */
29 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInte rface, 29 GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* vkInte rface,
30 VkPhysicalDevice device, uint32_t featureFlags, uint32_t extensionF lags); 30 VkPhysicalDevice device, uint32_t featureFlags, uint32_t extensionF lags);
31 31
32 bool isConfigTexturable(GrPixelConfig config) const override { 32 bool isConfigTexturable(GrPixelConfig config) const override {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 SkTArray<StencilFormat, true> fLinearStencilFormats; 96 SkTArray<StencilFormat, true> fLinearStencilFormats;
97 SkTArray<StencilFormat, true> fStencilFormats; 97 SkTArray<StencilFormat, true> fStencilFormats;
98 98
99 // Tells of if we can pass in straight GLSL string into vkCreateShaderModule 99 // Tells of if we can pass in straight GLSL string into vkCreateShaderModule
100 bool fCanUseGLSLForShaderModule; 100 bool fCanUseGLSLForShaderModule;
101 101
102 typedef GrCaps INHERITED; 102 typedef GrCaps INHERITED;
103 }; 103 };
104 104
105 #endif 105 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkBuffer.cpp ('k') | src/gpu/vk/GrVkCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698