Revision a1003b17
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/main/DistortedOutputSurface.java | ||
---|---|---|
96 | 96 |
|
97 | 97 |
private int mDebugLevel; |
98 | 98 |
|
99 |
private String sLast="", sCurr=""; |
|
100 |
|
|
101 | 99 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
102 | 100 |
|
103 | 101 |
abstract void prepareDebug(long time); |
... | ... | |
262 | 260 |
EffectQueuePostprocess lastQueue=null, currQueue; |
263 | 261 |
long lastBucket=0, currBucket; |
264 | 262 |
|
265 |
sCurr = ""; |
|
266 |
|
|
267 | 263 |
for(int i=0; i<numChildren; i++) |
268 | 264 |
{ |
269 | 265 |
child1 = children.get(i); |
270 | 266 |
currQueue = child1.getPostprocessQueue(); |
271 | 267 |
currBucket= currQueue.getID(); |
272 | 268 |
|
273 |
sCurr += (" "+currBucket); |
|
274 |
|
|
275 | 269 |
if( currBucket==0 ) numRenders += child1.draw(time,this); |
276 | 270 |
else |
277 | 271 |
{ |
... | ... | |
316 | 310 |
lastBucket= currBucket; |
317 | 311 |
} |
318 | 312 |
|
319 |
if( !sLast.equals(sCurr) ) android.util.Log.e("surface", "rendering: "+sCurr); |
|
320 |
sLast = sCurr; |
|
321 |
|
|
322 | 313 |
return numRenders; |
323 | 314 |
} |
324 | 315 |
|
Also available in: Unified diff
Remove debugging.