summaryrefslogtreecommitdiff
path: root/uui/util/uui.component
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-09-30 14:55:18 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-10-05 17:15:31 +0200
commit86186de42e13426305cf3dc8dfb076aff6a5e4ae (patch)
tree32620845af6969c54c4c06bb9560208928daed51 /uui/util/uui.component
parenta6ef5718475ba35b52d9de474741b640316502eb (diff)
create "disabled" image (icon) only if the original changes
Currently we create a "disabled" version of bitmaps in "Image" class (used for toolbar icons for example) in every draw call. This is not really optimal. The solution is to calculate the checksum of the original and create a "disabled" version only if the checksum changes. Change-Id: I6ed2d08c64fee028b479fedb35e4384f112e98e2
Diffstat (limited to 'uui/util/uui.component')
0 files changed, 0 insertions, 0 deletions