Add query to GrXPFactory about coverage-as-alpha optimization
authorBrian Salomon <bsalomon@google.com>
Mon, 13 Mar 2017 14:36:40 +0000 (10:36 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 13 Mar 2017 16:26:56 +0000 (16:26 +0000)
commit780b41fc10fb212ec6d9a9aeb7ca4cc0292fb85e
tree69aca5cd839b6bf4e054113bf499aa56dc78ec67
parent4f7062378eb7bdaf6ab19d178d54effd55adcc72
Add query to GrXPFactory about coverage-as-alpha optimization

This will be needed to have GrDrawOps that haven't yet built pipelines.

Change-Id: If5292aaa5dc9f98dccbe27be98960b630332158d
Reviewed-on: https://skia-review.googlesource.com/9480
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
src/gpu/GrXferProcessor.cpp
src/gpu/GrXferProcessor.h
src/gpu/effects/GrCoverageSetOpXP.h
src/gpu/effects/GrCustomXfermode.cpp
src/gpu/effects/GrDisableColorXP.h
src/gpu/effects/GrPorterDuffXferProcessor.cpp
src/gpu/effects/GrPorterDuffXferProcessor.h