DescriptionNo more caching volatile bitmaps
VideoFrames are always marked as volatile and load_yuv_texture() was caching everything, even volatile bitmaps. To solve this issue, we no longer cache volatile bitmaps' YUV planes in load_yuv_texture().
There is another issue which cause this to happen, related to how VideoImageGenerator::onGetYUV8Planes() is implemented, which is logged here: crbug.com/455235
BUG=450706, 450699
Committed: https://skia.googlesource.com/skia/+/ba18f91b9f025dc53ab3cb19ea1407c55ad85937
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use optionalKey instead of a cache bool #Messages
Total messages: 13 (3 generated)
|