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

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

#ifndef GrSurfaceProxyPriv_DEFINED
#define GrSurfaceProxyPriv_DEFINED

#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "src/gpu/SkBackingFit.h"
#include "src/gpu/ganesh/GrSurface.h"
#include "src/gpu/ganesh/GrSurfaceProxy.h"

#include <utility>

class GrCaps;
class GrResourceProvider;
namespace skgpu {
class ScratchKey;
}

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

inline GrSurfaceProxyPriv GrSurfaceProxy::priv() {}

inline const GrSurfaceProxyPriv GrSurfaceProxy::priv () const {}

#endif