commit | a90382fcf6759d4e13c20cf542ab5440ffd4f02d | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Tue Sep 17 09:01:56 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Sep 17 13:38:23 2019 +0000 |
tree | bdb1fb7f9b0e99d48e2f3b40775a7c055159f1d8 | |
parent | 747b3409bc2d99f9cba9c9349eaae53e0da5e21b [diff] |
Pass color types when creating texture with initial data. One describes the color type use case for the texture and the other the color type of the texel data, a la writePixels(). Bug: skia:6718 Change-Id: I3ca2ab9f76aaeca4b2861a171b1aaacaa0709d1e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/240679 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>