Revision 43814a57
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/effect/FragmentEffect.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
package org.distorted.library.effect; |
21 | 21 |
|
22 |
import org.distorted.library.effectqueue.EffectQueue; |
|
22 | 23 |
import org.distorted.library.type.Static3D; |
23 | 24 |
|
24 | 25 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
98 | 99 |
mGLSL = ""; |
99 | 100 |
} |
100 | 101 |
|
102 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
103 |
/** |
|
104 |
* Only for use by the library itself. |
|
105 |
* |
|
106 |
* @y.exclude |
|
107 |
*/ |
|
108 |
public void addQueue(EffectQueue queue) |
|
109 |
{ |
|
110 |
// NO OP |
|
111 |
} |
|
112 |
|
|
113 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
114 |
/** |
|
115 |
* Only for use by the library itself. |
|
116 |
* |
|
117 |
* @y.exclude |
|
118 |
*/ |
|
119 |
public void remQueue(EffectQueue queue) |
|
120 |
{ |
|
121 |
// NO OP |
|
122 |
} |
|
123 |
|
|
101 | 124 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
102 | 125 |
// PUBLIC API |
103 | 126 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Fix the fact that the static DistortedEffects.mAllQueues was global, shared between all Activities.
Completely replace this mechanism with a non-static list of links from a VertexEffect to all VertexEffectQueues this effect is a member of.