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

Side by Side Diff: src/gpu/vk/GrVkCommandBuffer.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, 9 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 GrVkCommandBuffer_DEFINED 8 #ifndef GrVkCommandBuffer_DEFINED
9 #define GrVkCommandBuffer_DEFINED 9 #define GrVkCommandBuffer_DEFINED
10 10
11 #include "GrVkGpu.h" 11 #include "GrVkGpu.h"
12 #include "GrVkResource.h" 12 #include "GrVkResource.h"
13 #include "GrVkUtil.h" 13 #include "GrVkUtil.h"
14 #include "vulkan/vulkan.h" 14 #include "vk/GrVkDefines.h"
15 15
16 class GrVkPipeline; 16 class GrVkPipeline;
17 class GrVkRenderPass; 17 class GrVkRenderPass;
18 class GrVkRenderTarget; 18 class GrVkRenderTarget;
19 class GrVkTransferBuffer; 19 class GrVkTransferBuffer;
20 20
21 class GrVkCommandBuffer : public GrVkResource { 21 class GrVkCommandBuffer : public GrVkResource {
22 public: 22 public:
23 static GrVkCommandBuffer* Create(const GrVkGpu* gpu, VkCommandPool cmdPool); 23 static GrVkCommandBuffer* Create(const GrVkGpu* gpu, VkCommandPool cmdPool);
24 ~GrVkCommandBuffer() override; 24 ~GrVkCommandBuffer() override;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // Cached values used for dynamic state updates 208 // Cached values used for dynamic state updates
209 VkViewport fCachedViewport; 209 VkViewport fCachedViewport;
210 VkRect2D fCachedScissor; 210 VkRect2D fCachedScissor;
211 float fCachedBlendConstant[4]; 211 float fCachedBlendConstant[4];
212 }; 212 };
213 213
214 214
215 #endif 215 #endif
216 216
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698