Revision e37d470b
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/main/DistortedChildrenList.java | ||
---|---|---|
99 | 99 |
void addSortingByBuckets(DistortedNode newChild) |
100 | 100 |
{ |
101 | 101 |
int i; |
102 |
long bucket = newChild.getPostprocessQueue().getID();
|
|
102 |
long bucket = newChild.getEffects().getPostprocess().getID();
|
|
103 | 103 |
boolean sameBucket = false; |
104 | 104 |
|
105 | 105 |
for(i=0; i<mNumChildren; i++) |
106 | 106 |
{ |
107 |
if( mChildren.get(i).getPostprocessQueue().getID() == bucket )
|
|
107 |
if( mChildren.get(i).getEffects().getPostprocess().getID() == bucket )
|
|
108 | 108 |
{ |
109 | 109 |
sameBucket=true; |
110 | 110 |
} |
src/main/java/org/distorted/library/main/DistortedNode.java | ||
---|---|---|
263 | 263 |
} |
264 | 264 |
} |
265 | 265 |
|
266 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
267 |
|
|
268 |
EffectQueuePostprocess getPostprocessQueue() |
|
269 |
{ |
|
270 |
return mEffects.getPostprocess(); |
|
271 |
} |
|
272 |
|
|
273 | 266 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
274 | 267 |
// PUBLIC API |
275 | 268 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
src/main/java/org/distorted/library/main/DistortedOutputSurface.java | ||
---|---|---|
398 | 398 |
for(int i=0; i<numChildren; i++) |
399 | 399 |
{ |
400 | 400 |
child = children.getChild(i); |
401 |
currQueue = child.getPostprocessQueue();
|
|
401 |
currQueue = child.getEffects().getPostprocess();
|
|
402 | 402 |
currBucket= currQueue.getID(); |
403 | 403 |
|
404 | 404 |
if( currBucket==0 ) |
Also available in: Unified diff
Cut one interdependency between the EffectQueuePreprocess and DistortedNode