P2VR 7 Slow - 'GPU stall due to ReadPixels'

Q&A about the latest versions
Post Reply
User avatar
Multimediafabrik
Posts: 63
Joined: Thu Jun 21, 2018 11:28 pm

The P2VR7 script feels slower and more laggy, than the P2VR6 one.
I also get this warning in the devtools console:

[.WebGL-000060C4089B8700]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels

from what I know, you should avoid ReadPixels as much as possible and combine ReadPixels requests as it's a GPU Blocking request.
User avatar
thomas
Chief Gnome
Posts: 2613
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Hmmm... We never call "ReadPixels" in our code, and I would not know an occasion, where we would need pixels from the GPU. The only difference between V6 and V7 rendering is that we now use the stencil buffer instead of relying on the depth buffer. So actually it should be faster... On what browser did you see this warning? OS? Is anything special in your code?
MfG, Thomas
Post Reply