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

Side by Side Diff: src/gpu/vk/GrVkSampler.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 GrVkSampler_DEFINED 8 #ifndef GrVkSampler_DEFINED
9 #define GrVkSampler_DEFINED 9 #define GrVkSampler_DEFINED
10 10
11 #include "GrVkResource.h" 11 #include "GrVkResource.h"
12 12
13 #include "vulkan/vulkan.h" 13 #include "vk/GrVkDefines.h"
14 14
15 class GrTextureAccess; 15 class GrTextureAccess;
16 class GrTextureParams; 16 class GrTextureParams;
17 class GrVkGpu; 17 class GrVkGpu;
18 18
19 19
20 class GrVkSampler : public GrVkResource { 20 class GrVkSampler : public GrVkResource {
21 public: 21 public:
22 static GrVkSampler* Create(const GrVkGpu* gpu, const GrTextureParams&); 22 static GrVkSampler* Create(const GrVkGpu* gpu, const GrTextureParams&);
23 23
(...skipping 10 matching lines...) Expand all
34 void freeGPUData(const GrVkGpu* gpu) const override; 34 void freeGPUData(const GrVkGpu* gpu) const override;
35 35
36 VkSampler fSampler; 36 VkSampler fSampler;
37 uint8_t fKey; 37 uint8_t fKey;
38 38
39 typedef GrVkResource INHERITED; 39 typedef GrVkResource INHERITED;
40 }; 40 };
41 41
42 #endif 42 #endif
43 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698