Comment 36 for bug 771875

Revision history for this message
Klaus Reichl (klaus-reichl) wrote :

Hi,

Was sick, so no progress, except ...

Tried 2) from my last post "defer taking the picture", but no success, hmmm???

Even after a delay of 10 seconds, the glReadPixels deliverers the drawn frame around the selection. And to be clear here,
you don't see them any more on the screen so where is the cache?

So my analysis continued:

1) The GL stuff somewhere caches what screenshot.cpp draws on the screen to show the selection

2) The ??? removes the selection after shot has been taken on the screen

3) But not on the cache glReadPixels is working on (even 10 secs later it is still there)

So, somebody knows what ??? is and how to force the selection drawing being deleted programatically within screenshot.cpp before glReadPixels.

cuK