Reland "media: Use GL_UNPACK_ROW_LENGTH for software planes stride adaptation"
This is a reland of 1364e616 Source alignment is taken into account and a new pixel test is added. Original change's description: > Reland "media: Use GL_UNPACK_ROW_LENGTH for software planes stride adaptation" > > This is a reland of b71115a3 > > Relanding after triaging Gold failures on gpu.fyi bots in previous > attempt. > > Original change's description: > > media: Use GL_UNPACK_ROW_LENGTH for software planes stride adaptation > > > > Avoid a CPU side copy to account for mismatched strides between the > > decoded video frame and GPU texture created for uploading the frame. > > GL_UNPACK_ROW_LENGTH allows specifying the stride for glTexSubImage2D, > > and is part of the GL_EXT_unpack_subimage extension implemented by the > > command buffer on the client side. > > > > Also includes a pixel test with a VP8 video with a GL incompatible > > stride that doesn't match the video's coded size (992 vs 962). > > > > Bug: 1077211 > > Change-Id: I62753234bde3b92e64089c92a59e65ae2bc1c84c > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386671 > > Reviewed-by: Dale Curtis <dalecurtis@chromium.org> > > Reviewed-by: Zhenyao Mo <zmo@chromium.org> > > Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#803696} > > TBR=dalecurtis@chromium.org,zmo@chromium.org > > Bug: 1077211, 1124215 > Change-Id: I43a97e72cdd0ba633d4b374a2319fbc7dc7252f7 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390958 > Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> > Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> > Cr-Commit-Position: refs/heads/master@{#803960} Bug: 1077211 Change-Id: Ie2bf9653751bed6491a902a133b3b07b7b700f49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402192 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#808173}
Showing
This diff is collapsed.
Please register or sign in to comment