aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPrimitiveProcessor.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-03-21 14:22:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-21 23:55:32 +0000
commit54d212e1bfaea0be88c3c40820d0b1ae0daebecf (patch)
treece606e9d88dfd04d592d406881b7e6e5d9a855cf /src/gpu/GrPrimitiveProcessor.h
parent337432dc092619431eaa62f13e6347f2272f1fa7 (diff)
Revert "Revert "Remove GrPipeline from GrDrawOp.""
This reverts commit c48af934608bbb65650641f66adb51f2102d4274. Change-Id: I4ba78fd7e5a7d406b88223ca6f7245c029b60f76 Reviewed-on: https://skia-review.googlesource.com/9981 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrPrimitiveProcessor.h')
-rw-r--r--src/gpu/GrPrimitiveProcessor.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gpu/GrPrimitiveProcessor.h b/src/gpu/GrPrimitiveProcessor.h
index f5b8fe9cf0..4c439433f5 100644
--- a/src/gpu/GrPrimitiveProcessor.h
+++ b/src/gpu/GrPrimitiveProcessor.h
@@ -70,11 +70,6 @@ public:
return false;
}
- /**
- * Returns true if the color written to the output pixel depends on the pixels previous value.
- */
- bool xpReadsDst() const { return SkToBool(kXPReadsDst_Flag & fFlags); }
-
private:
enum {
// If this is not set the primitive processor need not produce local coordinates
@@ -87,8 +82,6 @@ private:
// If this flag is set the GrPrimitiveProcessor must produce fOverrideColor as its
// output color. If not set fOverrideColor is to be ignored.
kUseOverrideColor_Flag = 0x4,
-
- kXPReadsDst_Flag = 0x8,
};
uint32_t fFlags;