blob: bb3f20f10f6aa8648c0a0afbaced035b08cbe4bd [file] [log] [blame]
/*
* 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