blob: 890d9d6a6eb5303a5cd2f05ced90bca75dbf337f [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 SharedContext* sharedContext,
SkISize dimensions,
const TextureInfo& info,
Ownership ownership,
SkBudgeted budgeted)
: Resource(sharedContext, ownership, budgeted)
, fDimensions(dimensions)
, fInfo(info) {}
Texture::~Texture() {}
} // namespace skgpu::graphite