Project

General

Profile

« Previous | Next » 

Revision 70b6a155

Added by Leszek Koltunski almost 7 years ago

Internal API change around postprocessing.

View differences:

src/main/java/org/distorted/library/main/DistortedEffects.java
25 25
import org.distorted.library.R;
26 26
import org.distorted.library.effect.Effect;
27 27
import org.distorted.library.effect.EffectName;
28
import org.distorted.library.effect.EffectQuality;
29 28
import org.distorted.library.effect.EffectType;
30 29
import org.distorted.library.effect.FragmentEffect;
31 30
import org.distorted.library.effect.VertexEffect;
......
41 40
import java.nio.ByteBuffer;
42 41
import java.nio.ByteOrder;
43 42
import java.nio.FloatBuffer;
44
import java.util.ArrayList;
45 43

  
46 44
///////////////////////////////////////////////////////////////////////////////////////////////////
47 45
/**
......
231 229

  
232 230
///////////////////////////////////////////////////////////////////////////////////////////////////
233 231

  
234
  int postprocess(DistortedOutputSurface surface)
232
  EffectQueuePostprocess getPostprocess()
235 233
    {
236
    return mP.postprocess(surface);
237
    }
238

  
239
///////////////////////////////////////////////////////////////////////////////////////////////////
240

  
241
  long getBucket()
242
    {
243
    return mP.getID();
244
    }
245

  
246
///////////////////////////////////////////////////////////////////////////////////////////////////
247

  
248
  int getQuality()
249
    {
250
    return mP.getQuality();
251
    }
252

  
253
///////////////////////////////////////////////////////////////////////////////////////////////////
254

  
255
  int getInternalQuality()
256
    {
257
    return mP.getInternalQuality();
258
    }
259

  
260
///////////////////////////////////////////////////////////////////////////////////////////////////
261

  
262
  int getHalo()
263
    {
264
    return mP.getHalo();
234
    return mP;
265 235
    }
266 236

  
267 237
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff