Revision 1942537e
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/Distorted.java | ||
---|---|---|
351 | 351 |
GLES20.glEnableVertexAttribArray(mNormalH); |
352 | 352 |
GLES20.glEnableVertexAttribArray(mTextureCoordH); |
353 | 353 |
|
354 |
DistortedTexture.reset(); |
|
355 | 354 |
DistortedObjectTree.reset(); |
356 | 355 |
EffectMessageSender.startSending(); |
357 | 356 |
} |
... | ... | |
380 | 379 |
DistortedFramebuffer.release(); |
381 | 380 |
DistortedObjectTree.release(); |
382 | 381 |
EffectQueue.release(); |
382 |
DistortedEffectQueues.release(); |
|
383 | 383 |
EffectMessageSender.stopSending(); |
384 | 384 |
|
385 | 385 |
mInitialized = false; |
Also available in: Unified diff
Major restructuring with DistortedTexture. One now is able to create Textures anywhere, even from a thread which does not hold the OpenGL context. Same for DistortedFramebuffers.