/* * 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 GrTextureProxyCacheAccess_DEFINED #define GrTextureProxyCacheAccess_DEFINED #include "src/gpu/ganesh/GrTextureProxy.h" class GrProxyProvider; namespace skgpu { class UniqueKey; } /** * This class allows GrResourceCache increased privileged access to GrTextureProxy objects. */ class GrTextureProxy::CacheAccess { … }; inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { … } inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { … } #endif