/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrProcessorAnalysis_DEFINED #define GrProcessorAnalysis_DEFINED #include "include/private/SkColorData.h" #include "include/private/base/SkTo.h" #include <cstdint> #include <memory> class GrCaps; class GrFragmentProcessor; class GrProcessorAnalysisColor { … }; enum class GrProcessorAnalysisCoverage { … }; /** * GrColorFragmentProcessorAnalysis gathers invariant data from a set of color fragment processors. * It is used to recognize optimizations that can simplify the generated shader or make blending * more effecient. */ class GrColorFragmentProcessorAnalysis { … }; #endif