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

Side by Side Diff: src/gpu/vk/GrVkSampler.h

Issue 1718693002: Add vulkan files into skia repo. (Closed) Base URL: https://skia.googlesource.com/skia.git@merge
Patch Set: fix path Created 4 years, 10 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/GrVkResourceProvider.cpp ('k') | src/gpu/vk/GrVkSampler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef GrVkSampler_DEFINED
9 #define GrVkSampler_DEFINED
10
11 #include "GrVkResource.h"
12
13 #include "vulkan/vulkan.h"
14
15 class GrTextureAccess;
16 class GrVkGpu;
17
18
19 class GrVkSampler : public GrVkResource {
20 public:
21 static GrVkSampler* Create(const GrVkGpu* gpu, const GrTextureAccess& textur eAccess);
22
23 VkSampler sampler() const { return fSampler; }
24
25 private:
26 GrVkSampler(VkSampler sampler) : INHERITED(), fSampler(sampler) {}
27
28 void freeGPUData(const GrVkGpu* gpu) const override;
29
30 VkSampler fSampler;
31
32 typedef GrVkResource INHERITED;
33 };
34
35 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkResourceProvider.cpp ('k') | src/gpu/vk/GrVkSampler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698