Revision 6173632c
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/movingeffects/MovingEffectsRenderer.java | ||
---|---|---|
28 | 28 |
import android.graphics.Paint.Style; |
29 | 29 |
import android.opengl.GLSurfaceView; |
30 | 30 |
|
31 |
import org.distorted.library.effect.EffectName; |
|
31 | 32 |
import org.distorted.library.main.DistortedScreen; |
32 | 33 |
import org.distorted.library.main.DistortedTexture; |
33 | 34 |
import org.distorted.library.main.DistortedEffects; |
34 |
import org.distorted.library.EffectNames; |
|
35 | 35 |
import org.distorted.library.main.MeshFlat; |
36 | 36 |
import org.distorted.library.main.Distorted; |
37 | 37 |
|
... | ... | |
109 | 109 |
|
110 | 110 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
111 | 111 |
{ |
112 |
DistortedEffects.enableEffect(EffectNames.SWIRL);
|
|
113 |
DistortedEffects.enableEffect(EffectNames.SMOOTH_ALPHA);
|
|
114 |
DistortedEffects.enableEffect(EffectNames.SMOOTH_CHROMA);
|
|
115 |
DistortedEffects.enableEffect(EffectNames.DISTORT);
|
|
116 |
DistortedEffects.enableEffect(EffectNames.SINK);
|
|
112 |
DistortedEffects.enableEffect(EffectName.SWIRL); |
|
113 |
DistortedEffects.enableEffect(EffectName.SMOOTH_ALPHA); |
|
114 |
DistortedEffects.enableEffect(EffectName.SMOOTH_CHROMA); |
|
115 |
DistortedEffects.enableEffect(EffectName.DISTORT); |
|
116 |
DistortedEffects.enableEffect(EffectName.SINK); |
|
117 | 117 |
|
118 | 118 |
try |
119 | 119 |
{ |
Also available in: Unified diff
Further progress with Apps: 21 (out of 30) compile now.