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

OS X: Async readback doesn't work #118

Closed
eile opened this issue Apr 30, 2012 · 1 comment
Closed

OS X: Async readback doesn't work #118

eile opened this issue Apr 30, 2012 · 1 comment
Assignees
Milestone

Comments

@eile
Copy link
Member

eile commented Apr 30, 2012

Asynchronous readbacks don't work on my machine (nVidia GPU). Iirc PBO readbacks are broken on OS X. Verify and implement workaround.

@ghost ghost assigned maxmah Apr 30, 2012
eile added a commit that referenced this issue Apr 30, 2012
@eile eile closed this as completed in c1b721b Jul 9, 2012
@ghost ghost assigned eile Jul 9, 2012
@eile
Copy link
Member Author

eile commented Jul 9, 2012

The reason is that GL does not guarantee that the commands are sent to the GPU without a flush. What happened is that the readpixel and PBO tokens are inserted into the command stream, but not flushed to the GPU. When the second thread tries to map the buffer the GPU doesn't know anything about it. This could also be the reason for issue #138

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

No branches or pull requests

2 participants