Merge lp:~bregma/compiz/lp-1072206-trusty into lp:compiz/0.9.11

Proposed by Stephen M. Webb
Status: Merged
Approved by: Christopher Townsend
Approved revision: 3873
Merged at revision: 3874
Proposed branch: lp:~bregma/compiz/lp-1072206-trusty
Merge into: lp:compiz/0.9.11
Diff against target: 34 lines (+1/-6)
2 files modified
plugins/animation/include/animation/animeffect.h (+0/-2)
plugins/animation/src/animation.cpp (+1/-4)
To merge this branch: bzr merge lp:~bregma/compiz/lp-1072206-trusty
Reviewer Review Type Date Requested Status
Christopher Townsend (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+252571@code.launchpad.net

Commit message

removed texture caching from animations

Description of the change

Do not cache textures in animation.cpp.

Cherry-picked from trunk.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Christopher Townsend (townsend) wrote :

Yep

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/animation/include/animation/animeffect.h'
2--- plugins/animation/include/animation/animeffect.h 2012-09-04 06:54:16 +0000
3+++ plugins/animation/include/animation/animeffect.h 2015-03-11 12:30:39 +0000
4@@ -100,8 +100,6 @@
5 int mDecorTopHeight;
6 int mDecorBottomHeight;
7
8- GLTexture::List *texturesCache;
9-
10 CompOption::Value &optVal (unsigned int optionId);
11
12 inline bool optValB (unsigned int optionId) { return optVal (optionId).b (); }
13
14=== modified file 'plugins/animation/src/animation.cpp'
15--- plugins/animation/src/animation.cpp 2013-10-30 20:31:20 +0000
16+++ plugins/animation/src/animation.cpp 2015-03-11 12:30:39 +0000
17@@ -479,16 +479,13 @@
18 mDecorBottomHeight = w->output ().bottom;
19 }
20
21- texturesCache = new GLTexture::List (GLWindow::get (w)->textures ());
22 PrivateAnimScreen *as = mAWindow->priv->paScreen ();
23
24 mTimestep = as->optionGetTimeStep ();
25 }
26
27 Animation::~Animation ()
28-{
29- delete texturesCache;
30-}
31+{}
32
33 CompOption::Value &
34 Animation::optVal (unsigned int optionId)

Subscribers

People subscribed via source and target branches