/* * 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 GrMockOptions_DEFINED #define GrMockOptions_DEFINED #include "include/core/SkTextureCompressionType.h" #include "include/gpu/GpuTypes.h" #include "include/private/base/SkAssert.h" #include "include/private/gpu/ganesh/GrTypesPriv.h" #include <cstdint> class GrBackendFormat; struct GrMockTextureInfo { … }; struct GrMockRenderTargetInfo { … }; struct GrMockSurfaceInfo { … }; static constexpr int kSkTextureCompressionTypeCount = …; /** * A pointer to this type is used as the GrBackendContext when creating a Mock GrContext. It can be * used to specify capability options for the mock context. If nullptr is used a default constructed * GrMockOptions is used. */ struct GrMockOptions { … }; #endif