-
Sunny Sachanandani authored
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/+/2386671Reviewed-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}
b71115a3