[Zucchini] Add mechinism to access sub buffer view from Element

Desktop / Chromium - Etienne Pierre-Doray [chromium.org] - 9 August 2017 17:01 EDT

This CL adds- BufferRegion struct, which is used to access a sub -iew of a BufferView.
- Conversion from element to BufferView.

Bug: 729154 Change-Id: Ie869b140949edcbe8eb765ab6f9acd07a083cd1f Reviewed-on: https://chromium-review.googlesource.com/606739 Commit-Queue: Etienne Pierre-Doray

288ca1e [Zucchini] Add mechinism to access sub buffer view from Element.
chrome/installer/zucchini/buffer_view.h | 19 +++++++++++++++++++
chrome/installer/zucchini/buffer_view_unittest.cc | 16 ++++++++++++++++
chrome/installer/zucchini/image_utils.h | 13 +++++++++++++
3 files changed, 48 insertions(+)

Upstream: git.chromium.org


  • Share