Project

General

Profile

« Previous | Next » 

Revision bfe45b4a

Added by Leszek Koltunski about 5 years ago

Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.

View differences:

src/main/java/org/distorted/library/main/DistortedScreen.java
129 129
    GLES31.glDisable(GLES31.GL_DEPTH_TEST);
130 130
    GLES31.glDisable(GLES31.GL_BLEND);
131 131

  
132
    DistortedEffects.blitPriv(this);
132
    Distorted.blitPriv(this);
133 133

  
134 134
    if( mShowFPS && fpsTexture.setAsInput())
135 135
      {
136
      fpsEffects.drawPriv(FPS_W / 2.0f, FPS_H / 2.0f, fpsMesh, this, time);
136
      Distorted.drawPriv(fpsEffects.getQueues(), FPS_W / 2.0f, FPS_H / 2.0f, fpsMesh, this, time);
137 137
      }
138 138

  
139 139
    if( ++mCurRenderedFBO>=Distorted.FBO_QUEUE_SIZE )

Also available in: Unified diff