Merge lp:~bregma/compiz/lp-1227449 into lp:compiz/0.9.12
Proposed by
Stephen M. Webb
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Brandon Schaefer | ||||
Approved revision: | 3890 | ||||
Merged at revision: | 3898 | ||||
Proposed branch: | lp:~bregma/compiz/lp-1227449 | ||||
Merge into: | lp:compiz/0.9.12 | ||||
Diff against target: |
123 lines (+43/-10) 5 files modified
plugins/opengl/include/opengl/shadercache.h (+5/-0) plugins/opengl/src/paint.cpp (+9/-0) plugins/opengl/src/shadercache.cpp (+14/-5) plugins/opengl/src/vertexbuffer.cpp (+12/-0) plugins/opengl/src/window.cpp (+3/-5) |
||||
To merge this branch: | bzr merge lp:~bregma/compiz/lp-1227449 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brandon Schaefer (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+240112@code.launchpad.net |
Commit message
opengl plugin: free shaders and uniforms
Description of the change
Frees shaders and uniforms (which were previously always just leaked). Since these are mostly cached there won't be much effect at runtime (unless a third-party plugin is doing something wacky, which is allowed) but will definitely reduce the noise from valgrind.
The only real way to test this change is to run valgrind on Compiz before and after applying the patch.
To post a comment you must log in.
PASSED: Continuous integration, rev:3890 jenkins. qa.ubuntu. com/job/ compiz- ci/6/ jenkins. qa.ubuntu. com/job/ compiz- utopic- amd64-ci/ 6 jenkins. qa.ubuntu. com/job/ compiz- utopic- armhf-ci/ 6 jenkins. qa.ubuntu. com/job/ compiz- utopic- i386-ci/ 6
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/compiz- ci/6/rebuild
http://