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 * 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 * 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 * 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. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A * Class: sun_java2d_loops_GraphicsPrimitiveMgr 0N/A "floatCoords",
"[F");
0N/A * Class: sun_java2d_loops_GraphicsPrimitiveMgr 0N/A * Method: registerNativeLoops 0N/A * This function initializes the global collection of PrimitiveType 0N/A * structures by retrieving the necessary Java Class object and the 0N/A * associated methodID of the necessary constructor. 0N/A * See PrimitiveTypes.* below. 0N/A * This function initializes the global collection of SurfaceType 0N/A * or CompositeType structures by retrieving the corresponding Java 0N/A * object stored as a static field on the Java Class. 0N/A * See SurfaceTypes.* below. 0N/A * See CompositeeTypes.* below. 0N/A * This function registers a set of Java GraphicsPrimitive objects 0N/A * based on information stored in an array of NativePrimitive structures. 0N/A * Calculate the necessary SurfaceData lock flags for the 0N/A * source and destination surfaces based on the information 0N/A * stored in the PrimitiveType, SurfaceType, and CompositeType 0N/A * structures. The starting point is the values that are 0N/A * already stored in the NativePrimitive structure. These 0N/A * flags are usually left as 0, but can be filled in by 0N/A * native primitive loops that have special needs that are 0N/A * not deducible from their declared attributes. 0N/A /* if (srcflags & SD_LOCK_WRITE) srcflags |= pSrc->writeflags; */ 0N/A /* No error - upcall to GraphicsPrimitiveMgr to register the 0N/A * new primitives... */ 0N/A * Helper function for CompositeTypes.Xor 0N/A * Helper function for CompositeTypes.AnyAlpha 0N/A * External declarations for the pixelFor helper methods for the various 0N/A * named surface types. These functions are defined in the various 0N/A * files that contain the loop functions for their type. 0N/A * Definition and initialization of the globally accessible PrimitiveTypes. 0N/A * Definition and initialization of the globally accessible SurfaceTypes. 0N/A * Definition and initialization of the globally accessible CompositeTypes.