3261N/A * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 430N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 430N/A * This code is free software; you can redistribute it and/or modify it 430N/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 430N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 430N/A * This code is distributed in the hope that it will be useful, but WITHOUT 430N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 430N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 430N/A * version 2 for more details (a copy is included in the LICENSE file that 430N/A * accompanied this code). 430N/A * You should have received a copy of the GNU General Public License version 430N/A * 2 along with this work; if not, write to the Free Software Foundation, 430N/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 430N/A // creates and initializes instance of D3DPipelineManager, may return NULL 430N/A // deletes the single instance of the manager 430N/A // returns the single instance of the manager, may return NULL 430N/A // Checks if adapters were added or removed, or if the order had changed 430N/A // (which may happen with primary display is changed). If that's the case 430N/A // releases current adapters and d3d9 instance, reinitializes the pipeline. 430N/A // @param *monHds list of monitor handles retrieved from GDI 430N/A // @param monNum number of gdi monitors 430N/A // returns depth stencil buffer format matching adapterFormat and render target 430N/A // returns previous fs window 430N/A // returns the d3d adapter ordinal given GDI screen number: 430N/A // these may differ depending on which display is primary 430N/A // notifies adapter event listeners by calling 430N/A // AccelDeviceEventNotifier.eventOccured() 430N/A // Creates a Direct3D9 object and initializes adapters. 430N/A // Releases adapters, Direct3D9 object and the d3d9 library. 430N/A // selects the device type based on user input and available 430N/A // creates array of adapters (releases the old one first) 430N/A // releases each adapter's context, and then releases the array 430N/A // returns S_OK if the adapter is capable of running the Direct3D 430N/A // returns adapterOrdinal given a HMONITOR handle 430N/A // Check the OS, succeeds if the OS is XP or newer client-class OS 430N/A // used to check attached adapters using GDI against known bad hw database 430N/A // prior to the instantiation of the pipeline manager 430N/A // given VendorId, DeviceId and driver version, checks against a database 430N/A // If the driver version is not known MAX_VERSION can be used 430N/A // which is guaranteed to satisfy the check 430N/A // current adapter count 430N/A // Pointer to Direct3D9 Object mainained by the pipeline manager 430N/A // instance of this object 2963N/A // adapter initializer class 2963N/A // the flag indicates success of COM initialization