diff options
author | 2016-01-30 09:59:10 -0800 | |
---|---|---|
committer | 2016-01-30 09:59:10 -0800 | |
commit | 2279325d539700ee3da29d6e874b3b3ce1dcf49c (patch) | |
tree | fa68207d94b4919c1759578a5d5192786d83c6d6 /include/gpu/GrXferProcessor.h | |
parent | ad38ed6003ad89a21e40d76987db4bba7d42f3d0 (diff) |
added support for PLS path rendering
BUG=skia:3555
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1541903002
Committed: https://skia.googlesource.com/skia/+/7df3f5e127f8016d17b637cc48a6a4718f1a6822
Review URL: https://codereview.chromium.org/1541903002
Diffstat (limited to 'include/gpu/GrXferProcessor.h')
-rw-r--r-- | include/gpu/GrXferProcessor.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h index ce26709d9a..3a698143c3 100644 --- a/include/gpu/GrXferProcessor.h +++ b/include/gpu/GrXferProcessor.h @@ -355,15 +355,19 @@ private: const GrPipelineOptimizations& optimizations, bool hasMixedSamples, const DstTexture*) const = 0; + + virtual bool onIsEqual(const GrXPFactory&) const = 0; + + bool willReadDstColor(const GrCaps& caps, + const GrPipelineOptimizations& optimizations, + bool hasMixedSamples) const; /** * Returns true if the XP generated by this factory will explicitly read dst in the fragment * shader. */ - virtual bool willReadDstColor(const GrCaps& caps, - const GrPipelineOptimizations& optimizations, - bool hasMixedSamples) const = 0; - - virtual bool onIsEqual(const GrXPFactory&) const = 0; + virtual bool onWillReadDstColor(const GrCaps& caps, + const GrPipelineOptimizations& optimizations, + bool hasMixedSamples) const = 0; static uint32_t GenClassID() { // fCurrXPFactoryID has been initialized to kIllegalXPFactoryID. The |