summaryrefslogtreecommitdiffstats
path: root/libs/hwui/LayerRenderer.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-03-02 17:50:26 -0800
committerChris Craik <ccraik@google.com>2015-03-02 17:56:06 -0800
commite5c6584a402fb3b1fe0507e4e00e601bec8f1bbc (patch)
tree724a7a9622fe905b79f6efd37391c8daf135c1bc /libs/hwui/LayerRenderer.cpp
parentc66f3baa42b8a732952abf1967c68f77d3e26131 (diff)
downloadframeworks_base-e5c6584a402fb3b1fe0507e4e00e601bec8f1bbc.zip
frameworks_base-e5c6584a402fb3b1fe0507e4e00e601bec8f1bbc.tar.gz
frameworks_base-e5c6584a402fb3b1fe0507e4e00e601bec8f1bbc.tar.bz2
Constructor cleanup
Change-Id: Ic39911d08f44c3174de91fb92fcd4cab73fe4654
Diffstat (limited to 'libs/hwui/LayerRenderer.cpp')
-rw-r--r--libs/hwui/LayerRenderer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp
index 1326206..223bdf0 100644
--- a/libs/hwui/LayerRenderer.cpp
+++ b/libs/hwui/LayerRenderer.cpp
@@ -275,9 +275,6 @@ Layer* LayerRenderer::createTextureLayer(RenderState& renderState) {
Layer* layer = new Layer(Layer::kType_Texture, renderState, 0, 0);
layer->setCacheable(false);
- layer->setEmpty(true);
- layer->setFbo(0);
- layer->setAlpha(255, SkXfermode::kSrcOver_Mode);
layer->layer.set(0.0f, 0.0f, 0.0f, 0.0f);
layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f);
layer->region.clear();