Project

General

Profile

« Previous | Next » 

Revision 4bb94a7d

Added by Leszek Koltunski about 4 years ago

Hide the InternalSurface class inside its package.

View differences:

src/main/java/org/distorted/library/main/InternalOutputSurface.java
424 424
            }
425 425
          else
426 426
            {
427
            for(int j=bucketChange; j<i; j++) numRenders += lastQueue.preprocess( buffer,children.getChild(j), buffer.mDistance, buffer.mMipmap, buffer.mProjectionMatrix );
427
            for(int j=bucketChange; j<i; j++)
428
              {
429
              DistortedNode node = children.getChild(j);
430

  
431
              if( node.getSurface().setAsInput() )
432
                {
433
                buffer.setAsOutput();
434
                numRenders += lastQueue.preprocess( buffer, node, buffer.mDistance, buffer.mMipmap, buffer.mProjectionMatrix );
435
                }
436
              }
428 437
            numRenders += lastQueue.postprocess(buffer);
429 438

  
430 439
            if( oit )
......
466 475

  
467 476
        if( i==numChildren-1 )
468 477
          {
469
          for(int j=bucketChange; j<numChildren; j++) numRenders += currQueue.preprocess( buffer,children.getChild(j), buffer.mDistance, buffer.mMipmap, buffer.mProjectionMatrix );
478
          for(int j=bucketChange; j<numChildren; j++)
479
            {
480
            DistortedNode node = children.getChild(j);
481

  
482
            if( node.getSurface().setAsInput() )
483
              {
484
              buffer.setAsOutput();
485
              numRenders += currQueue.preprocess( buffer, node, buffer.mDistance, buffer.mMipmap, buffer.mProjectionMatrix );
486
              }
487
            }
470 488
          numRenders += currQueue.postprocess(buffer);
471 489

  
472 490
          if( oit )

Also available in: Unified diff