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

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

#include "include/core/SkRefCnt.h"
#include "include/gpu/ganesh/gl/GrGLTypes.h"

#include <cstdint>
#include <utility>

namespace skgpu {
enum class Protected : bool;
}

static constexpr int kGrGLColorFormatCount =;

class GrGLTextureParameters : public SkNVRefCnt<GrGLTextureParameters> {};

class GrGLBackendTextureInfo {};

struct GrGLTextureSpec {};

GrGLSurfaceInfo GrGLTextureSpecToSurfaceInfo(const GrGLTextureSpec& glSpec,
                                             uint32_t sampleCount,
                                             uint32_t levelCount,
                                             skgpu::Protected isProtected);

#endif