< prev index next >

modules/javafx.graphics/src/main/java/com/sun/marlin/MarlinConst.java

Print this page




  65     // do flush stats
  66     static final boolean DO_FLUSH_STATS = true;
  67     // do flush monitors
  68     static final boolean DO_FLUSH_MONITORS = true;
  69     // use one polling thread to dump statistics/monitors
  70     static final boolean USE_DUMP_THREAD = false;
  71     // thread dump interval (ms)
  72     static final long DUMP_INTERVAL = 5000L;
  73 
  74     // do clean dirty array
  75     static final boolean DO_CLEAN_DIRTY = false;
  76 
  77     // flag to use collinear simplifier
  78     static final boolean USE_SIMPLIFIER = MarlinProperties.isUseSimplifier();
  79 
  80     // flag to use path simplifier
  81     static final boolean USE_PATH_SIMPLIFIER = MarlinProperties.isUsePathSimplifier();
  82 
  83     static final boolean DO_CLIP_SUBDIVIDER = MarlinProperties.isDoClipSubdivider();
  84 
  85     // flag to enable logs related bounds checks
  86     static final boolean DO_LOG_BOUNDS = ENABLE_LOGS && false;
  87 



  88     // Initial Array sizing (initial context capacity) ~ 450K
  89 
  90     // 4096 pixels (width) for initial capacity
  91     static final int INITIAL_PIXEL_WIDTH
  92         = MarlinProperties.getInitialPixelWidth();
  93     // 2176 pixels (height) for initial capacity
  94     static final int INITIAL_PIXEL_HEIGHT
  95         = MarlinProperties.getInitialPixelHeight();
  96 
  97     // typical array sizes: only odd numbers allowed below
  98     static final int INITIAL_ARRAY        = 256;
  99 
 100     // alpha row dimension
 101     static final int INITIAL_AA_ARRAY     = INITIAL_PIXEL_WIDTH;
 102 
 103     // 4096 edges for initial capacity
 104     static final int INITIAL_EDGES_COUNT = MarlinProperties.getInitialEdges();
 105 
 106     // initial edges = edges count (4096)
 107     // 6 ints per edges = 24 bytes




  65     // do flush stats
  66     static final boolean DO_FLUSH_STATS = true;
  67     // do flush monitors
  68     static final boolean DO_FLUSH_MONITORS = true;
  69     // use one polling thread to dump statistics/monitors
  70     static final boolean USE_DUMP_THREAD = false;
  71     // thread dump interval (ms)
  72     static final long DUMP_INTERVAL = 5000L;
  73 
  74     // do clean dirty array
  75     static final boolean DO_CLEAN_DIRTY = false;
  76 
  77     // flag to use collinear simplifier
  78     static final boolean USE_SIMPLIFIER = MarlinProperties.isUseSimplifier();
  79 
  80     // flag to use path simplifier
  81     static final boolean USE_PATH_SIMPLIFIER = MarlinProperties.isUsePathSimplifier();
  82 
  83     static final boolean DO_CLIP_SUBDIVIDER = MarlinProperties.isDoClipSubdivider();
  84 
  85     // flag to enable logs related to bounds checks
  86     static final boolean DO_LOG_BOUNDS = ENABLE_LOGS && false;
  87 
  88     // flag to enable logs related to clip rect
  89     static final boolean DO_LOG_CLIP = ENABLE_LOGS && false;
  90 
  91     // Initial Array sizing (initial context capacity) ~ 450K
  92 
  93     // 4096 pixels (width) for initial capacity
  94     static final int INITIAL_PIXEL_WIDTH
  95         = MarlinProperties.getInitialPixelWidth();
  96     // 2176 pixels (height) for initial capacity
  97     static final int INITIAL_PIXEL_HEIGHT
  98         = MarlinProperties.getInitialPixelHeight();
  99 
 100     // typical array sizes: only odd numbers allowed below
 101     static final int INITIAL_ARRAY        = 256;
 102 
 103     // alpha row dimension
 104     static final int INITIAL_AA_ARRAY     = INITIAL_PIXEL_WIDTH;
 105 
 106     // 4096 edges for initial capacity
 107     static final int INITIAL_EDGES_COUNT = MarlinProperties.getInitialEdges();
 108 
 109     // initial edges = edges count (4096)
 110     // 6 ints per edges = 24 bytes


< prev index next >