Remove proxy-to-main-thread from new async drawing model

RESOLVED FIXED

Status

()

Core
Plug-ins
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: cjones, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Bug 651192 will get us to point where support multi-threaded plugin renderers, but not concurrently with the main thread because the non-main-threads proxy SetCurrent back to main.  The purpose of this bug is to stop doing that.

Rob and I discussed the following model
 - when the plugin sets the "will SetCurrent off-main-thread" flag, gecko creates a dedicated SetCurrent thread
 - the SetCurrent thread gets a direct channel to the browser, never blocking on plugin main thread
 - all SetCurrent calls from all threads are proxied to the SetCurrent thread.  We can asynchronously proxy calls by copying the underlying surface, but initially it's probably easier to synchronously proxy.
This should no longer be relevant with the new implementation of the model. SetCurrent now works fine off other threads.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.