/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrGLSLColorSpaceXformHelper_DEFINED #define GrGLSLColorSpaceXformHelper_DEFINED #include "modules/skcms/skcms.h" #include "src/core/SkColorSpacePriv.h" #include "src/core/SkColorSpaceXformSteps.h" #include "src/gpu/ganesh/GrColorSpaceXform.h" #include "src/gpu/ganesh/glsl/GrGLSLUniformHandler.h" /** * Helper class to assist with using GrColorSpaceXform within an FP. This manages all of the * uniforms needed, and can be passed to shader builder functions to automatically generate the * correct color space transformation code. */ class GrGLSLColorSpaceXformHelper : public SkNoncopyable { … }; #endif