Closed Bug 1443297 Opened 5 years ago Closed 5 years ago
What is Host
Layer Manager::m Compositor Bridge ID and why is it only 32 bits?
59 bytes, text/x-review-board-request
https://searchfox.org/mozilla-central/rev/d2b4b40901c15614fad2fa34718eea428774306e/gfx/layers/composite/LayerManagerComposite.h#211-217,227 It's 32 bits. The setter/getter functions take/return 32 bit values. But all the things that call those setters and getters provide and expect a 64-bit value.
Matt, you seem to have been the reviewer. Any guesses why?
The patch I reviewed just moved the code from Compositor to HostLayerManager, the mismatch has been around for longer. I haven't dug into the history further, since I doubt it matters, we should just switch it to 64bit. Looks like it's used to lookup the right top-level CompositorBridge to schedule a composite when we get an async video frame pushed. Nical might remember more about why it works this why if you want to follow this further :)
I'll just fix this.
Assignee: nobody → bugmail
Summary: What is LayerManagerComposite::mCompositorBridgeID and why is it only 32 bits? → What is HostLayerManager::mCompositorBridgeID and why is it only 32 bits?
Comment on attachment 8958857 [details] Bug 1443297 - Fix sizing error for HostLayerManager::mCompositorBridgeID. https://reviewboard.mozilla.org/r/227738/#review233492
Attachment #8958857 - Flags: review?(jmuizelaar) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/28707a88967e Fix sizing error for HostLayerManager::mCompositorBridgeID. r=jrmuizel
You need to log in before you can comment on or make changes to this bug.