Improve reading SkImage pixels in canvas captureStream() |
||
Issue descriptionWe use readPixels() to access the underlying data for canvas capture, but there cna be some improvements over it: - Instead of asking for ARGB specifically, we can use the native N32 type. After accessing pixels, we either way do a conversion to I420 so reading ARGB/ABGR wouldn't matter. - Handle cases where peekPixels() is available.
,
Oct 6 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 6 2017