Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make paint_op_buffer_serializer use SkColor4f
This CL is part of the effort of increasing color precision and color gamut support in chrome. https://docs.google.com/document/d/1y5qhBuK7sFkXt7c6vcrAJeIofj3h2UQ3btX3Hv1hrz8/edit#heading=h.69111d60ji6h particularly https://docs.google.com/document/d/1kvl_hwnIG3lAXcSxRndgcqbDGEvGoiD52-VwOuVfveE/edit?resourcekey=0-uvlZUrkCQ-o0H8ohYepsqA To do so we are changing viz, cc, and other chrome parts to use SkColor4f instead of SkColor. This CL addresses the paint_op_buffer_serializer, removing SkColor from there in benefit of using SkColor4f. The only missing part of cc/paint with SkColor would be Skottie and we can probably wait to do that part until later. Bug: 1308932 Change-Id: I34594a57ebef9cd20977fc492ebda86bc514d6d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3764895 Reviewed-by: Aaron Krajeski <aaronhk@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Auto-Submit: Juanmi Huertas <juanmihd@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1026409}
- Loading branch information