Revision bc29e409
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/dynamic/DynamicRenderer.java | ||
---|---|---|
106 | 106 |
mCanvas.drawRect(0, 0, texW, texH, mPaint); |
107 | 107 |
mView.drawCurve(mCanvas,time); |
108 | 108 |
mTexture.setTexture(mBitmap); |
109 |
mEffects.draw(time,mTexture,mGrid,mScreen);
|
|
109 |
mScreen.renderTo(mTexture, mGrid, mEffects, System.currentTimeMillis() );
|
|
110 | 110 |
} |
111 | 111 |
|
112 | 112 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'