Project

General

Profile

« Previous | Next » 

Revision 8c57d77b

Added by Leszek Koltunski about 1 year ago

Decouple (to a large degree) the OpenGL Library from Android.

View differences:

src/main/java/org/distorted/library/effect/PostprocessEffect.java
22 22

  
23 23
import org.distorted.library.effectqueue.EffectQueue;
24 24
import org.distorted.library.main.DistortedFramebuffer;
25
import org.distorted.library.main.DistortedLibrary;
25 26
import org.distorted.library.main.InternalMaster;
26 27
import org.distorted.library.program.DistortedProgram;
27 28

  
......
135 136
        }
136 137
      catch(Exception e)
137 138
        {
138
        android.util.Log.e("Effects", "exception trying to compile "+source.mName+" program: "+e.getMessage());
139
        DistortedLibrary.logMessage("PostproocessEffect: exception trying to compile "+source.mName+" program: "+e.getMessage());
139 140
        throw new RuntimeException(e.getMessage());
140 141
        }
141 142
      }
......
259 260
          }
260 261
        catch(NoSuchMethodException ex)
261 262
          {
262
          android.util.Log.e("postprocess", cls.getSimpleName()+": exception getting method: "+ex.getMessage());
263
          DistortedLibrary.logMessage("PostprocessEffect: "+cls.getSimpleName()+": exception getting method: "+ex.getMessage());
263 264
          method = null;
264 265
          }
265 266

  
......
269 270
          }
270 271
        catch(Exception ex)
271 272
          {
272
          android.util.Log.e("postprocess", "exception invoking method: "+ex.getMessage());
273
          DistortedLibrary.logMessage("PostprocessEffect: exception invoking method: "+ex.getMessage());
273 274
          }
274 275
        }
275 276
      }

Also available in: Unified diff