[graphite] Fix some CanUseHardwareBlending logic
* Calling GetBlendFormula requires passing in a Porter-Duff blend mode, so only do so for the dual-source blending check for non-advanced blend modes.
* If the coverage is LCD, we need to use the LCD-specific GetBlendFormula method.
Change-Id: I856c66057fd3575e30481c27d734490c91ecb4a6
Bug: b/239726010
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/987896
Auto-Submit: Nicolette Prevost <nicolettep@google.com>
Commit-Queue: Nicolette Prevost <nicolettep@google.com>
Commit-Queue: Thomas Smith <thomsmit@google.com>
Reviewed-by: Thomas Smith <thomsmit@google.com>
1 file changed