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

In a VR demo, run the eyes in parallel #122

Closed
wants to merge 1 commit into from

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Mar 25, 2019

Running the two eyes concurrently takes the CPU time down from ~1.8ms to ~1.4ms on my iMac.

@asajeffrey asajeffrey force-pushed the asajeffrey:demo-par-iter branch from 5d09cbb to 2ff1180 Mar 25, 2019
@asajeffrey asajeffrey force-pushed the asajeffrey:demo-par-iter branch from 2ff1180 to 4a0117f Apr 8, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Apr 8, 2019

Rebased. Review ping @pcwalton?

asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Apr 9, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Apr 10, 2019

It looks like pipelining makes this optimization difficult, since all the messages for camera 0 have to arrive before any of the messages for camera 1, so we'd need buffering to run the two cameras concurrently.

@pcwalton
Copy link
Collaborator

pcwalton commented Apr 10, 2019

Also, pipelining already achieves some of the gains from this, because it runs the sequential bottleneck in parallel with the tiling.

@pcwalton
Copy link
Collaborator

pcwalton commented Apr 30, 2019

This is no longer relevant with reprojection.

@pcwalton pcwalton closed this Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.