[GLES] GLWindow::glDrawTexture is called at least 5X more often in gles2 compared to trunk
Bug #1029806 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
High
|
Daniel van Vugt |
Bug Description
Comparing relative numbers of calls between gles2 and trunk, I find:
# calls to GLWindow::glDraw relative to GLScreen:
but
# calls to GLWindow:
This excessive calling of glDrawTexture appears to be the main cause of compiz using more CPU to render fewer frames in gles2 compared to trunk.
Looking at the gles2 diff, it's apparent lots of calls to glDrawTexture used to be conditional inside if statements. They are no longer conditional.
This may explain why the gles2 branch often seems so much slower than trunk.
Changed in compiz: | |
milestone: | 0.9.8.0 → none |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The main locations where the number of calls to GLWindow: :glDrawTexture has increased are:
1. DecorWindow: :glDecorate
2. GLWindow::glDraw
While these functions are called with the same frequency as in trunk, they are calling glDrawTexture MUCH more often in gles2 than in trunk.