I programed some code for skia to support more compressed texture formats, including ETC2, BC2, BC3 formats.I found a related issue, https://bugs.chromium.org/p/skia/issues/detail?id=14354.I think it might be able to merge into skia.There are still unit test parts left to be done and there are some issues to be solved. The existing unit test for compressed textures is generate compressed texture data in solid color and then convert it to SkImage, which includes the process of encoding.It is difficult to encode without relying on third party libraries. But if I introduce the third-party library in skia, it will involve compiling the file to make my commit too complicated. And the encoding and decoding would only involve unit testing and would not affect the compressed textures upload to GPU and use. Is there a simpler way to implement unit tests? or is it possible to read the local compressed texture file directly?
Looking forward to members of the skia project team or anyone interested in discuss with me about this issue and helping me to be able to submit patches successfully.
Anyone who wants to know more about the code can contact me by email.