/* * 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 GrColorInfo_DEFINED #define GrColorInfo_DEFINED #include "include/core/SkAlphaType.h" #include "include/core/SkRefCnt.h" #include "include/private/gpu/ganesh/GrTypesPriv.h" #include "src/gpu/ganesh/GrColorSpaceXform.h" class SkColorInfo; class SkColorSpace; /** * All the info needed to interpret a color: Color type + alpha type + color space. Also caches * the GrColorSpaceXform from sRGB. */ class GrColorInfo { … }; #endif