Revision d218d64e
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import org.distorted.library.DistortedEffects; |
31 | 31 |
import org.distorted.library.DistortedFramebuffer; |
32 |
import org.distorted.library.DistortedScreen; |
|
32 | 33 |
import org.distorted.library.DistortedTree; |
33 | 34 |
import org.distorted.library.Distorted; |
34 | 35 |
import org.distorted.library.MeshCubes; |
... | ... | |
51 | 52 |
{ |
52 | 53 |
private GLSurfaceView mView; |
53 | 54 |
private DistortedEffects mEffects; |
54 |
private DistortedFramebuffer mScreen;
|
|
55 |
private DistortedScreen mScreen;
|
|
55 | 56 |
private DistortedTree mRoot; |
56 | 57 |
private int lisaHeight, lisaWidth; |
57 | 58 |
|
... | ... | |
61 | 62 |
{ |
62 | 63 |
mView = v; |
63 | 64 |
mEffects= new DistortedEffects(); |
64 |
mScreen = new DistortedFramebuffer(0);
|
|
65 |
mScreen = new DistortedScreen();
|
|
65 | 66 |
} |
66 | 67 |
|
67 | 68 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major: change of API.
Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.