/src/skia/src/gpu/graphite/Sampler.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright 2022 Google LLC |
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 | | #include "src/gpu/graphite/Sampler.h" |
9 | | |
10 | | namespace skgpu::graphite { |
11 | | |
12 | | Sampler::Sampler(const SharedContext* sharedContext) |
13 | | : Resource(sharedContext, |
14 | | Ownership::kOwned, |
15 | | skgpu::Budgeted::kYes, |
16 | 0 | /*gpuMemorySize=*/0) {} |
17 | | |
18 | 0 | Sampler::~Sampler() = default; |
19 | | |
20 | | } // namespace skgpu::graphite |