OSDN Git Service

Performance Optimization: Align texture dirty rect
authorywen <ywen@codeaurora.org>
Mon, 15 Feb 2016 08:09:40 +0000 (16:09 +0800)
committerDigish Pandya <digishp@codeaurora.org>
Wed, 15 Jun 2016 08:32:25 +0000 (08:32 +0000)
commit229cad0ab219289adf34a8f40c3237b688b6a764
tree57e3b8f2c8ea40ccbe4fa9b9bb5f0eafd2aaa464
parent1818ef08a033f0f616524766bf2db009b4e30dd7
Performance Optimization: Align texture dirty rect

Align x offset and width to 32, y offset and height to 4.
It improves the font texture upload performance.

Change-Id: I967eeed90658f2ce1eb08cb2740d5dc34c72f40b
libs/hwui/font/CacheTexture.cpp