Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0 Alpha
-
None
-
fd6cf5c875d794d23e513c8e7d6ebabc91dae790
Description
Run an application that renders into an FBO and thus runs QOpenGLFramebufferObject::bind() on every frame, and watch the CPU usage.
With NVIDIA drivers the CPU usage for drawing a triangle into an FBO and texturing a cube with the texture used as the color attachment for that FBO gives 19-21% CPU usage on Windows.
A big part of this is the glCheckFramebufferStatus call in bind(). Removing the call results in 0.8-1% for the same application.
Attachments
For Gerrit Dashboard: QTBUG-50496 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
146301,2 | Avoid checking the fb status in every bind | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |