/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/ganesh/GrPaint.h" #include "include/core/SkBlendMode.h" #include "src/gpu/ganesh/effects/GrCoverageSetOpXP.h" #include "src/gpu/ganesh/effects/GrPorterDuffXferProcessor.h" GrPaint::GrPaint(const GrPaint& that) : … { … } void GrPaint::setPorterDuffXPFactory(SkBlendMode mode) { … } void GrPaint::setCoverageSetOpXPFactory(SkRegion::Op regionOp, bool invertCoverage) { … } bool GrPaint::isConstantBlendedColor(SkPMColor4f* constantColor) const { … }