Revision 8bfefd68
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/library/main/EffectQueue.java | ||
---|---|---|
38 | 38 |
private static final int DETACH = 2; |
39 | 39 |
private static final int DETALL = 3; |
40 | 40 |
|
41 |
int mNumEffects; // 'ToBe' will be more than mNumEffects if doWork() hasn't |
|
42 |
int mNumEffectsToBe; // added them yet (or less if it hasn't removed some yet) |
|
41 |
int mNumEffects; // 'ToBe' will be more than mNumEffects if doWork() hasn't
|
|
42 |
private int mNumEffectsToBe; // added them yet (or less if it hasn't removed some yet)
|
|
43 | 43 |
float[] mUniforms; |
44 | 44 |
long[] mCurrentDuration; |
45 | 45 |
Effect[] mEffects; |
... | ... | |
101 | 101 |
// (this is a speedup: then both queues can be applied once, which seriously speeds up stuff - |
102 | 102 |
// especially important in case of postprocessing) |
103 | 103 |
|
104 |
void regenerateIDandSort() |
|
104 |
private void regenerateIDandSort()
|
|
105 | 105 |
{ |
106 | 106 |
if( mNumEffects>0 ) |
107 | 107 |
{ |
Also available in: Unified diff
Split the DistortedNode class into two - DistortedNode and DistortedNodeData