chromium/third_party/skia/src/gpu/ganesh/GrBaseContextPriv.h

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

#ifndef GrBaseContextPriv_DEFINED
#define GrBaseContextPriv_DEFINED

#include "include/core/SkRefCnt.h"
#include "include/gpu/ganesh/GrContextOptions.h"
#include "include/private/gpu/ganesh/GrContext_Base.h"

#include <cstdint>

class GrCaps;
class GrDirectContext;
class GrImageContext;
class GrRecordingContext;

/** Class that exposes methods on GrContext_Base that are only intended for use internal to Skia.
    This class is purely a privileged window into GrContext_Base. It should never have
    additional data members or virtual methods. */
class GrBaseContextPriv {};

inline GrBaseContextPriv GrContext_Base::priv() {}

inline const GrBaseContextPriv GrContext_Base::priv () const {}

#endif