DescriptionTwo new benches for ETC1 bitmaps.
First bench: Simply render from a compressed ETC1 bitmap. This is roughly
equal between compressed and uncompressed data.
Second bench: Notify the bitmap that the pixels have changed (that's right,
like a liar) to force a re-upload to the GPU. On this bench, decompressed
textures seem to inexplicably do an order of magnitude better than
compressed textures when it should be the other way around, but that
investigation is reserved for a future CL.
Committed: https://skia.googlesource.com/skia/+/9a3cdbb3d0957ad3f04d02277a4ce839752f4efd
Patch Set 1 #Patch Set 2 : Fix a bunch of comments #
Total comments: 20
Patch Set 3 : Code review changes #
Total comments: 4
Patch Set 4 : Better names and comments #Patch Set 5 : Small nits #Patch Set 6 : Remove 'this' from initializer list #Patch Set 7 : Call notify pixels changed directly on the pixel ref #
Messages
Total messages: 15 (0 generated)
|