Revision d218d64e
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java | ||
---|---|---|
31 | 31 |
|
32 | 32 |
import org.distorted.library.DistortedEffects; |
33 | 33 |
import org.distorted.library.DistortedFramebuffer; |
34 |
import org.distorted.library.DistortedScreen; |
|
34 | 35 |
import org.distorted.library.MeshFlat; |
35 | 36 |
import org.distorted.library.DistortedTexture; |
36 | 37 |
import org.distorted.library.Distorted; |
... | ... | |
55 | 56 |
private DistortedTexture mTexture; |
56 | 57 |
private MeshFlat mMesh; |
57 | 58 |
private DistortedEffects mEffects; |
58 |
private DistortedFramebuffer mScreen;
|
|
59 |
private DistortedScreen mScreen;
|
|
59 | 60 |
|
60 | 61 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
61 | 62 |
|
... | ... | |
77 | 78 |
|
78 | 79 |
mEffects.registerForMessages(this); |
79 | 80 |
|
80 |
mScreen = new DistortedFramebuffer(0);
|
|
81 |
mScreen = new DistortedScreen();
|
|
81 | 82 |
} |
82 | 83 |
|
83 | 84 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major: change of API.
Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.