Add PaintCanvasVideoRenderer tests and fix issue with implicit copy
Add a bunch of new tests to cover CopyVideoFrameTexturesToGLTexture and Paint/Copy for when the source VideoFrame contains GPU textures. This uncovered an issue where in one particular case the frame was incorrectly cropped twice when copying a RGBA texture frame, which this patch also fixes. Bug: 969201 Change-Id: Id402a85840397522cd6b5c5e44bfe03abdc90f0f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1697529 Auto-Submit: Antoine Labour <piman@chromium.org> Reviewed-by:Dan Sanders <sandersd@chromium.org> Commit-Queue: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#676617}
Showing
This diff is collapsed.
Please register or sign in to comment