Initialize test textures for ProcessorOptimizationValidationTest.
authorBrian Salomon <bsalomon@google.com>
Fri, 10 Feb 2017 17:39:26 +0000 (12:39 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 13 Feb 2017 15:21:34 +0000 (15:21 +0000)
commitd1a8bdfbb97647a2a46a5c179fc87fa3da1abd84
tree6b49f3dc1df9251e438611889cc2cd40a3e309d7
parentf6877090114c002d02bef3804dbcd6be52b23cfc
Initialize test textures for ProcessorOptimizationValidationTest.

Ensure the data in the RGBA texture is premul.

Reenable the "modulation" optimization flag on GrAlphaThresholdFragmentProcessor.

Change-Id: I49ef215cee83ea74526c589bcee4bc215bc28ba4
Reviewed-on: https://skia-review.googlesource.com/8323
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
src/effects/GrAlphaThresholdFragmentProcessor.cpp
tests/ProcessorTest.cpp