public void pushDebugRect(Rect rect,int color){
  if (rect.left > rect.right) {
    int tmp=rect.right;
    rect.right=rect.left;
    rect.left=tmp;
  }
  if (rect.top > rect.bottom) {
    int tmp=rect.bottom;
    rect.bottom=rect.top;
    rect.top=tmp;
  }
  mRenderHost.pushDebugRect(rect,color);
}

public void pushDebugRect ( Rect rect , int color ) { if ( rect . left > rect . right ) { int tmp = rect . right ; rect . right = rect . left ; rect . left = tmp ; } if ( rect . top > rect . bottom ) { int tmp = rect . bottom ; rect . bottom = rect . top ; rect . top = tmp ; } mRenderHost . pushDebugRect ( rect , color ) ; }
pushes a rectangle to be drawn on the screen on top of everything .
