diff options
| author | 2015-09-21 16:16:22 -0700 | |
|---|---|---|
| committer | 2015-09-21 16:16:22 -0700 | |
| commit | 6c2c62c1eddd9ff076cc13616c2a185cf074c786 (patch) | |
| tree | 5f2a62d3e0c951fe9892f8ed9a45806a0cea4308 /libs/hwui/GlopBuilder.cpp | |
| parent | 0e35962e6d5a1ca534040f3da3fd04ad505499f9 (diff) | |
Remove unnecessary glop color storage
Change-Id: I68817449d2e0d593dccb7e9be8c8ca45b7ab2fc2
Diffstat (limited to 'libs/hwui/GlopBuilder.cpp')
| -rw-r--r-- | libs/hwui/GlopBuilder.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/hwui/GlopBuilder.cpp b/libs/hwui/GlopBuilder.cpp index e27b26b1d091..69559a77c3a0 100644 --- a/libs/hwui/GlopBuilder.cpp +++ b/libs/hwui/GlopBuilder.cpp @@ -435,7 +435,6 @@ GlopBuilder& GlopBuilder::setFillLayer(Texture& texture, const SkColorFilter* co mOutGlop->fill.texture = { &texture, GL_TEXTURE_2D, GL_LINEAR, GL_CLAMP_TO_EDGE, nullptr }; - mOutGlop->fill.color = { alpha, alpha, alpha, alpha }; setFill(SK_ColorWHITE, alpha, mode, modeUsage, nullptr, colorFilter); @@ -449,7 +448,6 @@ GlopBuilder& GlopBuilder::setFillTextureLayer(Layer& layer, float alpha) { mOutGlop->fill.texture = { &(layer.getTexture()), layer.getRenderTarget(), GL_LINEAR, GL_CLAMP_TO_EDGE, &layer.getTexTransform() }; - mOutGlop->fill.color = { alpha, alpha, alpha, alpha }; setFill(SK_ColorWHITE, alpha, layer.getMode(), Blend::ModeOrderSwap::NoSwap, nullptr, layer.getColorFilter()); |