summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-02-17 12:12:23 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-23 10:10:22 +0100
commit9236370bed2e4959cfd584def062a712ec0d7b56 (patch)
tree68ee799ef8d1eea1e37a36c2c2f18be0f9fc67ec /reportdesign
parent6ab77b350b0c4b5d2226a0c9ab861f9b80936019 (diff)
android: use locking to make tile redraw more predictable
CopyOnWriteList is a good thread safe container to store tiles, however any change to the list makes a internal copy of the underlaying array which contains the changes. The effect of this is that this changes aren't immediately shown or only partially in the other (UI) thread. So they are sometimes partially drawn or drawn with a delay. This replaces the CopyOnWriteList with a simple thread unsafe ArrayList and introduces Read/Write locking to all ArrayList operations. Read operations don't lock, only a write operation locks access. Change-Id: I5783c6cde96360a6fd47faa801eec35e4debb792
Diffstat (limited to 'reportdesign')
0 files changed, 0 insertions, 0 deletions