commit | 138c21fbec12bead3c7ca1f181c3fd35542ccb00 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Thu Apr 28 16:59:42 2016 -0700 |
committer | Chris Craik <ccraik@google.com> | Tue May 03 14:36:29 2016 -0700 |
tree | 44e5b182b83c2532dd02f1ccb6d9c9186a48c4cf | |
parent | 08ca2e3a7593ced4967c56709a1fe675408d42dc [diff] [blame] |
Use LUT for computing final shadow alpha bug:27415250 Significantly reduces shadow fragment shader computation. Change-Id: Ie9b3c712700754b3734d0ae9cda8751c298fc59e
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp index eaa1c33..949ad45 100644 --- a/libs/hwui/Caches.cpp +++ b/libs/hwui/Caches.cpp
@@ -74,6 +74,7 @@ mPixelBufferState = new PixelBufferState(); mTextureState = new TextureState(); + mTextureState->constructTexture(*this); return true; }