/* * 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 GrImageContextPriv_DEFINED #define GrImageContextPriv_DEFINED #include "include/private/gpu/ganesh/GrImageContext.h" #include "include/gpu/ganesh/GrContextThreadSafeProxy.h" #include "src/gpu/ganesh/GrBaseContextPriv.h" /** Class that exposes methods on GrImageContext that are only intended for use internal to Skia. This class is purely a privileged window into GrImageContext. It should never have additional data members or virtual methods. */ class GrImageContextPriv : public GrBaseContextPriv { … }; inline GrImageContextPriv GrImageContext::priv() { … } inline const GrImageContextPriv GrImageContext::priv () const { … } #endif