aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPipeline.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-02-03 15:02:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-03 15:02:43 -0800
commit74a11753604768bf461b80cabb66060e8564d82c (patch)
treea05ea0f59d44fe6b200505a69408fbd96406ca54 /src/gpu/GrPipeline.h
parentbf015c34e4c36467dfef385893f375b68718450e (diff)
Move DstCopy on gpu into the GrXferProcessor.
Diffstat (limited to 'src/gpu/GrPipeline.h')
-rw-r--r--src/gpu/GrPipeline.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h
index 24d0b62795..8480c00458 100644
--- a/src/gpu/GrPipeline.h
+++ b/src/gpu/GrPipeline.h
@@ -132,9 +132,7 @@ public:
///////////////////////////////////////////////////////////////////////////
- const GrDeviceCoordTexture* getDstCopy() const { return fDstCopy.texture() ? &fDstCopy : NULL; }
-
- const GrProgramDesc::DescInfo& descInfo() const { return fDescInfo; }
+ bool readsFragPosition() const { return fReadsFragPosition; }
const GrPipelineInfo& getInitBatchTracker() const { return fInitBT; }
@@ -177,11 +175,10 @@ private:
GrScissorState fScissorState;
GrStencilSettings fStencilSettings;
GrPipelineBuilder::DrawFace fDrawFace;
- GrDeviceCoordTexture fDstCopy;
uint32_t fFlags;
ProgramXferProcessor fXferProcessor;
FragmentStageArray fFragmentStages;
- GrProgramDesc::DescInfo fDescInfo;
+ bool fReadsFragPosition;
GrPipelineInfo fInitBT;
// This function is equivalent to the offset into fFragmentStages where coverage stages begin.