lp:~compiz-team/compiz/gles2.scope_of_empty_vb_check
- Get this branch:
- bzr branch lp:~compiz-team/compiz/gles2.scope_of_empty_vb_check
Branch merges
- Daniel van Vugt: Needs Fixing
-
Diff: 261 lines (+80/-95)6 files modifiedplugins/compiztoolbox/src/compiztoolbox.cpp (+9/-12)
plugins/decor/src/decor.cpp (+8/-13)
plugins/opengl/src/paint.cpp (+4/-2)
plugins/ring/src/ring.cpp (+17/-20)
plugins/scale/src/scale.cpp (+6/-9)
plugins/shift/src/shift.cpp (+36/-39)
Branch information
Recent revisions
- 3300. By Sam Spilsbury
-
Make checking to see if the vertex buffer is empty the responsibility of
GLWindow::glDraw and not the clients of that function.While this is technically slower (incurred wrapped function overhead), it
is better encapsulation, since clients of glDraw less coupled with the
implementation of glDraw. - 3299. By Daniel van Vugt
-
Fix regression; glDrawTexture was being called MUCH more than it does with
trunk. (LP: #1029806)This was because Linaro removed GLWindow::Geometry, and the decision to call
glDrawTexture used to be conditional on GLWindow::Geometry: :vCount. So they
just removed the if's and made it unconditional, hence slower.Now I've reintroduced GLWindow:
:Geometry: :vCount in the form of
GLVertexBuffer::countVertices, and glDrawTexture is only called conditionally
again.This will also make it possible/easy to reintroduce some deformation features
that are presently commented out (by Linaro). We will just have to convert:
GLWindow::Geometry: :vCount
GLWindow::Geometry: :vertices
to:
GLVertexBuffer::countVerti ces()
GLVertexBuffer::getVertice s() - 3297. By Daniel van Vugt
-
Fix more opacity/blending bugs where 100% opacity would be rendered as
0% opacity (invisible). - 3292. By Daniel van Vugt
-
Eliminate nested vector std::vector<
std::vector< GLfloat> > which was being
used in a way that prevented efficient memory reuse, resulting in high CPU
(new, delete, memmove). (LP: #1028768)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:compiz/0.9.8