
This CL fixes bug 1234772 where the ResourceFormat promised by skia in MakePromiseSkImage* is ALPHA8 whereas that expected in AdjustTexStorageFormat() is R8/16F. This is dues to changes in GLES2/3 version formats. It adjusts the promised format to R8/16F accordingly. Bug: 1234772 Change-Id: I9c40661f102f249d6125998f0549113eb0afda0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3063901 Commit-Queue: Saifuddin Hitawala <hitawala@chromium.org> Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#908112}