Or nical may know this: Hi Nicolas, I'm trying to build a gfx::Path in web-renderer (e.g. [WebRenderBridgeParent::AdvanceAnimations()](https://searchfox.org/mozilla-central/rev/696cf3b52a9aa04aa5013008a8b448904a298356/gfx/layers/wr/WebRenderBridgeParent.cpp#2160)). The caller is in GPU process I guess, so I cannot use `gfxPlatform::GetPlatform()->ScreenReferenceDrawTarget()` to get the DrawTarget on the compositor thread, right? (Because gfxPlatform cannot be initialized in GPU process) Do you have any suggestion to get `DrawTarget` in `WebRenderBridgeParent::AdvanceAnimations()`? Thanks.
Bug 1429305 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Or nical may know this: Hi Nicolas, I'm trying to build a gfx::Path in web-renderer (e.g. [WebRenderBridgeParent::AdvanceAnimations()](https://searchfox.org/mozilla-central/rev/696cf3b52a9aa04aa5013008a8b448904a298356/gfx/layers/wr/WebRenderBridgeParent.cpp#2160)). The caller is in GPU process I guess, so I cannot use `gfxPlatform::GetPlatform()->ScreenReferenceDrawTarget()` to get the DrawTarget on the compositor thread, right? (Because gfxPlatform cannot be initialized in GPU process) Do you have any suggestion to get `DrawTarget` in `WebRenderBridgeParent::AdvanceAnimations()`? Or Any way to get the `PathBuilder` if there is not `DrawTarget` in wr. Thanks.