blob: d381babd02d03cc9ad73a9089121bc78c0067045 [file] [log] [blame]
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrFPArgs_DEFINED
#define GrFPArgs_DEFINED
#include "include/core/SkMatrix.h"
#include "src/shaders/SkShaderBase.h"
class GrColorInfo;
class GrRecordingContext;
class SkMatrixProvider;
class SkSurfaceProps;
struct GrFPArgs {
GrFPArgs(GrRecordingContext* context,
const GrColorInfo* dstColorInfo,
const SkSurfaceProps& surfaceProps)
: fContext(context), fDstColorInfo(dstColorInfo), fSurfaceProps(surfaceProps) {
SkASSERT(fContext);
}
GrRecordingContext* fContext;
const GrColorInfo* fDstColorInfo;
const SkSurfaceProps& fSurfaceProps;
};
#endif