| /* | |
| * Copyright 2021 Google LLC | |
| * | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| */ | |
| #include "src/gpu/graphite/Texture.h" | |
| namespace skgpu::graphite { | |
| Texture::Texture(const Gpu* gpu, | |
| SkISize dimensions, | |
| const TextureInfo& info, | |
| Ownership ownership, | |
| SkBudgeted budgeted) | |
| : Resource(gpu, ownership, budgeted) | |
| , fDimensions(dimensions) | |
| , fInfo(info) {} | |
| Texture::~Texture() {} | |
| } // namespace skgpu::graphite |