Currently in GLRenderer, resources are acquired via DisplayResourceProvider, which uses the legacy mailbox system. We should convert DisplayResourceProvider to use SharedImage when possible.
This has a few parts:
- Add a flag to Mailbox so DisplayResourceProvider knows whether it can
use SharedImage functions on a given mailbox.
- Add optional paths to use glCreateAndTexStorage2DSharedImageCHROMIUM to
generate GL textures from mailboxes. Also add correct Begin/end calls.
Comment 1 by bugdroid1@chromium.org
, Jan 18 (4 days ago)