Project

General

Profile

« Previous | Next » 

Revision cf30778e

Added by Leszek Koltunski over 7 years ago

Progress with GLOW.

Serious bug sorting Surface's children into postprocessing Buckets detected.

View differences:

src/main/java/org/distorted/library/DistortedOutputSurface.java
92 92

  
93 93
  private int mDebugLevel;
94 94

  
95
private String sLast="", sCurr="";
96

  
95 97
///////////////////////////////////////////////////////////////////////////////////////////////////
96 98

  
97 99
  abstract void prepareDebug(long time);
......
256 258
    int bucketChange=0;
257 259
    int lastQ=0, currQ;
258 260

  
261
sCurr = "";
262

  
259 263
    for(int i=0; i<num; i++)
260 264
      {
261 265
      child1 = children.get(i);
......
263 267
      currB = currP==null ? 0 : currP.getBucket();
264 268
      currQ = currP==null ? 0 : currP.getQuality();
265 269

  
270
sCurr += (" "+currB);
271

  
266 272
      if( currB==0 ) numRenders += child1.draw(time,this);
267 273
      else
268 274
        {
......
305 311
      lastB = currB;
306 312
      }
307 313

  
314
if( !sLast.equals(sCurr) ) android.util.Log.e("surface", "rendering: "+sCurr);
315
sLast = sCurr;
316

  
308 317
    return numRenders;
309 318
    }
310 319

  

Also available in: Unified diff