Call MakePromiseSkImage every frame
This allows SkiaOutputSurfaceImpl to add the ImageContextImpl to images_in_current_paint_. This will ImageContextImpl::BeginAccessIfNecessary for every ImageContext displayed in the current frame. This guarantees that ImageContextImpl::promise_image_texture_ when Skia calls fulfill on the promise SkImage. This particular fix was picked because (a) it is obviously correct (b) is easy to merge onto M78 branch Bug: 1000004 Change-Id: I9c46a22813cc474738b744fcefb34c4a765bec5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801029Reviewed-by:Peng Huang <penghuang@chromium.org> Commit-Queue: Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#696038}
Showing
Please register or sign in to comment