blob: abddd0599f0aae95c4415bcced3efb5026de0778 [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 "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
class SkArenaAlloc;
class SkColorSpace;
class SkMatrixProvider;
class SkPaint;
class SkRasterPipeline;
class SkSurfaceProps;
// 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 SkSurfaceProps& fSurfaceProps;
#endif // SkEffectPriv_DEFINED