Flutter Engine
The Flutter Engine
|
#include <GrPipeline.h>
Classes | |
struct | InitArgs |
Friends | |
bool | operator& (Flags, InputFlags) |
Creation | |
enum class | InputFlags : uint8_t { kNone = 0 , kConservativeRaster = (1 << 1) , kWireframe = (1 << 2) , kSnapVerticesToPixelCenters = (1 << 3) } |
GrPipeline (GrScissorTest scissor, SkBlendMode blend, const skgpu::Swizzle &writeSwizzle, InputFlags flags=InputFlags::kNone) | |
GrPipeline (GrScissorTest, sk_sp< const GrXferProcessor >, const skgpu::Swizzle &writeSwizzle, InputFlags=InputFlags::kNone) | |
GrPipeline (const InitArgs &args, sk_sp< const GrXferProcessor >, const GrAppliedHardClip &) | |
GrPipeline (const InitArgs &, GrProcessorSet &&, GrAppliedClip &&) | |
GrPipeline (const GrPipeline &)=delete | |
GrPipeline & | operator= (const GrPipeline &)=delete |
This immutable object contains information needed to build a shader program and set API state for a draw. It is used along with a GrGeometryProcessor and a source of geometric data to draw.
Definition at line 36 of file GrPipeline.h.
|
strong |
Definition at line 43 of file GrPipeline.h.
|
inline |
Creates a simple pipeline with default settings and no processors. The provided blend mode must be "Porter Duff" (<= kLastCoeffMode). If using GrScissorTest::kEnabled, the caller must specify a scissor rectangle through the DynamicState struct.
Definition at line 74 of file GrPipeline.h.
GrPipeline::GrPipeline | ( | GrScissorTest | scissorTest, |
sk_sp< const GrXferProcessor > | xp, | ||
const skgpu::Swizzle & | writeSwizzle, | ||
InputFlags | inputFlags = InputFlags::kNone |
||
) |
Definition at line 66 of file GrPipeline.cpp.
GrPipeline::GrPipeline | ( | const InitArgs & | args, |
sk_sp< const GrXferProcessor > | xferProcessor, | ||
const GrAppliedHardClip & | hardClip | ||
) |
Definition at line 18 of file GrPipeline.cpp.
GrPipeline::GrPipeline | ( | const InitArgs & | args, |
GrProcessorSet && | processors, | ||
GrAppliedClip && | appliedClip | ||
) |
Definition at line 36 of file GrPipeline.cpp.
|
delete |
|
inline |
This returns the GrSurfaceProxyView for the texture used to access the dst color. If the GrXferProcessor does not use the dst color then the proxy on the GrSurfaceProxyView will be nullptr.
Definition at line 138 of file GrPipeline.h.
|
inline |
Definition at line 142 of file GrPipeline.h.
|
inline |
Definition at line 140 of file GrPipeline.h.
void GrPipeline::genKey | ( | skgpu::KeyBuilder * | b, |
const GrCaps & | caps | ||
) | const |
Definition at line 79 of file GrPipeline.cpp.
|
inline |
Definition at line 157 of file GrPipeline.h.
|
inline |
Definition at line 167 of file GrPipeline.h.
|
inline |
Definition at line 116 of file GrPipeline.h.
|
inline |
Definition at line 174 of file GrPipeline.h.
|
inline |
Definition at line 101 of file GrPipeline.h.
|
inline |
Definition at line 102 of file GrPipeline.h.
|
inline |
Definition at line 163 of file GrPipeline.h.
|
inline |
Definition at line 170 of file GrPipeline.h.
|
inline |
Definition at line 100 of file GrPipeline.h.
|
inline |
Definition at line 99 of file GrPipeline.h.
|
delete |
|
inline |
If this GrXferProcessor uses a texture to access the dst color, returns that texture.
Definition at line 145 of file GrPipeline.h.
void GrPipeline::setDstTextureUniforms | ( | const GrGLSLProgramDataManager & | pdm, |
GrGLSLBuiltinUniformHandles * | fBuiltinUniformHandles | ||
) | const |
Definition at line 115 of file GrPipeline.cpp.
|
inline |
Definition at line 171 of file GrPipeline.h.
|
inline |
Definition at line 169 of file GrPipeline.h.
|
inline |
Definition at line 129 of file GrPipeline.h.
|
inline |
Definition at line 128 of file GrPipeline.h.
|
inline |
Definition at line 104 of file GrPipeline.h.
void GrPipeline::visitProxies | ( | const GrVisitProxyFunc & | func | ) | const |
Definition at line 105 of file GrPipeline.cpp.
void GrPipeline::visitTextureEffects | ( | const std::function< void(const GrTextureEffect &)> & | func | ) | const |
Definition at line 98 of file GrPipeline.cpp.
|
inline |
Definition at line 197 of file GrPipeline.h.
GrXferBarrierType GrPipeline::xferBarrierType | ( | const GrCaps & | caps | ) | const |
Definition at line 59 of file GrPipeline.cpp.
|
friend |
Definition at line 237 of file GrPipeline.h.