diff options
author | Diego Perez <diegoperez@google.com> | 2016-04-04 14:28:50 +0100 |
---|---|---|
committer | Diego Perez <diegoperez@google.com> | 2016-04-04 19:43:48 +0100 |
commit | 2605f91f705fbf51800c6fde8ee8cd5f199447b4 (patch) | |
tree | 1e915ad7b01a1a1c7462dbd8b17ab335d5d7edb4 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 18e7e10f67384796282c913805b0124137bd13e5 (diff) |
Separate inflate from render step
Up until now, createSession will always do a first render. With the new
embedded layoutlib we might want to actually call objects from the
inflated view before doing a render or even do it between renders.
This allows to avoid the first initial render unless needed.
This CL also fixes a bug that would only happen when multiple render
calls are issued. When scrolling, use scrollTo since we likely want
absolute positions, not relative.
Change-Id: I4b1d8388d7218a8de33e25cd546fd965fcb07dc7
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions