Created by Sam Spilsbury on 2012-07-27 and last modified on 2012-07-27
Get this branch:
bzr branch lp:~compiz-team/compiz/gles2.scope_of_empty_vb_check
Members of Compiz Maintainers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Compiz Maintainers

Recent revisions

3300. By Sam Spilsbury on 2012-07-27

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 on 2012-07-27

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

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:

3298. By Daniel van Vugt on 2012-07-27

Merge latest lp:compiz

3297. By Daniel van Vugt on 2012-07-26

Fix more opacity/blending bugs where 100% opacity would be rendered as
0% opacity (invisible).

3296. By Daniel van Vugt on 2012-07-26

Fixed: resizeinfo would become invisible after fading in (LP: #1029366)

3295. By Daniel van Vugt on 2012-07-26

Simplify and optimize glClear usage. Go back to the old logic from trunk.

3294. By Daniel van Vugt on 2012-07-26

Merge latest lp:compiz and fix conflicts

3293. By Daniel van Vugt on 2012-07-25

Remove pointless if()

3292. By Daniel van Vugt on 2012-07-25

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)

3291. By Daniel van Vugt on 2012-07-25

Remove dead code, which is also two round-trips (glGerError).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.