DescriptionPPAPI: Make GetProxiedInterface not re-enter the plugin
It's important that we never re-enter the plugin when it is blocked on
synchronous calls to the renderer (unless they are scripting messages, which
have to be re-entrant). This especially breaks assumptions in OpenGL usage.
This required making the plugin side of the PPB_VideoDecoder_Dev lazier about looking up the interface, so that it wouldn't request the interface while the plugin is blocked on the Create message. I audited
all the other uses of GetProxiedInterface from the renderer, and none of the
others happen as a result of a sync plugin->renderer message.
BUG=418651
Committed: https://crrev.com/a17de8faa97ca33d1e58e08392dbdc3e316d6cbe
Cr-Commit-Position: refs/heads/master@{#303247}
Committed: https://crrev.com/edf95fc829884968fa65b88220c5058fb072bb8c
Cr-Commit-Position: refs/heads/master@{#303552}
Patch Set 1 #Patch Set 2 : Make SimulateInputEvent test message asynchronous. #
Total comments: 1
Patch Set 3 : Register message handler properly #Patch Set 4 : Do it piman's way; it's simpler #Patch Set 5 : Oops, make SimulateInputEvent async again #
Messages
Total messages: 29 (7 generated)
|