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/main/InternalStackFrame.java
371 371

  
372 372
  static void debugListsGeneric(LinkedList<InternalObject> list, HashMap<Long,Job> map,String frameMarker)
373 373
    {
374
    android.util.Log.e("Object", frameMarker);
375
    android.util.Log.e("Object", "  Done list:");
374
    DistortedLibrary.logMessage("InternalStackFrame: "+frameMarker);
375
    DistortedLibrary.logMessage("InternalStackFrame:  Done list:");
376 376

  
377 377
    for(InternalObject object : list)
378 378
      {
379 379
      object.print("  ");
380 380
      }
381 381

  
382
    android.util.Log.e("Object", "  ToDo list:");
382
    DistortedLibrary.logMessage("InternalStackFrame: ToDo list:");
383 383

  
384 384
    Job job;
385 385

  
......
394 394

  
395 395
  void debugMap(String frameMarker)
396 396
    {
397
    android.util.Log.e("Object", frameMarker);
397
    DistortedLibrary.logMessage("InternalStackFrame: "+frameMarker);
398 398
    InternalNodeData tmp;
399 399

  
400 400
    for(ArrayList<Long> key: mMapNodeID.keySet())
401 401
      {
402 402
      tmp = mMapNodeID.get(key);
403
      android.util.Log.e("NodeData", "NodeID: "+tmp.ID+" <-- "+key);
403
      DistortedLibrary.logMessage("InternalStackFrame: NodeID: "+tmp.ID+" <-- "+key);
404 404
      }
405 405
    }
406 406
  }

Also available in: Unified diff