blob: 7dbd9c5050a150e1304c62ee1b508610d5f505ae [file] [log] [blame]
/*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkEffectPriv_DEFINED
#define SkEffectPriv_DEFINED
#include "SkImageInfo.h"
class SkArenaAlloc;
class SkColorSpace;
class SkMatrix;
class SkPaint;
class SkRasterPipeline;
// Passed to effects that will add stages to rasterpipeline
struct SkStageRec {
SkRasterPipeline* fPipeline;
SkArenaAlloc* fAlloc;
SkColorType fDstColorType;
SkColorSpace* fDstCS; // may be nullptr
const SkPaint& fPaint;
const SkMatrix* fLocalM; // may be nullptr
const SkMatrix fCTM;
};
#endif // SkEffectPriv_DEFINED