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

Side by Side Diff: src/gpu/vk/GrVkStencilAttachment.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 GrVkStencil_DEFINED 8 #ifndef GrVkStencil_DEFINED
9 #define GrVkStencil_DEFINED 9 #define GrVkStencil_DEFINED
10 10
11 #include "GrStencilAttachment.h" 11 #include "GrStencilAttachment.h"
12 #include "GrVkImage.h" 12 #include "GrVkImage.h"
13 #include "vulkan/vulkan.h" 13 #include "vk/GrVkDefines.h"
14 14
15 class GrVkImageView; 15 class GrVkImageView;
16 class GrVkGpu; 16 class GrVkGpu;
17 17
18 class GrVkStencilAttachment : public GrStencilAttachment, public GrVkImage { 18 class GrVkStencilAttachment : public GrStencilAttachment, public GrVkImage {
19 public: 19 public:
20 struct Format { 20 struct Format {
21 VkFormat fInternalFormat; 21 VkFormat fInternalFormat;
22 int fStencilBits; 22 int fStencilBits;
23 int fTotalBits; 23 int fTotalBits;
(...skipping 26 matching lines...) Expand all
50 const GrVkImageView* stencilView); 50 const GrVkImageView* stencilView);
51 51
52 GrVkGpu* getVkGpu() const; 52 GrVkGpu* getVkGpu() const;
53 53
54 Format fFormat; 54 Format fFormat;
55 55
56 const GrVkImageView* fStencilView; 56 const GrVkImageView* fStencilView;
57 }; 57 };
58 58
59 #endif 59 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698