Skip to content
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

Cherry pick PR #5113: [media] Move StarboardRenderer to MojoRenderer #5228

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

cobalt-github-releaser-bot
Copy link
Collaborator

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

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)
@cobalt-github-releaser-bot cobalt-github-releaser-bot requested a review from a team as a code owner March 27, 2025 23:39
@cobalt-github-releaser-bot cobalt-github-releaser-bot requested a review from a team as a code owner March 27, 2025 23:39
@cobalt-github-releaser-bot cobalt-github-releaser-bot requested review from kaidokert and removed request for a team March 27, 2025 23:39
@borongc borongc enabled auto-merge (squash) March 27, 2025 23:45
@datadog-cobalt-youtube
Copy link

Datadog Report

Branch report: cherry-pick-26.android-5113
Commit report: efeeb70
Test service: cobalt

✅ 0 Failed, 29714 Passed, 2925 Skipped, 1m 24.16s Total Time

@borongc borongc merged commit 3c6c38f into 26.android Mar 28, 2025
145 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants