mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
6529a8c077
Move the initialization of SharedSurfacesParent from the compositor thread creation to mirror the other WebRender-specific components, such as the render thread creation. Now it will only be created if WebRender is in use. Also prevent shared surfaces from being used by the image frame allocator, even if image.mem.shared is set -- there is no purpose in allowing this at present. It was causing startup crashes for users who requested image.mem.shared and/or WebRender via gfx.webrender.all but did not actually get WebRender at all. Surfaces would get allocated in the shared memory, try to register themselves with the WR render thread, and then crash since that thread was never created. |
||
---|---|---|
.. | ||
gfxConfig.cpp | ||
gfxConfig.h | ||
gfxFallback.h | ||
gfxFeature.cpp | ||
gfxFeature.h | ||
gfxVarReceiver.h | ||
gfxVars.cpp | ||
gfxVars.h | ||
moz.build |