Revision 80ae684e
Added by Leszek Koltunski about 8 years ago
src/main/java/org/distorted/library/DistortedFramebuffer.java | ||
---|---|---|
165 | 165 |
{ |
166 | 166 |
// There are issues with this. Namely, if one |
167 | 167 |
// 1. creates a DObjectTree (somewhere else than onSurfaceCreated of constructor so it does not get re-created on re-launch) |
168 |
// 2. minimizes the app (here mList would be cleared)
|
|
168 |
// 2. exits the app (here mList would be cleared)
|
|
169 | 169 |
// 3. re-launches the app |
170 | 170 |
// 4. deletes some nodes |
171 | 171 |
// then the underlying Framebuffers will never be deleted! |
src/main/java/org/distorted/library/EffectQueue.java | ||
---|---|---|
333 | 333 |
|
334 | 334 |
android.util.Log.e("EffectQueue", "numEffects="+mNumEffects+" effect id="+id+" index="+index+ |
335 | 335 |
" duration="+mCurrentDuration[index]+" inter[0] null="+inter0+" inter[1] null="+inter1+" inter[2] null="+inter2); |
336 |
|
|
337 |
if( !inter0 ) |
|
338 |
{ |
|
339 |
android.util.Log.e("EffectQueue","inter[0]: "+mInter[0][index].print()); |
|
340 |
} |
|
341 |
if( !inter1 ) |
|
342 |
{ |
|
343 |
android.util.Log.e("EffectQueue","inter[1]: "+mInter[1][index].print()); |
|
344 |
} |
|
345 |
if( !inter2 ) |
|
346 |
{ |
|
347 |
android.util.Log.e("EffectQueue","inter[2]: "+mInter[2][index].print()); |
|
348 |
} |
|
336 |
|
|
337 |
if( !inter0 ) android.util.Log.e("EffectQueue","inter[0]: "+mInter[0][index].print()); |
|
338 |
if( !inter1 ) android.util.Log.e("EffectQueue","inter[1]: "+mInter[1][index].print()); |
|
339 |
if( !inter2 ) android.util.Log.e("EffectQueue","inter[2]: "+mInter[2][index].print()); |
|
349 | 340 |
|
350 | 341 |
return true; |
351 | 342 |
} |
Also available in: Unified diff
Some improvements for StarWars's behaviour after onPause(), but it doesn't really work yet.
Remaining 'onPause-buggy' apps: StarWars, Save.