commit | d31e5b0a154232bccc78297192b470bbed4506cd | [log] [tgz] |
---|---|---|
author | Rob Tsuk <robtsuk@google.com> | Fri May 17 19:18:00 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri May 17 19:18:00 2019 +0000 |
tree | e6ac0132464ec0c47fbc05608b985eb87754e137 | |
parent | d8073125ee6a6c343666416450656efbef03fa26 [diff] |
[carnelian] Implement update area tracking Create an iterator to iterate over all included pixels in an update area. The use case for this iteration is to allow canvas to update only the portions of the pixel map that have changed. One specific use case for this feature is to avoid redrawing the entire background of the recovery UI when just the two strings have changed. The single call to fill_rect() that redraws the background can have its pixel iteration limited to the area that the labels occupied before updating. This update area feature is off by default, as it isn’t generally useful to programs using canvas. I feel this change is in the spirit of the testing hackathon, as the new feature includes a number of tests. If the testability review disagrees, this can wait another week to be merged. Change-Id: I8b676a5e1715a6fe3c41a4be470c2d1aadf2cce5
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.