/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrDriverBugWorkarounds_DEFINED #define GrDriverBugWorkarounds_DEFINED // External embedders of Skia can override this to use their own list // of workaround names. #ifdef SK_GPU_WORKAROUNDS_HEADER #include SK_GPU_WORKAROUNDS_HEADER #else // To regenerate this file, set gn arg "skia_generate_workarounds = true" // or invoke `bazel run //tools:generate_workarounds` // This is not rebuilt by default to avoid embedders having to have extra // build steps. #include "include/gpu/ganesh/GrDriverBugWorkaroundsAutogen.h" #endif #include "include/core/SkTypes.h" #include <cstdint> #include <vector> enum GrDriverBugWorkaroundType { … }; class SK_API GrDriverBugWorkarounds { … }; #endif