Project

General

Profile

« Previous | Next » 

Revision b28c6c21

Added by Leszek Koltunski almost 7 years ago

Move showing FPS in the uppoer-left corner of the Screen to the Library.
App can enable/disable this at any time with a single API call.

View differences:

src/main/java/org/distorted/library/DistortedOutputSurface.java
363 363
    setAsOutput(time);
364 364
    numRenders += renderChildren(time,mNumChildren,mChildren);
365 365

  
366
    if( Distorted.mDebugLevel!=0 && this instanceof DistortedScreen )
367
      {
368
      Distorted.mDebug.renderFPS(time,this);
369
      }
370

  
366 371
    return numRenders;
367 372
    }
368 373

  

Also available in: Unified diff