Revision 716d9f38
Added by Leszek Koltunski over 8 years ago
| src/main/java/org/distorted/examples/deform/DeformRenderer.java | ||
|---|---|---|
| 129 | 129 |
mMovingShearDynamic.add(vShear[0]); |
| 130 | 130 |
|
| 131 | 131 |
mScreen = new DistortedScreen(mView); |
| 132 |
Distorted.setDebug(Distorted.DEBUG_FPS);
|
|
| 132 |
mScreen.setDebug(DistortedScreen.DEBUG_FPS);
|
|
| 133 | 133 |
} |
| 134 | 134 |
|
| 135 | 135 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java | ||
|---|---|---|
| 127 | 127 |
mQuatInt2.add(mQuat2); |
| 128 | 128 |
|
| 129 | 129 |
mScreen = new DistortedScreen(mView); |
| 130 |
mScreen.setDebug(DistortedScreen.DEBUG_FPS); |
|
| 130 | 131 |
|
| 131 | 132 |
for(int i=0; i<NUM_OBJECTS; i++) |
| 132 | 133 |
{
|
| ... | ... | |
| 136 | 137 |
|
| 137 | 138 |
mBlurStatus[0] = true; |
| 138 | 139 |
mNode[0].setPostprocessEffects(mPostEffects); |
| 139 |
|
|
| 140 |
Distorted.setDebug(Distorted.DEBUG_FPS); |
|
| 141 | 140 |
} |
| 142 | 141 |
|
| 143 | 142 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Correct the FPS work (now works even after a Pause() ! )