Project

General

Profile

« Previous | Next » 

Revision 7691a39f

Added by Leszek Koltunski about 7 years ago

- workaround for the issue with flashing in StarWars
- return number of objects rendered from OutputSurface.render() and use this in Olympic
- rework tree isomorphism so that it now works even if we don't render the whole tree (and also we don't have to reset() the Tree anymore!)
- current a buf with tree isomorphism: Leaf Nodes have the same NodeData only if they agree in Surface AND Effects!

View differences:

src/main/java/org/distorted/library/Distorted.java
30 30
 */
31 31
public class Distorted 
32 32
  {
33
  /**
34
   * When creating an instance of a DistortedTexture (or Tree) from another instance, do not clone anything.
35
   * Used in the copy constructor.
36
   */
37
  public static final int CLONE_NOTHING = 0x0;
38 33
  /**
39 34
   * When creating an instance of a DistortedTexture from another instance, clone the Bitmap that's
40 35
   * backing up our DistortedTexture.
......
121 116
    DistortedEffects.createProgram(resources);
122 117
    EffectQueuePostprocess.createProgram(resources);
123 118

  
124
    DistortedNode.reset();
125 119
    EffectMessageSender.startSending();
126 120

  
127 121
    mInitialized = true;

Also available in: Unified diff