summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-05-22 17:18:54 -0700
committerChris Craik <ccraik@google.com>2015-05-22 17:47:52 -0700
commitc08f4ad7859f4ad1685deb23d74afc792686dc28 (patch)
tree2a519893d8b14f2cbbfdaa51049d6789040153e9 /libs
parentaa1cd25db72297f13539928e8aa45ba992f2f230 (diff)
downloadframeworks_base-c08f4ad7859f4ad1685deb23d74afc792686dc28.zip
frameworks_base-c08f4ad7859f4ad1685deb23d74afc792686dc28.tar.gz
frameworks_base-c08f4ad7859f4ad1685deb23d74afc792686dc28.tar.bz2
Unflip TextureView getBitmap readback
bug:20165725 Change-Id: I09035f43be140145c54221d6865206ce486994c9
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/LayerRenderer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp
index 223bdf0..d9b40ae 100644
--- a/libs/hwui/LayerRenderer.cpp
+++ b/libs/hwui/LayerRenderer.cpp
@@ -439,13 +439,6 @@ bool LayerRenderer::copyLayer(RenderState& renderState, Layer* layer, SkBitmap*
renderer.translate(0.0f, bitmap->height());
renderer.scale(1.0f, -1.0f);
- mat4 texTransform(layer->getTexTransform());
-
- mat4 invert;
- invert.translate(0.0f, 1.0f);
- invert.scale(1.0f, -1.0f, 1.0f);
- layer->getTexTransform().multiply(invert);
-
if ((error = glGetError()) != GL_NO_ERROR) goto error;
{
@@ -459,7 +452,6 @@ bool LayerRenderer::copyLayer(RenderState& renderState, Layer* layer, SkBitmap*
if ((error = glGetError()) != GL_NO_ERROR) goto error;
}
- layer->getTexTransform().load(texTransform);
status = true;
}