SharedImageStub: Add Create/UpdateSharedImage() methods
This CL follows up on a comment [1], where instead of forcing clients to make the context current and then call either CreateSharedImage or UpdateSharedImage, it is suggested to have public methods bundling those operations in SharedImageStub. This CL does just that, making the current OnCreateGMBSharedImage and OnUpdateSharedImage use the newly introduced ones. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1772642/30/media/gpu/linux/mailbox_video_frame_converter.cc#361 Bug: 998279 Change-Id: If39d94b04d2851e6ed8e248e9af96908dfa27e8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1794274Reviewed-by:Eric Karl <ericrk@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#695266}
Showing
Please register or sign in to comment