summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/14
diff options
context:
space:
mode:
authorSangkyu Lee <sk82.lee@lge.com>2012-12-10 15:47:00 +0900
committerRomain Guy <romainguy@google.com>2013-01-08 17:10:24 -0800
commit955beb2b96a78cf6ee990d0f20bcaf2d22ce608b (patch)
tree3df2be847e3f97f3e8a49e200c8153f75d02cc54 /docs/html/sdk/api_diff/14
parent4a62374544152d9cc6dafd3e8dd9b0ba475a974c (diff)
Optimize drawHardwareAccelerated method in Editor class
When inserting a new line or breaking a line, every display list was invalidated and rebuilt before. However, we can reuse the display lists above intactly and also reuse the display lists below with only updating drawing locations. This patch reuses the display lists if possible. The display lists above the inserted line are just reused and the display lists below are reused with only updating drawing locations not fullly rebuilt. mIndexOfFirstChangedBlock is the index of the first block which is moved by inserting or breaking a line. So the display list whose index is >= mIndexOfFirstChangedBlock only needs to update its drawing location. Change-Id: Ica20deb0ebb5750de21356ed31fa9f86e657ff92 Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
Diffstat (limited to 'docs/html/sdk/api_diff/14')
0 files changed, 0 insertions, 0 deletions