commit | 827d7ca44819c61df92de523660c51bbc28aeeaa | [log] [tgz] |
---|---|---|
author | Antoine Labour <piman@chromium.org> | Tue Nov 06 21:52:43 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 06 21:52:43 2018 |
tree | 8a86f666ef5756930404451c0256b2fe619cdb2f | |
parent | a925cbb58645e5eac9e4c53c48a3a3ac2e363923 [diff] |
Add GpuMemoryBuffer import in SharedImageInterface This adds 2 entrypoints: - CreateSharedImage, which takes a GpuMemoryBuffer to wrap into a shared image (equivalent to CreateImageCHROMIUM+BindTexImage2DCHROMIUM) - UpdateSharedImage, which updates the binding after CPU/external writes to the GMB (equivalent to ReleaseTexImage2DCHROMIUM+BindTexImage2DCHROMIUM). This is only plumbed to SharedImageBackingFactoryGLTexture in this CL. Bug: 870116 Change-Id: Ie7645b65649b0f34d5431fc00f62da9d5661c570 Reviewed-on: https://chromium-review.googlesource.com/c/1316250 Reviewed-by: Chris Palmer <palmer@chromium.org> Reviewed-by: Eric Karl <ericrk@chromium.org> Commit-Queue: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#605832}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .