chromium/third_party/skia/src/gpu/ganesh/gl/GrGLTextureRenderTarget.h

/*
 * Copyright 2014 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#ifndef GrGLTextureRenderTarget_DEFINED
#define GrGLTextureRenderTarget_DEFINED

#include "include/core/SkRefCnt.h"
#include "include/gpu/ganesh/GrBackendSurface.h"
#include "src/gpu/ganesh/gl/GrGLRenderTarget.h"
#include "src/gpu/ganesh/gl/GrGLTexture.h"

#include <cstddef>
#include <string_view>

class GrGLGpu;
class GrGLTextureParameters;
class SkTraceMemoryDump;
enum class GrMipmapStatus;
enum class GrWrapCacheable : bool;
namespace skgpu {
enum class Budgeted : bool;
}

#ifdef SK_BUILD_FOR_WIN
// Windows gives bogus warnings about inheriting asTexture/asRenderTarget via dominance.
#pragma warning(push)
#pragma warning(disable: 4250)
#endif

class GrGLTextureRenderTarget : public GrGLTexture, public GrGLRenderTarget {};

#ifdef SK_BUILD_FOR_WIN
#pragma warning(pop)
#endif

#endif