0N/A/*
3261N/A * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A#include <stdlib.h>
0N/A#include <string.h>
0N/A#include <sys/utsname.h>
0N/A#include "GraphicsPrimitiveMgr.h"
0N/A#include "java2d_Mlib.h"
0N/A
0N/Atypedef struct {
0N/A AnyFunc *func_c;
0N/A AnyFunc *func_vis;
0N/A} AnyFunc_pair;
0N/A
0N/A#define DEF_FUNC(x) \
0N/A void x(); \
0N/A void ADD_SUFF(x)();
0N/A
0N/A#define ADD_FUNC(x) \
0N/A { & x, & ADD_SUFF(x) }
0N/A
0N/A/***************************************************************/
0N/A
0N/ADEF_FUNC(AnyByteDrawGlyphList)
0N/ADEF_FUNC(AnyByteDrawGlyphListXor)
0N/ADEF_FUNC(AnyByteIsomorphicCopy)
0N/ADEF_FUNC(AnyByteIsomorphicScaleCopy)
0N/ADEF_FUNC(AnyByteIsomorphicXorCopy)
0N/ADEF_FUNC(AnyByteSetLine)
0N/ADEF_FUNC(AnyByteSetRect)
0N/ADEF_FUNC(AnyByteSetSpans)
3172N/ADEF_FUNC(AnyByteSetParallelogram)
0N/ADEF_FUNC(AnyByteXorLine)
0N/ADEF_FUNC(AnyByteXorRect)
0N/ADEF_FUNC(AnyByteXorSpans)
0N/ADEF_FUNC(AnyShortDrawGlyphList)
0N/ADEF_FUNC(AnyShortDrawGlyphListXor)
0N/ADEF_FUNC(AnyShortIsomorphicCopy)
0N/ADEF_FUNC(AnyShortIsomorphicScaleCopy)
0N/ADEF_FUNC(AnyShortIsomorphicXorCopy)
0N/ADEF_FUNC(AnyShortSetLine)
0N/ADEF_FUNC(AnyShortSetRect)
0N/ADEF_FUNC(AnyShortSetSpans)
3172N/ADEF_FUNC(AnyShortSetParallelogram)
0N/ADEF_FUNC(AnyShortXorLine)
0N/ADEF_FUNC(AnyShortXorRect)
0N/ADEF_FUNC(AnyShortXorSpans)
0N/ADEF_FUNC(Any3ByteDrawGlyphList)
0N/ADEF_FUNC(Any3ByteDrawGlyphListXor)
0N/ADEF_FUNC(Any3ByteIsomorphicCopy)
0N/ADEF_FUNC(Any3ByteIsomorphicScaleCopy)
0N/ADEF_FUNC(Any3ByteIsomorphicXorCopy)
0N/ADEF_FUNC(Any3ByteSetLine)
0N/ADEF_FUNC(Any3ByteSetRect)
0N/ADEF_FUNC(Any3ByteSetSpans)
3172N/ADEF_FUNC(Any3ByteSetParallelogram)
0N/ADEF_FUNC(Any3ByteXorLine)
0N/ADEF_FUNC(Any3ByteXorRect)
0N/ADEF_FUNC(Any3ByteXorSpans)
0N/ADEF_FUNC(Any4ByteDrawGlyphList)
0N/ADEF_FUNC(Any4ByteDrawGlyphListXor)
0N/ADEF_FUNC(Any4ByteIsomorphicCopy)
0N/ADEF_FUNC(Any4ByteIsomorphicScaleCopy)
0N/ADEF_FUNC(Any4ByteIsomorphicXorCopy)
0N/ADEF_FUNC(Any4ByteSetLine)
0N/ADEF_FUNC(Any4ByteSetRect)
0N/ADEF_FUNC(Any4ByteSetSpans)
3172N/ADEF_FUNC(Any4ByteSetParallelogram)
0N/ADEF_FUNC(Any4ByteXorLine)
0N/ADEF_FUNC(Any4ByteXorRect)
0N/ADEF_FUNC(Any4ByteXorSpans)
0N/ADEF_FUNC(AnyIntDrawGlyphList)
0N/ADEF_FUNC(AnyIntDrawGlyphListXor)
0N/ADEF_FUNC(AnyIntIsomorphicCopy)
0N/ADEF_FUNC(AnyIntIsomorphicScaleCopy)
0N/ADEF_FUNC(AnyIntIsomorphicXorCopy)
0N/ADEF_FUNC(AnyIntSetLine)
0N/ADEF_FUNC(AnyIntSetRect)
0N/ADEF_FUNC(AnyIntSetSpans)
3172N/ADEF_FUNC(AnyIntSetParallelogram)
0N/ADEF_FUNC(AnyIntXorLine)
0N/ADEF_FUNC(AnyIntXorRect)
0N/ADEF_FUNC(AnyIntXorSpans)
0N/ADEF_FUNC(ByteGrayAlphaMaskFill)
0N/ADEF_FUNC(ByteGrayDrawGlyphListAA)
0N/ADEF_FUNC(ByteGraySrcMaskFill)
0N/ADEF_FUNC(ByteGraySrcOverMaskFill)
0N/ADEF_FUNC(ByteGrayToIntArgbConvert)
0N/ADEF_FUNC(ByteGrayToIntArgbScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToByteGrayScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToByteGrayXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToByteGrayXparOver)
0N/ADEF_FUNC(ByteIndexedToByteGrayConvert)
0N/ADEF_FUNC(ByteIndexedToByteGrayScaleConvert)
0N/ADEF_FUNC(Index12GrayToByteGrayConvert)
0N/ADEF_FUNC(Index12GrayToByteGrayScaleConvert)
0N/ADEF_FUNC(Index8GrayToByteGrayConvert)
0N/ADEF_FUNC(Index8GrayToByteGrayScaleConvert)
0N/ADEF_FUNC(IntArgbBmToByteGrayScaleXparOver)
0N/ADEF_FUNC(IntArgbBmToByteGrayXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToByteGrayXparOver)
0N/ADEF_FUNC(IntArgbToByteGrayAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToByteGrayConvert)
0N/ADEF_FUNC(IntArgbToByteGrayScaleConvert)
0N/ADEF_FUNC(IntArgbToByteGraySrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToByteGrayXorBlit)
0N/ADEF_FUNC(IntRgbToByteGrayAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToByteGrayConvert)
0N/ADEF_FUNC(ThreeByteBgrToByteGrayScaleConvert)
0N/ADEF_FUNC(UshortGrayToByteGrayConvert)
0N/ADEF_FUNC(UshortGrayToByteGrayScaleConvert)
0N/ADEF_FUNC(ByteGrayToUshortGrayConvert)
0N/ADEF_FUNC(ByteGrayToUshortGrayScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToUshortGrayScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToUshortGrayXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToUshortGrayXparOver)
0N/ADEF_FUNC(ByteIndexedToUshortGrayConvert)
0N/ADEF_FUNC(ByteIndexedToUshortGrayScaleConvert)
0N/ADEF_FUNC(IntArgbBmToUshortGrayScaleXparOver)
0N/ADEF_FUNC(IntArgbToUshortGrayAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToUshortGrayConvert)
0N/ADEF_FUNC(IntArgbToUshortGrayScaleConvert)
0N/ADEF_FUNC(IntArgbToUshortGraySrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToUshortGrayXorBlit)
0N/ADEF_FUNC(IntRgbToUshortGrayAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToUshortGrayConvert)
0N/ADEF_FUNC(ThreeByteBgrToUshortGrayScaleConvert)
0N/ADEF_FUNC(UshortGrayAlphaMaskFill)
0N/ADEF_FUNC(UshortGrayDrawGlyphListAA)
0N/ADEF_FUNC(UshortGraySrcMaskFill)
0N/ADEF_FUNC(UshortGraySrcOverMaskFill)
0N/ADEF_FUNC(UshortGrayToIntArgbConvert)
0N/ADEF_FUNC(UshortGrayToIntArgbScaleConvert)
0N/ADEF_FUNC(ByteGrayToByteIndexedConvert)
0N/ADEF_FUNC(ByteGrayToByteIndexedScaleConvert)
0N/ADEF_FUNC(ByteIndexedAlphaMaskFill)
0N/ADEF_FUNC(ByteIndexedBmToByteIndexedScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToByteIndexedXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToByteIndexedXparOver)
0N/ADEF_FUNC(ByteIndexedDrawGlyphListAA)
0N/ADEF_FUNC(ByteIndexedToByteIndexedConvert)
0N/ADEF_FUNC(ByteIndexedToByteIndexedScaleConvert)
0N/ADEF_FUNC(Index12GrayToByteIndexedConvert)
0N/ADEF_FUNC(Index12GrayToByteIndexedScaleConvert)
0N/ADEF_FUNC(IntArgbBmToByteIndexedScaleXparOver)
0N/ADEF_FUNC(IntArgbBmToByteIndexedXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToByteIndexedXparOver)
0N/ADEF_FUNC(IntArgbToByteIndexedAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToByteIndexedConvert)
0N/ADEF_FUNC(IntArgbToByteIndexedScaleConvert)
0N/ADEF_FUNC(IntArgbToByteIndexedXorBlit)
0N/ADEF_FUNC(IntRgbToByteIndexedAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToByteIndexedConvert)
0N/ADEF_FUNC(ThreeByteBgrToByteIndexedScaleConvert)
0N/ADEF_FUNC(ByteGrayToFourByteAbgrConvert)
0N/ADEF_FUNC(ByteGrayToFourByteAbgrScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToFourByteAbgrScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToFourByteAbgrXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToFourByteAbgrXparOver)
0N/ADEF_FUNC(ByteIndexedToFourByteAbgrConvert)
0N/ADEF_FUNC(ByteIndexedToFourByteAbgrScaleConvert)
0N/ADEF_FUNC(FourByteAbgrAlphaMaskFill)
0N/ADEF_FUNC(FourByteAbgrDrawGlyphListAA)
0N/ADEF_FUNC(FourByteAbgrSrcMaskFill)
0N/ADEF_FUNC(FourByteAbgrSrcOverMaskFill)
0N/ADEF_FUNC(FourByteAbgrToIntArgbConvert)
0N/ADEF_FUNC(FourByteAbgrToIntArgbScaleConvert)
0N/ADEF_FUNC(IntArgbBmToFourByteAbgrScaleXparOver)
0N/ADEF_FUNC(IntArgbToFourByteAbgrAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToFourByteAbgrConvert)
0N/ADEF_FUNC(IntArgbToFourByteAbgrScaleConvert)
0N/ADEF_FUNC(IntArgbToFourByteAbgrSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToFourByteAbgrXorBlit)
0N/ADEF_FUNC(IntRgbToFourByteAbgrAlphaMaskBlit)
0N/ADEF_FUNC(IntRgbToFourByteAbgrConvert)
0N/ADEF_FUNC(IntRgbToFourByteAbgrScaleConvert)
0N/ADEF_FUNC(ThreeByteBgrToFourByteAbgrConvert)
0N/ADEF_FUNC(ThreeByteBgrToFourByteAbgrScaleConvert)
0N/ADEF_FUNC(ByteGrayToFourByteAbgrPreConvert)
0N/ADEF_FUNC(ByteGrayToFourByteAbgrPreScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToFourByteAbgrPreScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToFourByteAbgrPreXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToFourByteAbgrPreXparOver)
0N/ADEF_FUNC(ByteIndexedToFourByteAbgrPreConvert)
0N/ADEF_FUNC(ByteIndexedToFourByteAbgrPreScaleConvert)
0N/ADEF_FUNC(FourByteAbgrPreAlphaMaskFill)
0N/ADEF_FUNC(FourByteAbgrPreDrawGlyphListAA)
0N/ADEF_FUNC(FourByteAbgrPreSrcMaskFill)
0N/ADEF_FUNC(FourByteAbgrPreSrcOverMaskFill)
0N/ADEF_FUNC(FourByteAbgrPreToIntArgbConvert)
0N/ADEF_FUNC(FourByteAbgrPreToIntArgbScaleConvert)
0N/ADEF_FUNC(IntArgbBmToFourByteAbgrPreScaleXparOver)
0N/ADEF_FUNC(IntArgbToFourByteAbgrPreAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToFourByteAbgrPreConvert)
0N/ADEF_FUNC(IntArgbToFourByteAbgrPreScaleConvert)
0N/ADEF_FUNC(IntArgbToFourByteAbgrPreSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToFourByteAbgrPreXorBlit)
0N/ADEF_FUNC(IntRgbToFourByteAbgrPreAlphaMaskBlit)
0N/ADEF_FUNC(IntRgbToFourByteAbgrPreConvert)
0N/ADEF_FUNC(IntRgbToFourByteAbgrPreScaleConvert)
0N/ADEF_FUNC(ThreeByteBgrToFourByteAbgrPreConvert)
0N/ADEF_FUNC(ThreeByteBgrToFourByteAbgrPreScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbXparOver)
0N/ADEF_FUNC(ByteIndexedToIntArgbConvert)
0N/ADEF_FUNC(ByteIndexedToIntArgbScaleConvert)
0N/ADEF_FUNC(Index12GrayToIntArgbConvert)
0N/ADEF_FUNC(IntArgbAlphaMaskFill)
0N/ADEF_FUNC(IntArgbBmToIntArgbScaleXparOver)
0N/ADEF_FUNC(IntArgbDrawGlyphListAA)
0N/ADEF_FUNC(IntArgbSrcMaskFill)
0N/ADEF_FUNC(IntArgbSrcOverMaskFill)
0N/ADEF_FUNC(IntArgbToIntArgbAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIntArgbSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToIntArgbXorBlit)
0N/ADEF_FUNC(IntRgbToIntArgbAlphaMaskBlit)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbBmScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbBmXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbBmXparOver)
0N/ADEF_FUNC(ByteIndexedToIntArgbBmConvert)
0N/ADEF_FUNC(ByteIndexedToIntArgbBmScaleConvert)
0N/ADEF_FUNC(IntArgbBmAlphaMaskFill)
0N/ADEF_FUNC(IntArgbBmDrawGlyphListAA)
0N/ADEF_FUNC(IntArgbBmToIntArgbConvert)
0N/ADEF_FUNC(IntArgbToIntArgbBmAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIntArgbBmConvert)
0N/ADEF_FUNC(IntArgbToIntArgbBmScaleConvert)
0N/ADEF_FUNC(IntArgbToIntArgbBmXorBlit)
0N/ADEF_FUNC(ByteGrayToIntArgbPreConvert)
0N/ADEF_FUNC(ByteGrayToIntArgbPreScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbPreScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbPreXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIntArgbPreXparOver)
0N/ADEF_FUNC(ByteIndexedToIntArgbPreConvert)
0N/ADEF_FUNC(ByteIndexedToIntArgbPreScaleConvert)
0N/ADEF_FUNC(IntArgbPreAlphaMaskFill)
0N/ADEF_FUNC(IntArgbPreDrawGlyphListAA)
0N/ADEF_FUNC(IntArgbPreSrcMaskFill)
0N/ADEF_FUNC(IntArgbPreSrcOverMaskFill)
0N/ADEF_FUNC(IntArgbPreToIntArgbConvert)
0N/ADEF_FUNC(IntArgbPreToIntArgbScaleConvert)
0N/ADEF_FUNC(IntArgbToIntArgbPreAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIntArgbPreConvert)
0N/ADEF_FUNC(IntArgbToIntArgbPreScaleConvert)
0N/ADEF_FUNC(IntArgbToIntArgbPreSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToIntArgbPreXorBlit)
0N/ADEF_FUNC(IntRgbToIntArgbPreAlphaMaskBlit)
0N/ADEF_FUNC(IntRgbToIntArgbPreConvert)
0N/ADEF_FUNC(IntRgbToIntArgbPreScaleConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntArgbPreConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntArgbPreScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToIntBgrScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToIntBgrXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIntBgrXparOver)
0N/ADEF_FUNC(ByteIndexedToIntBgrConvert)
0N/ADEF_FUNC(ByteIndexedToIntBgrScaleConvert)
0N/ADEF_FUNC(IntArgbBmToIntBgrScaleXparOver)
0N/ADEF_FUNC(IntArgbBmToIntBgrXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToIntBgrXparOver)
0N/ADEF_FUNC(IntArgbToIntBgrAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIntBgrConvert)
0N/ADEF_FUNC(IntArgbToIntBgrScaleConvert)
0N/ADEF_FUNC(IntArgbToIntBgrSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToIntBgrXorBlit)
0N/ADEF_FUNC(IntBgrAlphaMaskFill)
0N/ADEF_FUNC(IntBgrDrawGlyphListAA)
0N/ADEF_FUNC(IntBgrSrcMaskFill)
0N/ADEF_FUNC(IntBgrSrcOverMaskFill)
0N/ADEF_FUNC(IntBgrToIntArgbConvert)
0N/ADEF_FUNC(IntBgrToIntArgbScaleConvert)
0N/ADEF_FUNC(IntBgrToIntBgrAlphaMaskBlit)
0N/ADEF_FUNC(IntRgbToIntBgrAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToIntBgrConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntBgrScaleConvert)
0N/ADEF_FUNC(ByteGrayToIntRgbConvert)
0N/ADEF_FUNC(ByteGrayToIntRgbScaleConvert)
0N/ADEF_FUNC(IntArgbBmToIntRgbXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToIntRgbXparOver)
0N/ADEF_FUNC(IntArgbToIntRgbAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIntRgbSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToIntRgbXorBlit)
0N/ADEF_FUNC(IntRgbAlphaMaskFill)
0N/ADEF_FUNC(IntRgbDrawGlyphListAA)
0N/ADEF_FUNC(IntRgbSrcMaskFill)
0N/ADEF_FUNC(IntRgbSrcOverMaskFill)
0N/ADEF_FUNC(IntRgbToIntArgbConvert)
0N/ADEF_FUNC(IntRgbToIntArgbScaleConvert)
0N/ADEF_FUNC(IntRgbToIntRgbAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToIntRgbConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntRgbScaleConvert)
0N/ADEF_FUNC(ByteGrayToIntRgbxConvert)
0N/ADEF_FUNC(ByteGrayToIntRgbxScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToIntRgbxScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToIntRgbxXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIntRgbxXparOver)
0N/ADEF_FUNC(ByteIndexedToIntRgbxConvert)
0N/ADEF_FUNC(ByteIndexedToIntRgbxScaleConvert)
0N/ADEF_FUNC(IntArgbBmToIntRgbxScaleXparOver)
0N/ADEF_FUNC(IntArgbToIntRgbxConvert)
0N/ADEF_FUNC(IntArgbToIntRgbxScaleConvert)
0N/ADEF_FUNC(IntArgbToIntRgbxXorBlit)
0N/ADEF_FUNC(IntRgbxDrawGlyphListAA)
0N/ADEF_FUNC(IntRgbxToIntArgbConvert)
0N/ADEF_FUNC(IntRgbxToIntArgbScaleConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntRgbxConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntRgbxScaleConvert)
0N/ADEF_FUNC(ByteGrayToThreeByteBgrConvert)
0N/ADEF_FUNC(ByteGrayToThreeByteBgrScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToThreeByteBgrScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToThreeByteBgrXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToThreeByteBgrXparOver)
0N/ADEF_FUNC(ByteIndexedToThreeByteBgrConvert)
0N/ADEF_FUNC(ByteIndexedToThreeByteBgrScaleConvert)
0N/ADEF_FUNC(IntArgbBmToThreeByteBgrScaleXparOver)
0N/ADEF_FUNC(IntArgbBmToThreeByteBgrXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToThreeByteBgrXparOver)
0N/ADEF_FUNC(IntArgbToThreeByteBgrAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToThreeByteBgrConvert)
0N/ADEF_FUNC(IntArgbToThreeByteBgrScaleConvert)
0N/ADEF_FUNC(IntArgbToThreeByteBgrSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToThreeByteBgrXorBlit)
0N/ADEF_FUNC(IntRgbToThreeByteBgrAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrAlphaMaskFill)
0N/ADEF_FUNC(ThreeByteBgrDrawGlyphListAA)
0N/ADEF_FUNC(ThreeByteBgrSrcMaskFill)
0N/ADEF_FUNC(ThreeByteBgrSrcOverMaskFill)
0N/ADEF_FUNC(ThreeByteBgrToIntArgbConvert)
0N/ADEF_FUNC(ThreeByteBgrToIntArgbScaleConvert)
0N/ADEF_FUNC(ByteGrayToIndex8GrayConvert)
0N/ADEF_FUNC(ByteGrayToIndex8GrayScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToIndex8GrayXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIndex8GrayXparOver)
0N/ADEF_FUNC(ByteIndexedToIndex8GrayConvert)
0N/ADEF_FUNC(ByteIndexedToIndex8GrayScaleConvert)
0N/ADEF_FUNC(Index12GrayToIndex8GrayConvert)
0N/ADEF_FUNC(Index12GrayToIndex8GrayScaleConvert)
0N/ADEF_FUNC(Index8GrayAlphaMaskFill)
0N/ADEF_FUNC(Index8GrayDrawGlyphListAA)
0N/ADEF_FUNC(Index8GraySrcOverMaskFill)
0N/ADEF_FUNC(Index8GrayToIndex8GrayConvert)
0N/ADEF_FUNC(Index8GrayToIndex8GrayScaleConvert)
0N/ADEF_FUNC(IntArgbToIndex8GrayAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIndex8GrayConvert)
0N/ADEF_FUNC(IntArgbToIndex8GrayScaleConvert)
0N/ADEF_FUNC(IntArgbToIndex8GraySrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToIndex8GrayXorBlit)
0N/ADEF_FUNC(IntRgbToIndex8GrayAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToIndex8GrayConvert)
0N/ADEF_FUNC(ThreeByteBgrToIndex8GrayScaleConvert)
0N/ADEF_FUNC(UshortGrayToIndex8GrayScaleConvert)
0N/ADEF_FUNC(ByteGrayToIndex12GrayConvert)
0N/ADEF_FUNC(ByteGrayToIndex12GrayScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToIndex12GrayXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToIndex12GrayXparOver)
0N/ADEF_FUNC(ByteIndexedToIndex12GrayConvert)
0N/ADEF_FUNC(ByteIndexedToIndex12GrayScaleConvert)
0N/ADEF_FUNC(Index12GrayAlphaMaskFill)
0N/ADEF_FUNC(Index12GrayDrawGlyphListAA)
0N/ADEF_FUNC(Index12GraySrcOverMaskFill)
0N/ADEF_FUNC(Index12GrayToIndex12GrayConvert)
0N/ADEF_FUNC(Index12GrayToIndex12GrayScaleConvert)
0N/ADEF_FUNC(Index12GrayToIntArgbScaleConvert)
0N/ADEF_FUNC(Index8GrayToIndex12GrayConvert)
0N/ADEF_FUNC(Index8GrayToIndex12GrayScaleConvert)
0N/ADEF_FUNC(IntArgbToIndex12GrayAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToIndex12GrayConvert)
0N/ADEF_FUNC(IntArgbToIndex12GrayScaleConvert)
0N/ADEF_FUNC(IntArgbToIndex12GraySrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToIndex12GrayXorBlit)
0N/ADEF_FUNC(IntRgbToIndex12GrayAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToIndex12GrayConvert)
0N/ADEF_FUNC(ThreeByteBgrToIndex12GrayScaleConvert)
0N/ADEF_FUNC(UshortGrayToIndex12GrayScaleConvert)
0N/ADEF_FUNC(ByteBinary1BitAlphaMaskFill)
0N/ADEF_FUNC(ByteBinary1BitDrawGlyphList)
0N/ADEF_FUNC(ByteBinary1BitDrawGlyphListAA)
0N/ADEF_FUNC(ByteBinary1BitDrawGlyphListXor)
0N/ADEF_FUNC(ByteBinary1BitSetLine)
0N/ADEF_FUNC(ByteBinary1BitSetRect)
0N/ADEF_FUNC(ByteBinary1BitSetSpans)
0N/ADEF_FUNC(ByteBinary1BitToByteBinary1BitConvert)
0N/ADEF_FUNC(ByteBinary1BitToIntArgbAlphaMaskBlit)
0N/ADEF_FUNC(ByteBinary1BitToIntArgbConvert)
0N/ADEF_FUNC(ByteBinary1BitXorLine)
0N/ADEF_FUNC(ByteBinary1BitXorRect)
0N/ADEF_FUNC(ByteBinary1BitXorSpans)
0N/ADEF_FUNC(IntArgbToByteBinary1BitAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToByteBinary1BitConvert)
0N/ADEF_FUNC(IntArgbToByteBinary1BitXorBlit)
0N/ADEF_FUNC(ByteBinary2BitAlphaMaskFill)
0N/ADEF_FUNC(ByteBinary2BitDrawGlyphList)
0N/ADEF_FUNC(ByteBinary2BitDrawGlyphListAA)
0N/ADEF_FUNC(ByteBinary2BitDrawGlyphListXor)
0N/ADEF_FUNC(ByteBinary2BitSetLine)
0N/ADEF_FUNC(ByteBinary2BitSetRect)
0N/ADEF_FUNC(ByteBinary2BitSetSpans)
0N/ADEF_FUNC(ByteBinary2BitToByteBinary2BitConvert)
0N/ADEF_FUNC(ByteBinary2BitToIntArgbAlphaMaskBlit)
0N/ADEF_FUNC(ByteBinary2BitToIntArgbConvert)
0N/ADEF_FUNC(ByteBinary2BitXorLine)
0N/ADEF_FUNC(ByteBinary2BitXorRect)
0N/ADEF_FUNC(ByteBinary2BitXorSpans)
0N/ADEF_FUNC(IntArgbToByteBinary2BitAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToByteBinary2BitConvert)
0N/ADEF_FUNC(IntArgbToByteBinary2BitXorBlit)
0N/ADEF_FUNC(ByteBinary4BitAlphaMaskFill)
0N/ADEF_FUNC(ByteBinary4BitDrawGlyphList)
0N/ADEF_FUNC(ByteBinary4BitDrawGlyphListAA)
0N/ADEF_FUNC(ByteBinary4BitDrawGlyphListXor)
0N/ADEF_FUNC(ByteBinary4BitSetLine)
0N/ADEF_FUNC(ByteBinary4BitSetRect)
0N/ADEF_FUNC(ByteBinary4BitSetSpans)
0N/ADEF_FUNC(ByteBinary4BitToByteBinary4BitConvert)
0N/ADEF_FUNC(ByteBinary4BitToIntArgbAlphaMaskBlit)
0N/ADEF_FUNC(ByteBinary4BitToIntArgbConvert)
0N/ADEF_FUNC(ByteBinary4BitXorLine)
0N/ADEF_FUNC(ByteBinary4BitXorRect)
0N/ADEF_FUNC(ByteBinary4BitXorSpans)
0N/ADEF_FUNC(IntArgbToByteBinary4BitAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToByteBinary4BitConvert)
0N/ADEF_FUNC(IntArgbToByteBinary4BitXorBlit)
0N/ADEF_FUNC(ByteGrayToUshort555RgbConvert)
0N/ADEF_FUNC(ByteGrayToUshort555RgbScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToUshort555RgbScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToUshort555RgbXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToUshort555RgbXparOver)
0N/ADEF_FUNC(ByteIndexedToUshort555RgbConvert)
0N/ADEF_FUNC(ByteIndexedToUshort555RgbScaleConvert)
0N/ADEF_FUNC(IntArgbBmToUshort555RgbScaleXparOver)
0N/ADEF_FUNC(IntArgbBmToUshort555RgbXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToUshort555RgbXparOver)
0N/ADEF_FUNC(IntArgbToUshort555RgbAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToUshort555RgbConvert)
0N/ADEF_FUNC(IntArgbToUshort555RgbScaleConvert)
0N/ADEF_FUNC(IntArgbToUshort555RgbSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToUshort555RgbXorBlit)
0N/ADEF_FUNC(IntRgbToUshort555RgbAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToUshort555RgbConvert)
0N/ADEF_FUNC(ThreeByteBgrToUshort555RgbScaleConvert)
0N/ADEF_FUNC(Ushort555RgbAlphaMaskFill)
0N/ADEF_FUNC(Ushort555RgbDrawGlyphListAA)
0N/ADEF_FUNC(Ushort555RgbSrcMaskFill)
0N/ADEF_FUNC(Ushort555RgbSrcOverMaskFill)
0N/ADEF_FUNC(Ushort555RgbToIntArgbConvert)
0N/ADEF_FUNC(Ushort555RgbToIntArgbScaleConvert)
0N/ADEF_FUNC(ByteGrayToUshort555RgbxConvert)
0N/ADEF_FUNC(ByteGrayToUshort555RgbxScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToUshort555RgbxScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToUshort555RgbxXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToUshort555RgbxXparOver)
0N/ADEF_FUNC(ByteIndexedToUshort555RgbxConvert)
0N/ADEF_FUNC(ByteIndexedToUshort555RgbxScaleConvert)
0N/ADEF_FUNC(IntArgbBmToUshort555RgbxScaleXparOver)
0N/ADEF_FUNC(IntArgbToUshort555RgbxConvert)
0N/ADEF_FUNC(IntArgbToUshort555RgbxScaleConvert)
0N/ADEF_FUNC(IntArgbToUshort555RgbxXorBlit)
0N/ADEF_FUNC(ThreeByteBgrToUshort555RgbxConvert)
0N/ADEF_FUNC(ThreeByteBgrToUshort555RgbxScaleConvert)
0N/ADEF_FUNC(Ushort555RgbxDrawGlyphListAA)
0N/ADEF_FUNC(Ushort555RgbxToIntArgbConvert)
0N/ADEF_FUNC(Ushort555RgbxToIntArgbScaleConvert)
0N/ADEF_FUNC(ByteGrayToUshort565RgbConvert)
0N/ADEF_FUNC(ByteGrayToUshort565RgbScaleConvert)
0N/ADEF_FUNC(ByteIndexedBmToUshort565RgbScaleXparOver)
0N/ADEF_FUNC(ByteIndexedBmToUshort565RgbXparBgCopy)
0N/ADEF_FUNC(ByteIndexedBmToUshort565RgbXparOver)
0N/ADEF_FUNC(ByteIndexedToUshort565RgbConvert)
0N/ADEF_FUNC(ByteIndexedToUshort565RgbScaleConvert)
0N/ADEF_FUNC(IntArgbBmToUshort565RgbScaleXparOver)
0N/ADEF_FUNC(IntArgbBmToUshort565RgbXparBgCopy)
0N/ADEF_FUNC(IntArgbBmToUshort565RgbXparOver)
0N/ADEF_FUNC(IntArgbToUshort565RgbAlphaMaskBlit)
0N/ADEF_FUNC(IntArgbToUshort565RgbConvert)
0N/ADEF_FUNC(IntArgbToUshort565RgbScaleConvert)
0N/ADEF_FUNC(IntArgbToUshort565RgbSrcOverMaskBlit)
0N/ADEF_FUNC(IntArgbToUshort565RgbXorBlit)
0N/ADEF_FUNC(IntRgbToUshort565RgbAlphaMaskBlit)
0N/ADEF_FUNC(ThreeByteBgrToUshort565RgbConvert)
0N/ADEF_FUNC(ThreeByteBgrToUshort565RgbScaleConvert)
0N/ADEF_FUNC(Ushort565RgbAlphaMaskFill)
0N/ADEF_FUNC(Ushort565RgbDrawGlyphListAA)
0N/ADEF_FUNC(Ushort565RgbSrcMaskFill)
0N/ADEF_FUNC(Ushort565RgbSrcOverMaskFill)
0N/ADEF_FUNC(Ushort565RgbToIntArgbConvert)
0N/ADEF_FUNC(Ushort565RgbToIntArgbScaleConvert)
0N/A
0N/A/***************************************************************/
0N/A
0N/Astatic AnyFunc_pair vis_func_pair_array[] = {
0N/A ADD_FUNC(AnyByteDrawGlyphList),
0N/A ADD_FUNC(AnyByteDrawGlyphListXor),
0N/A ADD_FUNC(AnyByteIsomorphicCopy),
0N/A ADD_FUNC(AnyByteIsomorphicScaleCopy),
0N/A ADD_FUNC(AnyByteIsomorphicXorCopy),
0N/A ADD_FUNC(AnyByteSetLine),
0N/A ADD_FUNC(AnyByteSetRect),
0N/A ADD_FUNC(AnyByteSetSpans),
3172N/A ADD_FUNC(AnyByteSetParallelogram),
0N/A ADD_FUNC(AnyByteXorLine),
0N/A ADD_FUNC(AnyByteXorRect),
0N/A ADD_FUNC(AnyByteXorSpans),
0N/A ADD_FUNC(AnyShortDrawGlyphList),
0N/A ADD_FUNC(AnyShortDrawGlyphListXor),
0N/A ADD_FUNC(AnyShortIsomorphicCopy),
0N/A ADD_FUNC(AnyShortIsomorphicScaleCopy),
0N/A ADD_FUNC(AnyShortIsomorphicXorCopy),
0N/A ADD_FUNC(AnyShortSetLine),
0N/A ADD_FUNC(AnyShortSetRect),
0N/A ADD_FUNC(AnyShortSetSpans),
3172N/A ADD_FUNC(AnyShortSetParallelogram),
0N/A ADD_FUNC(AnyShortXorLine),
0N/A ADD_FUNC(AnyShortXorRect),
0N/A ADD_FUNC(AnyShortXorSpans),
0N/A ADD_FUNC(Any3ByteIsomorphicCopy),
0N/A ADD_FUNC(Any3ByteIsomorphicScaleCopy),
0N/A ADD_FUNC(Any3ByteIsomorphicXorCopy),
0N/A ADD_FUNC(Any3ByteSetLine),
0N/A ADD_FUNC(Any3ByteSetRect),
0N/A ADD_FUNC(Any3ByteSetSpans),
3172N/A ADD_FUNC(Any3ByteSetParallelogram),
0N/A ADD_FUNC(Any3ByteXorLine),
0N/A ADD_FUNC(Any3ByteXorRect),
0N/A ADD_FUNC(Any3ByteXorSpans),
0N/A ADD_FUNC(Any4ByteDrawGlyphList),
0N/A ADD_FUNC(Any4ByteDrawGlyphListXor),
0N/A ADD_FUNC(Any4ByteIsomorphicCopy),
0N/A ADD_FUNC(Any4ByteIsomorphicScaleCopy),
0N/A ADD_FUNC(Any4ByteIsomorphicXorCopy),
0N/A ADD_FUNC(Any4ByteSetLine),
0N/A ADD_FUNC(Any4ByteSetRect),
0N/A ADD_FUNC(Any4ByteSetSpans),
3172N/A ADD_FUNC(Any4ByteSetParallelogram),
0N/A ADD_FUNC(Any4ByteXorLine),
0N/A ADD_FUNC(Any4ByteXorRect),
0N/A ADD_FUNC(Any4ByteXorSpans),
0N/A ADD_FUNC(AnyIntDrawGlyphList),
0N/A ADD_FUNC(AnyIntDrawGlyphListXor),
0N/A ADD_FUNC(AnyIntIsomorphicCopy),
0N/A ADD_FUNC(AnyIntIsomorphicScaleCopy),
0N/A ADD_FUNC(AnyIntIsomorphicXorCopy),
0N/A ADD_FUNC(AnyIntSetLine),
0N/A ADD_FUNC(AnyIntSetRect),
0N/A ADD_FUNC(AnyIntSetSpans),
3172N/A ADD_FUNC(AnyIntSetParallelogram),
0N/A ADD_FUNC(AnyIntXorLine),
0N/A ADD_FUNC(AnyIntXorRect),
0N/A ADD_FUNC(AnyIntXorSpans),
0N/A ADD_FUNC(ByteGrayAlphaMaskFill),
0N/A ADD_FUNC(ByteGrayDrawGlyphListAA),
0N/A ADD_FUNC(ByteGraySrcMaskFill),
0N/A ADD_FUNC(ByteGraySrcOverMaskFill),
0N/A ADD_FUNC(ByteGrayToIntArgbConvert),
0N/A ADD_FUNC(ByteGrayToIntArgbScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToByteGrayScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToByteGrayXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToByteGrayXparOver),
0N/A ADD_FUNC(ByteIndexedToByteGrayConvert),
0N/A ADD_FUNC(ByteIndexedToByteGrayScaleConvert),
0N/A ADD_FUNC(Index12GrayToByteGrayConvert),
0N/A ADD_FUNC(Index12GrayToByteGrayScaleConvert),
0N/A ADD_FUNC(Index8GrayToByteGrayConvert),
0N/A ADD_FUNC(Index8GrayToByteGrayScaleConvert),
0N/A ADD_FUNC(IntArgbBmToByteGrayScaleXparOver),
0N/A ADD_FUNC(IntArgbBmToByteGrayXparBgCopy),
0N/A ADD_FUNC(IntArgbBmToByteGrayXparOver),
0N/A ADD_FUNC(IntArgbToByteGrayAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToByteGrayConvert),
0N/A ADD_FUNC(IntArgbToByteGrayScaleConvert),
0N/A ADD_FUNC(IntArgbToByteGraySrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToByteGrayXorBlit),
0N/A ADD_FUNC(IntRgbToByteGrayAlphaMaskBlit),
0N/A ADD_FUNC(ThreeByteBgrToByteGrayConvert),
0N/A ADD_FUNC(ThreeByteBgrToByteGrayScaleConvert),
0N/A ADD_FUNC(UshortGrayToByteGrayConvert),
0N/A ADD_FUNC(UshortGrayToByteGrayScaleConvert),
0N/A ADD_FUNC(ByteGrayToUshortGrayConvert),
0N/A ADD_FUNC(ByteGrayToUshortGrayScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToUshortGrayScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToUshortGrayXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToUshortGrayXparOver),
0N/A ADD_FUNC(ByteIndexedToUshortGrayConvert),
0N/A ADD_FUNC(ByteIndexedToUshortGrayScaleConvert),
0N/A ADD_FUNC(IntArgbBmToUshortGrayScaleXparOver),
0N/A ADD_FUNC(IntArgbToUshortGrayConvert),
0N/A ADD_FUNC(IntArgbToUshortGrayScaleConvert),
0N/A ADD_FUNC(ThreeByteBgrToUshortGrayConvert),
0N/A ADD_FUNC(ThreeByteBgrToUshortGrayScaleConvert),
0N/A ADD_FUNC(UshortGrayToIntArgbConvert),
0N/A ADD_FUNC(UshortGrayToIntArgbScaleConvert),
0N/A ADD_FUNC(ByteGrayToByteIndexedConvert),
0N/A ADD_FUNC(ByteGrayToByteIndexedScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToByteIndexedScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToByteIndexedXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToByteIndexedXparOver),
0N/A ADD_FUNC(ByteIndexedToByteIndexedConvert),
0N/A ADD_FUNC(ByteIndexedToByteIndexedScaleConvert),
0N/A ADD_FUNC(Index12GrayToByteIndexedConvert),
0N/A ADD_FUNC(Index12GrayToByteIndexedScaleConvert),
0N/A ADD_FUNC(IntArgbBmToByteIndexedScaleXparOver),
0N/A ADD_FUNC(IntArgbBmToByteIndexedXparBgCopy),
0N/A ADD_FUNC(IntArgbBmToByteIndexedXparOver),
0N/A ADD_FUNC(IntArgbToByteIndexedConvert),
0N/A ADD_FUNC(IntArgbToByteIndexedScaleConvert),
0N/A ADD_FUNC(IntArgbToByteIndexedXorBlit),
0N/A ADD_FUNC(ThreeByteBgrToByteIndexedConvert),
0N/A ADD_FUNC(ThreeByteBgrToByteIndexedScaleConvert),
0N/A ADD_FUNC(ByteGrayToFourByteAbgrConvert),
0N/A ADD_FUNC(ByteGrayToFourByteAbgrScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToFourByteAbgrScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToFourByteAbgrXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToFourByteAbgrXparOver),
0N/A ADD_FUNC(ByteIndexedToFourByteAbgrConvert),
0N/A ADD_FUNC(ByteIndexedToFourByteAbgrScaleConvert),
0N/A ADD_FUNC(FourByteAbgrAlphaMaskFill),
0N/A ADD_FUNC(FourByteAbgrDrawGlyphListAA),
0N/A ADD_FUNC(FourByteAbgrSrcMaskFill),
0N/A ADD_FUNC(FourByteAbgrSrcOverMaskFill),
0N/A ADD_FUNC(FourByteAbgrToIntArgbConvert),
0N/A ADD_FUNC(FourByteAbgrToIntArgbScaleConvert),
0N/A ADD_FUNC(IntArgbBmToFourByteAbgrScaleXparOver),
0N/A ADD_FUNC(IntArgbToFourByteAbgrAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToFourByteAbgrConvert),
0N/A ADD_FUNC(IntArgbToFourByteAbgrScaleConvert),
0N/A ADD_FUNC(IntArgbToFourByteAbgrSrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToFourByteAbgrXorBlit),
0N/A ADD_FUNC(IntRgbToFourByteAbgrAlphaMaskBlit),
0N/A ADD_FUNC(IntRgbToFourByteAbgrConvert),
0N/A ADD_FUNC(IntRgbToFourByteAbgrScaleConvert),
0N/A ADD_FUNC(ThreeByteBgrToFourByteAbgrConvert),
0N/A ADD_FUNC(ThreeByteBgrToFourByteAbgrScaleConvert),
0N/A ADD_FUNC(ByteGrayToFourByteAbgrPreConvert),
0N/A ADD_FUNC(ByteGrayToFourByteAbgrPreScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToFourByteAbgrPreScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToFourByteAbgrPreXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToFourByteAbgrPreXparOver),
0N/A ADD_FUNC(ByteIndexedToFourByteAbgrPreConvert),
0N/A ADD_FUNC(ByteIndexedToFourByteAbgrPreScaleConvert),
0N/A ADD_FUNC(FourByteAbgrPreAlphaMaskFill),
0N/A ADD_FUNC(FourByteAbgrPreDrawGlyphListAA),
0N/A ADD_FUNC(FourByteAbgrPreSrcMaskFill),
0N/A ADD_FUNC(FourByteAbgrPreSrcOverMaskFill),
0N/A ADD_FUNC(FourByteAbgrPreToIntArgbConvert),
0N/A ADD_FUNC(FourByteAbgrPreToIntArgbScaleConvert),
0N/A ADD_FUNC(IntArgbBmToFourByteAbgrPreScaleXparOver),
0N/A ADD_FUNC(IntArgbToFourByteAbgrPreAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToFourByteAbgrPreConvert),
0N/A ADD_FUNC(IntArgbToFourByteAbgrPreScaleConvert),
0N/A ADD_FUNC(IntArgbToFourByteAbgrPreSrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToFourByteAbgrPreXorBlit),
0N/A ADD_FUNC(IntRgbToFourByteAbgrPreAlphaMaskBlit),
0N/A ADD_FUNC(IntRgbToFourByteAbgrPreConvert),
0N/A ADD_FUNC(IntRgbToFourByteAbgrPreScaleConvert),
0N/A ADD_FUNC(ThreeByteBgrToFourByteAbgrPreConvert),
0N/A ADD_FUNC(ThreeByteBgrToFourByteAbgrPreScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbXparOver),
0N/A ADD_FUNC(ByteIndexedToIntArgbConvert),
0N/A ADD_FUNC(ByteIndexedToIntArgbScaleConvert),
0N/A ADD_FUNC(Index12GrayToIntArgbConvert),
0N/A ADD_FUNC(IntArgbAlphaMaskFill),
0N/A ADD_FUNC(IntArgbBmToIntArgbScaleXparOver),
0N/A ADD_FUNC(IntArgbDrawGlyphListAA),
0N/A ADD_FUNC(IntArgbSrcMaskFill),
0N/A ADD_FUNC(IntArgbSrcOverMaskFill),
0N/A ADD_FUNC(IntArgbToIntArgbAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToIntArgbSrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToIntArgbXorBlit),
0N/A ADD_FUNC(IntRgbToIntArgbAlphaMaskBlit),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbBmScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbBmXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbBmXparOver),
0N/A ADD_FUNC(ByteIndexedToIntArgbBmConvert),
0N/A ADD_FUNC(ByteIndexedToIntArgbBmScaleConvert),
0N/A ADD_FUNC(IntArgbBmDrawGlyphListAA),
0N/A ADD_FUNC(IntArgbBmToIntArgbConvert),
0N/A ADD_FUNC(IntArgbToIntArgbBmConvert),
0N/A ADD_FUNC(IntArgbToIntArgbBmScaleConvert),
0N/A ADD_FUNC(IntArgbToIntArgbBmXorBlit),
0N/A ADD_FUNC(ByteGrayToIntArgbPreConvert),
0N/A ADD_FUNC(ByteGrayToIntArgbPreScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbPreScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbPreXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToIntArgbPreXparOver),
0N/A ADD_FUNC(ByteIndexedToIntArgbPreConvert),
0N/A ADD_FUNC(ByteIndexedToIntArgbPreScaleConvert),
0N/A ADD_FUNC(IntArgbPreAlphaMaskFill),
0N/A ADD_FUNC(IntArgbPreDrawGlyphListAA),
0N/A ADD_FUNC(IntArgbPreSrcMaskFill),
0N/A ADD_FUNC(IntArgbPreSrcOverMaskFill),
0N/A ADD_FUNC(IntArgbPreToIntArgbConvert),
0N/A ADD_FUNC(IntArgbPreToIntArgbScaleConvert),
0N/A ADD_FUNC(IntArgbToIntArgbPreAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToIntArgbPreConvert),
0N/A ADD_FUNC(IntArgbToIntArgbPreScaleConvert),
0N/A ADD_FUNC(IntArgbToIntArgbPreSrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToIntArgbPreXorBlit),
0N/A ADD_FUNC(IntRgbToIntArgbPreAlphaMaskBlit),
0N/A ADD_FUNC(IntRgbToIntArgbPreConvert),
0N/A ADD_FUNC(IntRgbToIntArgbPreScaleConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntArgbPreConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntArgbPreScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToIntBgrScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToIntBgrXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToIntBgrXparOver),
0N/A ADD_FUNC(ByteIndexedToIntBgrConvert),
0N/A ADD_FUNC(ByteIndexedToIntBgrScaleConvert),
0N/A ADD_FUNC(IntArgbBmToIntBgrScaleXparOver),
0N/A ADD_FUNC(IntArgbBmToIntBgrXparBgCopy),
0N/A ADD_FUNC(IntArgbBmToIntBgrXparOver),
0N/A ADD_FUNC(IntArgbToIntBgrAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToIntBgrConvert),
0N/A ADD_FUNC(IntArgbToIntBgrScaleConvert),
0N/A ADD_FUNC(IntArgbToIntBgrSrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToIntBgrXorBlit),
0N/A ADD_FUNC(IntBgrAlphaMaskFill),
0N/A ADD_FUNC(IntBgrDrawGlyphListAA),
0N/A ADD_FUNC(IntBgrSrcMaskFill),
0N/A ADD_FUNC(IntBgrSrcOverMaskFill),
0N/A ADD_FUNC(IntBgrToIntArgbConvert),
0N/A ADD_FUNC(IntBgrToIntArgbScaleConvert),
0N/A ADD_FUNC(IntBgrToIntBgrAlphaMaskBlit),
0N/A ADD_FUNC(IntRgbToIntBgrAlphaMaskBlit),
0N/A ADD_FUNC(ThreeByteBgrToIntBgrConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntBgrScaleConvert),
0N/A ADD_FUNC(ByteGrayToIntRgbConvert),
0N/A ADD_FUNC(ByteGrayToIntRgbScaleConvert),
0N/A ADD_FUNC(IntArgbBmToIntRgbXparBgCopy),
0N/A ADD_FUNC(IntArgbBmToIntRgbXparOver),
0N/A ADD_FUNC(IntArgbToIntRgbAlphaMaskBlit),
0N/A ADD_FUNC(IntArgbToIntRgbSrcOverMaskBlit),
0N/A ADD_FUNC(IntArgbToIntRgbXorBlit),
0N/A ADD_FUNC(IntRgbAlphaMaskFill),
0N/A ADD_FUNC(IntRgbDrawGlyphListAA),
0N/A ADD_FUNC(IntRgbSrcMaskFill),
0N/A ADD_FUNC(IntRgbSrcOverMaskFill),
0N/A ADD_FUNC(IntRgbToIntArgbConvert),
0N/A ADD_FUNC(IntRgbToIntArgbScaleConvert),
0N/A ADD_FUNC(IntRgbToIntRgbAlphaMaskBlit),
0N/A ADD_FUNC(ThreeByteBgrToIntRgbConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntRgbScaleConvert),
0N/A ADD_FUNC(ByteGrayToIntRgbxConvert),
0N/A ADD_FUNC(ByteGrayToIntRgbxScaleConvert),
0N/A ADD_FUNC(ByteIndexedBmToIntRgbxScaleXparOver),
0N/A ADD_FUNC(ByteIndexedBmToIntRgbxXparBgCopy),
0N/A ADD_FUNC(ByteIndexedBmToIntRgbxXparOver),
0N/A ADD_FUNC(ByteIndexedToIntRgbxConvert),
0N/A ADD_FUNC(ByteIndexedToIntRgbxScaleConvert),
0N/A ADD_FUNC(IntArgbBmToIntRgbxScaleXparOver),
0N/A ADD_FUNC(IntArgbToIntRgbxConvert),
0N/A ADD_FUNC(IntArgbToIntRgbxScaleConvert),
0N/A ADD_FUNC(IntArgbToIntRgbxXorBlit),
0N/A ADD_FUNC(IntRgbxDrawGlyphListAA),
0N/A ADD_FUNC(IntRgbxToIntArgbConvert),
0N/A ADD_FUNC(IntRgbxToIntArgbScaleConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntRgbxConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntRgbxScaleConvert),
0N/A ADD_FUNC(ThreeByteBgrAlphaMaskFill),
0N/A ADD_FUNC(ThreeByteBgrSrcMaskFill),
0N/A ADD_FUNC(ThreeByteBgrSrcOverMaskFill),
0N/A ADD_FUNC(ThreeByteBgrToIntArgbConvert),
0N/A ADD_FUNC(ThreeByteBgrToIntArgbScaleConvert),
0N/A};
0N/A
0N/A/***************************************************************/
0N/A
0N/A#define NUM_VIS_FUNCS sizeof(vis_func_pair_array)/sizeof(AnyFunc_pair)
0N/A
0N/A/***************************************************************/
0N/A
0N/A#define HASH_SIZE 1024 /* must be power of 2 and > number of functions */
0N/A#define PTR_SHIFT ((sizeof(void*) == 4) ? 2 : 3)
0N/A#define HASH_FUNC(x) (((jint)(x) >> PTR_SHIFT) & (HASH_SIZE - 1))
0N/A#define NEXT_INDEX(j) ((j + 1) & (HASH_SIZE - 1))
0N/A
0N/Astatic AnyFunc* hash_table[HASH_SIZE];
0N/Astatic AnyFunc* hash_table_vis[HASH_SIZE];
0N/A
0N/A/***************************************************************/
0N/A
0N/Astatic int initialized;
0N/Astatic int usevis = JNI_TRUE;
0N/A
4632N/A#if defined(__linux__) || defined(MACOSX)
0N/A# define ULTRA_CHIP "sparc64"
0N/A#else
0N/A# define ULTRA_CHIP "sun4u"
0N/A#endif
0N/A
0N/Aextern TransformInterpFunc *pBilinearFunc;
0N/Aextern TransformInterpFunc *pBicubicFunc;
0N/Aextern TransformInterpFunc vis_BilinearBlend;
0N/Aextern TransformInterpFunc vis_BicubicBlend;
0N/A
0N/A/*
0N/A * This function returns a pointer to the VIS accelerated version
0N/A * of the indicated C function if it exists and if the conditions
0N/A * are correct to use the VIS functions.
0N/A */
0N/AAnyFunc* MapAccelFunction(AnyFunc *func_c)
0N/A{
0N/A jint i, j;
0N/A
0N/A if (!initialized) {
0N/A struct utsname name;
0N/A
0N/A /*
0N/A * Only use the vis loops if the environment variable is set.
0N/A * Find out the machine name. If it is an SUN ultra, we
0N/A * can use the vis library
0N/A */
0N/A if (uname(&name) < 0 || strcmp(name.machine, ULTRA_CHIP) != 0) {
0N/A usevis = JNI_FALSE;
0N/A } else {
0N/A char *vis_env = getenv("J2D_USE_VIS_LOOPS");
0N/A if (vis_env != 0) {
0N/A switch (*vis_env) {
0N/A case 'T':
0N/A fprintf(stderr, "VIS loops enabled\n");
0N/A case 't':
0N/A usevis = JNI_TRUE;
0N/A break;
0N/A
0N/A case 'F':
0N/A fprintf(stderr, "VIS loops disabled\n");
0N/A case 'f':
0N/A usevis = JNI_FALSE;
0N/A break;
0N/A
0N/A default:
0N/A fprintf(stderr, "VIS loops %s by default\n",
0N/A usevis ? "enabled" : "disabled");
0N/A break;
0N/A }
0N/A }
0N/A }
0N/A initialized = 1;
0N/A if (usevis) {
0N/A /* fill hash table */
0N/A memset(hash_table, 0, sizeof(hash_table));
0N/A for (i = 0; i < NUM_VIS_FUNCS; i++) {
0N/A AnyFunc* func = vis_func_pair_array[i].func_c;
0N/A j = HASH_FUNC(func);
0N/A while (hash_table[j] != NULL) {
0N/A j = NEXT_INDEX(j);
0N/A }
0N/A hash_table[j] = func;
0N/A hash_table_vis[j] = vis_func_pair_array[i].func_vis;
0N/A }
0N/A pBilinearFunc = vis_BilinearBlend;
0N/A pBicubicFunc = vis_BicubicBlend;
0N/A }
0N/A }
0N/A if (!usevis) {
0N/A return func_c;
0N/A }
0N/A
0N/A j = HASH_FUNC(func_c);
0N/A while (hash_table[j] != NULL) {
0N/A if (hash_table[j] == func_c) {
0N/A return hash_table_vis[j];
0N/A }
0N/A j = NEXT_INDEX(j);
0N/A }
0N/A
0N/A return func_c;
0N/A}
0N/A
0N/A/***************************************************************/