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

Side by Side Diff: src/gpu/vk/GrVkResourceProvider.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 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 GrVkResourceProvider_DEFINED 8 #ifndef GrVkResourceProvider_DEFINED
9 #define GrVkResourceProvider_DEFINED 9 #define GrVkResourceProvider_DEFINED
10 10
11 #include "GrGpu.h" 11 #include "GrGpu.h"
12 #include "GrVkDescriptorPool.h" 12 #include "GrVkDescriptorPool.h"
13 #include "GrVkPipelineState.h" 13 #include "GrVkPipelineState.h"
14 #include "GrVkResource.h" 14 #include "GrVkResource.h"
15 #include "GrVkUtil.h" 15 #include "GrVkUtil.h"
16 #include "SkTArray.h" 16 #include "SkTArray.h"
17 #include "SkTDynamicHash.h" 17 #include "SkTDynamicHash.h"
18 18
19 #include "vulkan/vulkan.h" 19 #include "vk/GrVkDefines.h"
20 20
21 class GrPipeline; 21 class GrPipeline;
22 class GrPrimitiveProcessor; 22 class GrPrimitiveProcessor;
23 class GrTextureParams; 23 class GrTextureParams;
24 class GrVkCommandBuffer; 24 class GrVkCommandBuffer;
25 class GrVkGpu; 25 class GrVkGpu;
26 class GrVkPipeline; 26 class GrVkPipeline;
27 class GrVkRenderPass; 27 class GrVkRenderPass;
28 class GrVkRenderTarget; 28 class GrVkRenderTarget;
29 class GrVkSampler; 29 class GrVkSampler;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // Stores GrVkSampler objects that we've already created so we can reuse the m across multiple 141 // Stores GrVkSampler objects that we've already created so we can reuse the m across multiple
142 // GrVkPipelineStates 142 // GrVkPipelineStates
143 SkTDynamicHash<GrVkSampler, uint8_t> fSamplers; 143 SkTDynamicHash<GrVkSampler, uint8_t> fSamplers;
144 144
145 // Cache of GrVkPipelineStates 145 // Cache of GrVkPipelineStates
146 PipelineStateCache* fPipelineStateCache; 146 PipelineStateCache* fPipelineStateCache;
147 }; 147 };
148 148
149 #endif 149 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698