sun.java2d.marlin.stats.Histogram Java Examples

The following examples show how to use sun.java2d.marlin.stats.Histogram. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DHelpers.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
PolyStack(final DRendererContext rdrCtx,
          final StatLong stat_polystack_types,
          final StatLong stat_polystack_curves,
          final Histogram hist_polystack_curves,
          final StatLong stat_array_polystack_curves,
          final StatLong stat_array_polystack_curveTypes)
{
    curves_ref = rdrCtx.newDirtyDoubleArrayRef(INITIAL_CURVES_COUNT); // 32K
    curves     = curves_ref.initial;

    curveTypes_ref = rdrCtx.newDirtyByteArrayRef(INITIAL_TYPES_COUNT); // 4K
    curveTypes     = curveTypes_ref.initial;
    numCurves = 0;
    end = 0;

    if (DO_STATS) {
        curveTypesUseMark = 0;
        curvesUseMark = 0;
    }
    this.stat_polystack_types = stat_polystack_types;
    this.stat_polystack_curves = stat_polystack_curves;
    this.hist_polystack_curves = hist_polystack_curves;
    this.stat_array_polystack_curves = stat_array_polystack_curves;
    this.stat_array_polystack_curveTypes = stat_array_polystack_curveTypes;
}
 
Example #2
Source File: DHelpers.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
IndexStack(final DRendererContext rdrCtx,
           final StatLong stat_idxstack_indices,
           final Histogram hist_idxstack_indices,
           final StatLong stat_array_idxstack_indices)
{
    indices_ref = rdrCtx.newDirtyIntArrayRef(INITIAL_COUNT); // 4K
    indices     = indices_ref.initial;
    end = 0;

    if (DO_STATS) {
        indicesUseMark = 0;
    }
    this.stat_idxstack_indices = stat_idxstack_indices;
    this.hist_idxstack_indices = hist_idxstack_indices;
    this.stat_array_idxstack_indices = stat_array_idxstack_indices;
}
 
Example #3
Source File: Helpers.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
PolyStack(final RendererContext rdrCtx,
          final StatLong stat_polystack_types,
          final StatLong stat_polystack_curves,
          final Histogram hist_polystack_curves,
          final StatLong stat_array_polystack_curves,
          final StatLong stat_array_polystack_curveTypes)
{
    curves_ref = rdrCtx.newDirtyFloatArrayRef(INITIAL_CURVES_COUNT); // 32K
    curves     = curves_ref.initial;

    curveTypes_ref = rdrCtx.newDirtyByteArrayRef(INITIAL_TYPES_COUNT); // 4K
    curveTypes     = curveTypes_ref.initial;
    numCurves = 0;
    end = 0;

    if (DO_STATS) {
        curveTypesUseMark = 0;
        curvesUseMark = 0;
    }
    this.stat_polystack_types = stat_polystack_types;
    this.stat_polystack_curves = stat_polystack_curves;
    this.hist_polystack_curves = hist_polystack_curves;
    this.stat_array_polystack_curves = stat_array_polystack_curves;
    this.stat_array_polystack_curveTypes = stat_array_polystack_curveTypes;
}
 
Example #4
Source File: Helpers.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
IndexStack(final RendererContext rdrCtx,
           final StatLong stat_idxstack_indices,
           final Histogram hist_idxstack_indices,
           final StatLong stat_array_idxstack_indices)
{
    indices_ref = rdrCtx.newDirtyIntArrayRef(INITIAL_COUNT); // 4K
    indices     = indices_ref.initial;
    end = 0;

    if (DO_STATS) {
        indicesUseMark = 0;
    }
    this.stat_idxstack_indices = stat_idxstack_indices;
    this.hist_idxstack_indices = hist_idxstack_indices;
    this.stat_array_idxstack_indices = stat_array_idxstack_indices;
}
 
Example #5
Source File: DHelpers.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
PolyStack(final DRendererContext rdrCtx,
          final StatLong stat_polystack_types,
          final StatLong stat_polystack_curves,
          final Histogram hist_polystack_curves,
          final StatLong stat_array_polystack_curves,
          final StatLong stat_array_polystack_curveTypes)
{
    curves_ref = rdrCtx.newDirtyDoubleArrayRef(INITIAL_CURVES_COUNT); // 32K
    curves     = curves_ref.initial;

    curveTypes_ref = rdrCtx.newDirtyByteArrayRef(INITIAL_TYPES_COUNT); // 4K
    curveTypes     = curveTypes_ref.initial;
    numCurves = 0;
    end = 0;

    if (DO_STATS) {
        curveTypesUseMark = 0;
        curvesUseMark = 0;
    }
    this.stat_polystack_types = stat_polystack_types;
    this.stat_polystack_curves = stat_polystack_curves;
    this.hist_polystack_curves = hist_polystack_curves;
    this.stat_array_polystack_curves = stat_array_polystack_curves;
    this.stat_array_polystack_curveTypes = stat_array_polystack_curveTypes;
}
 
Example #6
Source File: DHelpers.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
IndexStack(final DRendererContext rdrCtx,
           final StatLong stat_idxstack_indices,
           final Histogram hist_idxstack_indices,
           final StatLong stat_array_idxstack_indices)
{
    indices_ref = rdrCtx.newDirtyIntArrayRef(INITIAL_COUNT); // 4K
    indices     = indices_ref.initial;
    end = 0;

    if (DO_STATS) {
        indicesUseMark = 0;
    }
    this.stat_idxstack_indices = stat_idxstack_indices;
    this.hist_idxstack_indices = hist_idxstack_indices;
    this.stat_array_idxstack_indices = stat_array_idxstack_indices;
}
 
Example #7
Source File: Helpers.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
PolyStack(final RendererContext rdrCtx,
          final StatLong stat_polystack_types,
          final StatLong stat_polystack_curves,
          final Histogram hist_polystack_curves,
          final StatLong stat_array_polystack_curves,
          final StatLong stat_array_polystack_curveTypes)
{
    curves_ref = rdrCtx.newDirtyFloatArrayRef(INITIAL_CURVES_COUNT); // 32K
    curves     = curves_ref.initial;

    curveTypes_ref = rdrCtx.newDirtyByteArrayRef(INITIAL_TYPES_COUNT); // 4K
    curveTypes     = curveTypes_ref.initial;
    numCurves = 0;
    end = 0;

    if (DO_STATS) {
        curveTypesUseMark = 0;
        curvesUseMark = 0;
    }
    this.stat_polystack_types = stat_polystack_types;
    this.stat_polystack_curves = stat_polystack_curves;
    this.hist_polystack_curves = hist_polystack_curves;
    this.stat_array_polystack_curves = stat_array_polystack_curves;
    this.stat_array_polystack_curveTypes = stat_array_polystack_curveTypes;
}
 
Example #8
Source File: Helpers.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
IndexStack(final RendererContext rdrCtx,
           final StatLong stat_idxstack_indices,
           final Histogram hist_idxstack_indices,
           final StatLong stat_array_idxstack_indices)
{
    indices_ref = rdrCtx.newDirtyIntArrayRef(INITIAL_COUNT); // 4K
    indices     = indices_ref.initial;
    end = 0;

    if (DO_STATS) {
        indicesUseMark = 0;
    }
    this.stat_idxstack_indices = stat_idxstack_indices;
    this.hist_idxstack_indices = hist_idxstack_indices;
    this.stat_array_idxstack_indices = stat_array_idxstack_indices;
}