-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[media] Move StarboardRenderer to MojoRenderer #5113
Conversation
10d7c58
to
3acdba0
Compare
aa08231
to
0db7fab
Compare
0db7fab
to
f3bdc98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, ran out of time. In general looks good. Is the new code covered by existing unit tests?
f3bdc98
to
f16500a
Compare
197faeb
to
61e88ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Apologies for the slow review.
I left a few comments, nothing major.
16af8d2
to
598a006
Compare
Move StarboardRenderer to Gpu thread, and each of StarboardRenderer is ran on PooledSingleThreadTaskRunner. This allows Starboard to access Chrome_InProcGpuThread for graphical tasks. b/394368542
598a006
to
2b4239d
Compare
Move StarboardRenderer to Gpu thread, and each of StarboardRenderer is ran on PooledSingleThreadTaskRunner. This allows Starboard to access `Chrome_InProcGpuThread` for graphical tasks. This PR adds a `CreateStarboardRenderer()` to the InterfaceFactory mojom with the purpose of running StarboardRenderer on Gpu thread; this forced an implementation in a number of places, namely MediaInterfaceFactory, MediaInterfaceProxy and FramelessMediaInterfaceProxy. b/394368542 b/378740140 b/405401569 (cherry picked from commit df40583)
…5228) Refer to the original PR: #5113 Move StarboardRenderer to Gpu thread, and each of StarboardRenderer is ran on PooledSingleThreadTaskRunner. This allows Starboard to access `Chrome_InProcGpuThread` for graphical tasks. This PR adds a `CreateStarboardRenderer()` to the InterfaceFactory mojom with the purpose of running StarboardRenderer on Gpu thread; this forced an implementation in a number of places, namely MediaInterfaceFactory, MediaInterfaceProxy and FramelessMediaInterfaceProxy. b/394368542 b/378740140 b/405401569 Co-authored-by: Bo-Rong Chen <[email protected]>
Move StarboardRenderer to Gpu thread, and each of StarboardRenderer is ran on PooledSingleThreadTaskRunner. This allows Starboard to access
Chrome_InProcGpuThread
for graphical tasks.This PR adds a
CreateStarboardRenderer()
to the InterfaceFactory mojom with the purpose of running StarboardRenderer on Gpu thread; this forced an implementation in a number of places, namely MediaInterfaceFactory, MediaInterfaceProxy and FramelessMediaInterfaceProxy.b/394368542
b/378740140
b/405401569