Created by Sam Spilsbury on 2012-09-08 and last modified on 2012-09-14
Get this branch:
bzr branch lp:~smspillaz/compiz/compiz.static_vertex_buffers
Only Sam Spilsbury can upload to this branch. If you are Sam Spilsbury please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Sam Spilsbury

Recent revisions

3363. By Sam Spilsbury on 2012-09-09

Don't call glAddGeometry if the geometry is
going to be exactly the same. Saves a vertex
buffer bind

3362. By Sam Spilsbury on 2012-09-09

Only remove the last vertex buffer when using the stack

3361. By Sam Spilsbury on 2012-09-09

Use GL_DYNAMIC_DRAW for the vertex buffer objects

3360. By Sam Spilsbury on 2012-09-08

Use a foreign vertex buffer to draw the decorations

3359. By Sam Spilsbury on 2012-09-08

Implement the interface publicly

3358. By Sam Spilsbury on 2012-09-08

Implement the internal vertex buffer in terms of the vertex buffer stack

3357. By Sam Spilsbury on 2012-09-08

Added a simple RAII class to manage that

3356. By Sam Spilsbury on 2012-09-08

Added a new class, VertexBufferStack.

A VertexBufferStack is a stack of saved GLVertexBufferObjects, which can have
items pushed to the back, removed and popped off the top. activeVertexBuffer
always represents the top most vertex buffer on the stack, popVertexBufferOffTop
will restore the last one.

3355. By Sam Spilsbury on 2012-09-08

Internally added the concepts of multiple vertex buffers per window

3354. By Sam Spilsbury on 2012-09-07

Transitions gtk-window-decorator over to use GSettings.

Add a testing framework for the options code.

1) Introduced three new interfaces (GWDSettingsNotifiedInterface, GWDSettingsWritableInterface, GWDSettingsInterface, GWDSettingsStorageInterface
2) GWDSettingsStorageInterface represents the actual method for settings to be read from a configuration backend, eg GSettings or GConf
3) GWDSettingsWritableInterface is injected into GWDSettingsStorageGConf and GWDSettingsStorageGSettings, and its methods are called when changes occur on the backend
4) GWDSettings is the main object for storing all settings in memory and provides an interface for them being written into
5) GWDSettingsNotifiedInterface provides a callback mechanism for GWDSettings to update the main program state whenever a setting changes.

Fixes (LP: #1042323). Fixes: https://bugs.launchpad.net/bugs/1042323. Approved by Daniel van Vugt, jenkins.

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.