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
BF: Amendments to JP fix to getRegionOfFrame - now working #1854
Conversation
Window get region fix
Codecov Report
@@ Coverage Diff @@
## master #1854 +/- ##
==========================================
- Coverage 45.64% 45.64% -0.01%
==========================================
Files 221 221
Lines 35174 35168 -6
Branches 5864 5864
==========================================
- Hits 16054 16051 -3
+ Misses 17541 17539 -2
+ Partials 1579 1578 -1
Continue to review full report at Codecov.
|
But it looks like you're saying that accepting this change means that we're no longer able to fetch from the back buffer? We do need to be able to do that. We can't just turn off uses of the back-buffer; there are times when it's important to be able to exam pixels before a flip command. |
I dont think I have made any changes that stop you from fetching from the back buffer. I was just saying that if you do try to use the back buffer, the buffered image does not seem to hold all the components, only the background image. So, when you try to get specific pixels from the back buffer, you cannot get pixels from visual components, such as shape, as they do not appear on the back buffered image. |
Ah, you're meaning from a Builder experiment? That's fine, yes the issue is that all stimuli that have been rendered (with .draw() ) should show up in the back buffer, but stimuli rendered using |
Great thanks. So, should we draw to back buffer if _getFrame is requested with |
I don't follow. Can chat tomorrow though |
Ok, as this request is ok for now, would you mind merging with master? |
Note, getpixel from the returned image object does not work if back buffer is used, or if full screen is used.