Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Added future_frame_data, to avoid blocking the VR render thread - #62

Merged
bors-servo merged 2 commits into
servo:masterfrom
asajeffrey:future-fame-data
Feb 26, 2019
Merged

bors-servo merged 2 commits into
servo:masterfrom
asajeffrey:future-fame-data

Conversation

@asajeffrey

Copy link
Copy Markdown

At the moment, the VR render thread blocks on the VR device, waiting for the next frame. This PR makes it possible for the VR display to return a future, so the JS thread end up blocking rather than the VR render thread.

@asajeffrey

Copy link
Copy Markdown
Author

Fixes #60

@asajeffrey

Copy link
Copy Markdown
Author

servo/servo#22938 is the matching servo PR.

@paulrouget

Copy link
Copy Markdown
Contributor

Looks good to me.

@asajeffrey

Copy link
Copy Markdown
Author

@bors-servo r=paulrouget

1 similar comment
@Manishearth

Copy link
Copy Markdown
Member

@bors-servo r=paulrouget

@Manishearth Manishearth reopened this Feb 26, 2019
@Manishearth

Copy link
Copy Markdown
Member

@bors-servo r=paulrouget

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit b81bb58 has been approved by paulrouget

bors-servo pushed a commit that referenced this pull request Feb 26, 2019
Added future_frame_data, to avoid blocking the VR render thread

At the moment, the VR render thread blocks on the VR device, waiting for the next frame. This PR makes it possible for the VR display to return a future, so the JS thread end up blocking rather than the VR render thread.
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit b81bb58 with merge 6a4e30c...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-travis
Approved by: paulrouget
Pushing 6a4e30c to master...

@bors-servo
bors-servo merged commit b81bb58 into servo:master Feb 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants