0N/A/*
3261N/A * Copyright (c) 2000, 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 <string.h>
0N/A
0N/A#include "Any4Byte.h"
0N/A
0N/A#include "AlphaMath.h"
0N/A#include "IntDcm.h"
0N/A
0N/A/*
0N/A * This file declares, registers, and defines the various graphics
0N/A * primitive loops to manipulate surfaces of type "Any4Byte".
0N/A *
0N/A * See also LoopMacros.h
0N/A */
0N/A
0N/ARegisterFunc RegisterAny4Byte;
0N/A
0N/ADECLARE_SOLID_FILLRECT(Any4Byte);
0N/ADECLARE_SOLID_FILLSPANS(Any4Byte);
3172N/ADECLARE_SOLID_PARALLELOGRAM(Any4Byte);
0N/ADECLARE_SOLID_DRAWLINE(Any4Byte);
0N/ADECLARE_XOR_FILLRECT(Any4Byte);
0N/ADECLARE_XOR_FILLSPANS(Any4Byte);
0N/ADECLARE_XOR_DRAWLINE(Any4Byte);
0N/ADECLARE_SOLID_DRAWGLYPHLIST(Any4Byte);
0N/ADECLARE_XOR_DRAWGLYPHLIST(Any4Byte);
0N/A
0N/ANativePrimitive Any4BytePrimitives[] = {
0N/A REGISTER_SOLID_FILLRECT(Any4Byte),
0N/A REGISTER_SOLID_FILLSPANS(Any4Byte),
3172N/A REGISTER_SOLID_PARALLELOGRAM(Any4Byte),
0N/A REGISTER_SOLID_LINE_PRIMITIVES(Any4Byte),
0N/A REGISTER_XOR_FILLRECT(Any4Byte),
0N/A REGISTER_XOR_FILLSPANS(Any4Byte),
0N/A REGISTER_XOR_LINE_PRIMITIVES(Any4Byte),
0N/A REGISTER_SOLID_DRAWGLYPHLIST(Any4Byte),
0N/A REGISTER_XOR_DRAWGLYPHLIST(Any4Byte),
0N/A};
0N/A
0N/Ajboolean RegisterAny4Byte(JNIEnv *env)
0N/A{
0N/A return RegisterPrimitives(env, Any4BytePrimitives,
0N/A ArraySize(Any4BytePrimitives));
0N/A}
0N/A
0N/ADEFINE_ISOCOPY_BLIT(Any4Byte)
0N/A
0N/ADEFINE_ISOSCALE_BLIT(Any4Byte)
0N/A
0N/ADEFINE_ISOXOR_BLIT(Any4Byte)
0N/A
0N/ADEFINE_SOLID_FILLRECT(Any4Byte)
0N/A
0N/ADEFINE_SOLID_FILLSPANS(Any4Byte)
0N/A
3172N/ADEFINE_SOLID_PARALLELOGRAM(Any4Byte)
3172N/A
0N/ADEFINE_SOLID_DRAWLINE(Any4Byte)
0N/A
0N/ADEFINE_XOR_FILLRECT(Any4Byte)
0N/A
0N/ADEFINE_XOR_FILLSPANS(Any4Byte)
0N/A
0N/ADEFINE_XOR_DRAWLINE(Any4Byte)
0N/A
0N/ADEFINE_SOLID_DRAWGLYPHLIST(Any4Byte)
0N/A
0N/ADEFINE_XOR_DRAWGLYPHLIST(Any4Byte)