| Index: src/gpu/GrPipeline.h
|
| diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h
|
| index 8781058247fe438300ac2f5cb919c389aea31c1b..2d909be482c73587454221a387e4eca9558b6d34 100644
|
| --- a/src/gpu/GrPipeline.h
|
| +++ b/src/gpu/GrPipeline.h
|
| @@ -24,6 +24,16 @@ class GrBatch;
|
| class GrDeviceCoordTexture;
|
| class GrPipelineBuilder;
|
|
|
| +struct GrBatchToXPOverrides {
|
| + bool fUsePLSDstRead;
|
| +};
|
| +
|
| +struct GrPipelineOptimizations {
|
| + GrProcOptInfo fColorPOI;
|
| + GrProcOptInfo fCoveragePOI;
|
| + GrBatchToXPOverrides fOverrides;
|
| +};
|
| +
|
| /**
|
| * Class that holds an optimized version of a GrPipelineBuilder. It is meant to be an immutable
|
| * class, and contains all data needed to set the state for a gpu draw.
|
| @@ -36,14 +46,13 @@ public:
|
| struct CreateArgs {
|
| const GrPipelineBuilder* fPipelineBuilder;
|
| const GrCaps* fCaps;
|
| - GrProcOptInfo fColorPOI;
|
| - GrProcOptInfo fCoveragePOI;
|
| + GrPipelineOptimizations fOpts;
|
| const GrScissorState* fScissor;
|
| GrXferProcessor::DstTexture fDstTexture;
|
| };
|
|
|
| /** Creates a pipeline into a pre-allocated buffer */
|
| - static GrPipeline* CreateAt(void* memory, const CreateArgs&, GrPipelineOptimizations*);
|
| + static GrPipeline* CreateAt(void* memory, const CreateArgs&, GrXPOverridesForBatch*);
|
|
|
| /// @}
|
|
|
|
|