view modules/javafx.graphics/src/main/native-prism-d3d/D3DBadHardware.h @ 10927:9e0e0e65e642

8193590: Memory leak when using WebView with Tooltip Reviewed-by: kcr, arajkumar
author mbilla
date Thu, 17 May 2018 12:37:18 +0530
parents b9546941f996
children
line wrap: on
line source
/*
 * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

#ifndef D3DBADHARDWARE_H
#define D3DBADHARDWARE_H

#include "D3DPipeline.h"
#include "D3DPipelineManager.h"

typedef struct ADAPTER_INFO {
  DWORD    VendorId;
  DWORD    DeviceId;
  LONGLONG DriverVersion; // minimum driver version to pass, or NO_VERSION
  USHORT   OsInfo;        // OSes where the DriverVersion is relevant or, OS_ALL
} ADAPTER_INFO;

// this DeviceId means that all vendor boards are to be excluded
#define ALL_DEVICEIDS (0xffffffff)

#define D_VERSION(H1, H2, L1, L2) \
  (((LONGLONG)((H1 << 16) | H2) << 32) | ((L1 << 16) | (L2)))

// this driver version is used to pass the driver version check
// as it is always greater than any driver version
#define MAX_VERSION D_VERSION(0x7fff, 0x7fff, 0x7fff, 0x7fff)
// this DriverVersion means that the version of the driver doesn't matter,
// all versions must fail ("there's no version of the driver that passes")
#define NO_VERSION D_VERSION(0xffff, 0xffff, 0xffff, 0xffff)

static const ADAPTER_INFO badHardware[] = {

    // Intel HD
    // Reason: workaround for RT-11540
    // Clarkdale (Desktop) GMA HD Lines
    { 0x8086, 0x0042, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0042, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    // Arrandale (Mobile) GMA HD Lines
    { 0x8086, 0x0046, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0046, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    // Sandy Bridge GMA HD Lines
    { 0x8086, 0x0102, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0102, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x0106, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0106, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x0112, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0112, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x0116, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0116, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x0122, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0122, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x0126, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x0126, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x010A, D_VERSION(6,14,10,5337), OS_WINXP },
    { 0x8086, 0x010A, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },

    // Mobile Intel 4 Series Express Chipset Family
    // Reason: workaround for RT-11540
    // Eaglelake (Desktop) GMA 4500 Lines
    { 0x8086, 0x2E42, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E42, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E43, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E43, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E92, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E92, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E93, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E93, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E12, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E12, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E13, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E13, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    // Eaglelake (Desktop) GMA X4500 Lines
    { 0x8086, 0x2E32, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E32, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E33, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E33, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2E22, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E22, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    // Eaglelake (Desktop) GMA X4500HD Lines
    { 0x8086, 0x2E23, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2E23, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    // Cantiga (Mobile) GMA 4500MHD Lines
    { 0x8086, 0x2A42, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2A42, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },
    { 0x8086, 0x2A43, D_VERSION(6,14,10,5303), OS_WINXP },
    { 0x8086, 0x2A43, D_VERSION(8,15,10,2302), OS_VISTA_OR_NEWER },

    // Intel Graphics Media Accelerators
    // Reason: RT-31537, RT-35153
    // GMA lower than GMA 4500 are unusable for JavaFX
    { 0x8086, 0x2772, NO_VERSION, OS_ALL},
    { 0x8086, 0x2776, NO_VERSION, OS_ALL},
    { 0x8086, 0x27A2, NO_VERSION, OS_ALL},
    { 0x8086, 0x27A6, NO_VERSION, OS_ALL},
    { 0x8086, 0x27AE, NO_VERSION, OS_ALL},
    { 0x8086, 0x29B2, NO_VERSION, OS_ALL},
    { 0x8086, 0x29B3, NO_VERSION, OS_ALL},
    { 0x8086, 0x29C2, NO_VERSION, OS_ALL},
    { 0x8086, 0x29C3, NO_VERSION, OS_ALL},
    { 0x8086, 0x29D2, NO_VERSION, OS_ALL},
    { 0x8086, 0x29D3, NO_VERSION, OS_ALL},
    { 0x8086, 0x2972, NO_VERSION, OS_ALL},
    { 0x8086, 0x2973, NO_VERSION, OS_ALL},
    { 0x8086, 0x2982, NO_VERSION, OS_ALL},
    { 0x8086, 0x2983, NO_VERSION, OS_ALL},
    { 0x8086, 0x2992, NO_VERSION, OS_ALL},
    { 0x8086, 0x2993, NO_VERSION, OS_ALL},
    { 0x8086, 0x29A2, NO_VERSION, OS_ALL},
    { 0x8086, 0x29A3, NO_VERSION, OS_ALL},
    { 0x8086, 0x2A02, NO_VERSION, OS_ALL},
    { 0x8086, 0x2A03, NO_VERSION, OS_ALL},
    { 0x8086, 0x2A12, NO_VERSION, OS_ALL},
    { 0x8086, 0x2A13, NO_VERSION, OS_ALL},
    { 0x8086, 0x2E5B, NO_VERSION, OS_ALL},
    { 0x8086, 0x4102, NO_VERSION, OS_ALL},
    { 0x8086, 0x8108, NO_VERSION, OS_ALL},
    { 0x8086, 0x8109, NO_VERSION, OS_ALL},
    { 0x8086, 0xA001, NO_VERSION, OS_ALL},
    { 0x8086, 0xA002, NO_VERSION, OS_ALL},
    { 0x8086, 0xA011, NO_VERSION, OS_ALL},
    { 0x8086, 0xA012, NO_VERSION, OS_ALL},
    { 0x8086, 0x0BE0, NO_VERSION, OS_ALL},
    { 0x8086, 0x0BE1, NO_VERSION, OS_ALL},
    { 0x8086, 0x0BE2, NO_VERSION, OS_ALL},
    { 0x8086, 0x0BE3, NO_VERSION, OS_ALL},

    // ATI Radeon X1xxx series
    // Reason: RT-33212, RT-35993 - All of the X1xxx series cards
    //         are too old to be usable for JavaFX
    { 0x1002, 0x7100, NO_VERSION, OS_ALL},
    { 0x1002, 0x7101, NO_VERSION, OS_ALL},
    { 0x1002, 0x7102, NO_VERSION, OS_ALL},
    { 0x1002, 0x7108, NO_VERSION, OS_ALL},
    { 0x1002, 0x7109, NO_VERSION, OS_ALL},
    { 0x1002, 0x710A, NO_VERSION, OS_ALL},
    { 0x1002, 0x710B, NO_VERSION, OS_ALL},
    { 0x1002, 0x710C, NO_VERSION, OS_ALL},
    { 0x1002, 0x7120, NO_VERSION, OS_ALL},
    { 0x1002, 0x7128, NO_VERSION, OS_ALL},
    { 0x1002, 0x7129, NO_VERSION, OS_ALL},
    { 0x1002, 0x712A, NO_VERSION, OS_ALL},
    { 0x1002, 0x712B, NO_VERSION, OS_ALL},
    { 0x1002, 0x712C, NO_VERSION, OS_ALL},
    { 0x1002, 0x7140, NO_VERSION, OS_ALL},
    { 0x1002, 0x7142, NO_VERSION, OS_ALL},
    { 0x1002, 0x7143, NO_VERSION, OS_ALL},
    { 0x1002, 0x7145, NO_VERSION, OS_ALL},
    { 0x1002, 0x7146, NO_VERSION, OS_ALL},
    { 0x1002, 0x7147, NO_VERSION, OS_ALL},
    { 0x1002, 0x7149, NO_VERSION, OS_ALL},
    { 0x1002, 0x714A, NO_VERSION, OS_ALL},
    { 0x1002, 0x714B, NO_VERSION, OS_ALL},
    { 0x1002, 0x714C, NO_VERSION, OS_ALL},
    { 0x1002, 0x714D, NO_VERSION, OS_ALL},
    { 0x1002, 0x714E, NO_VERSION, OS_ALL},
    { 0x1002, 0x715E, NO_VERSION, OS_ALL},
    { 0x1002, 0x715F, NO_VERSION, OS_ALL},
    { 0x1002, 0x7160, NO_VERSION, OS_ALL},
    { 0x1002, 0x7162, NO_VERSION, OS_ALL},
    { 0x1002, 0x7163, NO_VERSION, OS_ALL},
    { 0x1002, 0x7166, NO_VERSION, OS_ALL},
    { 0x1002, 0x7167, NO_VERSION, OS_ALL},
    { 0x1002, 0x716D, NO_VERSION, OS_ALL},
    { 0x1002, 0x716E, NO_VERSION, OS_ALL},
    { 0x1002, 0x717E, NO_VERSION, OS_ALL},
    { 0x1002, 0x717F, NO_VERSION, OS_ALL},
    { 0x1002, 0x7180, NO_VERSION, OS_ALL},
    { 0x1002, 0x7181, NO_VERSION, OS_ALL},
    { 0x1002, 0x7183, NO_VERSION, OS_ALL},
    { 0x1002, 0x7186, NO_VERSION, OS_ALL},
    { 0x1002, 0x7187, NO_VERSION, OS_ALL},
    { 0x1002, 0x718B, NO_VERSION, OS_ALL},
    { 0x1002, 0x718C, NO_VERSION, OS_ALL},
    { 0x1002, 0x718D, NO_VERSION, OS_ALL},
    { 0x1002, 0x718F, NO_VERSION, OS_ALL},
    { 0x1002, 0x7193, NO_VERSION, OS_ALL},
    { 0x1002, 0x7196, NO_VERSION, OS_ALL},
    { 0x1002, 0x719F, NO_VERSION, OS_ALL},
    { 0x1002, 0x71A0, NO_VERSION, OS_ALL},
    { 0x1002, 0x71A1, NO_VERSION, OS_ALL},
    { 0x1002, 0x71A3, NO_VERSION, OS_ALL},
    { 0x1002, 0x71A7, NO_VERSION, OS_ALL},
    { 0x1002, 0x71AF, NO_VERSION, OS_ALL},
    { 0x1002, 0x71B3, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C0, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C1, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C2, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C3, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C5, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C6, NO_VERSION, OS_ALL},
    { 0x1002, 0x71C7, NO_VERSION, OS_ALL},
    { 0x1002, 0x71CD, NO_VERSION, OS_ALL},
    { 0x1002, 0x71CE, NO_VERSION, OS_ALL},
    { 0x1002, 0x71D5, NO_VERSION, OS_ALL},
    { 0x1002, 0x71D6, NO_VERSION, OS_ALL},
    { 0x1002, 0x71DE, NO_VERSION, OS_ALL},
    { 0x1002, 0x71E0, NO_VERSION, OS_ALL},
    { 0x1002, 0x71E2, NO_VERSION, OS_ALL},
    { 0x1002, 0x71E3, NO_VERSION, OS_ALL},
    { 0x1002, 0x71E6, NO_VERSION, OS_ALL},
    { 0x1002, 0x71E7, NO_VERSION, OS_ALL},
    { 0x1002, 0x71ED, NO_VERSION, OS_ALL},
    { 0x1002, 0x71EE, NO_VERSION, OS_ALL},

    { 0x1002, 0x7240, NO_VERSION, OS_ALL},
    { 0x1002, 0x7243, NO_VERSION, OS_ALL},
    { 0x1002, 0x7244, NO_VERSION, OS_ALL},
    { 0x1002, 0x7245, NO_VERSION, OS_ALL},
    { 0x1002, 0x7246, NO_VERSION, OS_ALL},
    { 0x1002, 0x7247, NO_VERSION, OS_ALL},
    { 0x1002, 0x7248, NO_VERSION, OS_ALL},
    { 0x1002, 0x7249, NO_VERSION, OS_ALL},
    { 0x1002, 0x724A, NO_VERSION, OS_ALL},
    { 0x1002, 0x724B, NO_VERSION, OS_ALL},
    { 0x1002, 0x724C, NO_VERSION, OS_ALL},
    { 0x1002, 0x724D, NO_VERSION, OS_ALL},
    { 0x1002, 0x724F, NO_VERSION, OS_ALL},
    { 0x1002, 0x7260, NO_VERSION, OS_ALL},
    { 0x1002, 0x7263, NO_VERSION, OS_ALL},
    { 0x1002, 0x7264, NO_VERSION, OS_ALL},
    { 0x1002, 0x7265, NO_VERSION, OS_ALL},
    { 0x1002, 0x7266, NO_VERSION, OS_ALL},
    { 0x1002, 0x7267, NO_VERSION, OS_ALL},
    { 0x1002, 0x7268, NO_VERSION, OS_ALL},
    { 0x1002, 0x7269, NO_VERSION, OS_ALL},
    { 0x1002, 0x726A, NO_VERSION, OS_ALL},
    { 0x1002, 0x726B, NO_VERSION, OS_ALL},
    { 0x1002, 0x726C, NO_VERSION, OS_ALL},
    { 0x1002, 0x726D, NO_VERSION, OS_ALL},
    { 0x1002, 0x726F, NO_VERSION, OS_ALL},
    { 0x1002, 0x7280, NO_VERSION, OS_ALL},
    { 0x1002, 0x7284, NO_VERSION, OS_ALL},
    { 0x1002, 0x7286, NO_VERSION, OS_ALL},
    { 0x1002, 0x7288, NO_VERSION, OS_ALL},
    { 0x1002, 0x72A0, NO_VERSION, OS_ALL},
    { 0x1002, 0x72A8, NO_VERSION, OS_ALL},
    { 0x1002, 0x7291, NO_VERSION, OS_ALL},
    { 0x1002, 0x7293, NO_VERSION, OS_ALL},
    { 0x1002, 0x72B1, NO_VERSION, OS_ALL},
    { 0x1002, 0x72B3, NO_VERSION, OS_ALL},
    { 0x1002, 0x791E, NO_VERSION, OS_ALL},
    { 0x1002, 0x791F, NO_VERSION, OS_ALL},

    // ATI Mobility Radeon 9700
    // Reason: workaround for 6773336
    { 0x1002, 0x4E50, D_VERSION(6,14,10,6561), OS_WINXP },

    //  ATI MOBILITY FireGL V5250
    // Though this card supports PS 3.0,
    //        it is a relatively old GPU (introduced in 2007)
    // Reason: workaround for RT-14870, 15045
    { 0x1002, 0x71D4, NO_VERSION, OS_ALL},

    // Nvidia Quadro NVS 110M
    // Reason: workaround for 6629891
    { 0x10DE, 0x01D7, D_VERSION(6,14,11,5665), OS_WINXP },

    // Nvidia Quadro PCI-E series
    // Reason: workaround for 6653860
    { 0x10DE, 0x00FD, D_VERSION(6,14,10,6573), OS_WINXP },

    // Disable a range Nvidia GeForce 5 series cards that are too old to
    // be usable for JavaFX
    { 0x10DE, 0x001D, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00FA, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00FB, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00FC, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0301, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0302, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0311, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0312, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0314, NO_VERSION, OS_ALL},
    { 0x10DE, 0x031A, NO_VERSION, OS_ALL},
    { 0x10DE, 0x031B, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0320, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0321, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0322, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0323, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0324, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0325, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0326, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0327, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0328, NO_VERSION, OS_ALL},
    { 0x10DE, 0x032C, NO_VERSION, OS_ALL},
    { 0x10DE, 0x032D, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0330, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0331, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0332, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0333, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0334, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0341, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0342, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0343, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0344, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0347, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0348, NO_VERSION, OS_ALL},

    // Disable a range Nvidia GeForce 6 series cards that are too old to
    // be usable for JavaFX
    { 0x10DE, 0x0040, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0041, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0042, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0043, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0044, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0045, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0046, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0047, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0048, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00C0, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00C1, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00C2, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00C3, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00C8, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00C9, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F1, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F2, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F3, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F4, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F6, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F9, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0140, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0141, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0142, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0143, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0144, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0145, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0146, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0147, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0148, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0149, NO_VERSION, OS_ALL},
    { 0x10DE, 0x014F, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0160, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0161, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0162, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0163, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0166, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0167, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0168, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0169, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0221, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0222, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0240, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0241, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0242, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0245, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0247, NO_VERSION, OS_ALL},

    // Disable a range Nvidia Quadro cards (mainly 5 and 6 series core)
    // that are too old to be usable for JavaFX
    { 0x10DE, 0x004D, NO_VERSION, OS_ALL},
    { 0x10DE, 0x004E, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00CD, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00CE, NO_VERSION, OS_ALL},
    { 0x10DE, 0x00F8, NO_VERSION, OS_ALL},
    { 0x10DE, 0x014C, NO_VERSION, OS_ALL},
    { 0x10DE, 0x014D, NO_VERSION, OS_ALL},
    { 0x10DE, 0x014E, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0308, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0309, NO_VERSION, OS_ALL},
    { 0x10DE, 0x031C, NO_VERSION, OS_ALL},
    { 0x10DE, 0x032B, NO_VERSION, OS_ALL},
    { 0x10DE, 0x0338, NO_VERSION, OS_ALL},
    { 0x10DE, 0x033F, NO_VERSION, OS_ALL},
    { 0x10DE, 0x034E, NO_VERSION, OS_ALL},

    // Nvidia Quadro FX family
    // Reason: workaround for 6772137
    { 0x10DE, 0x009D, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x029C, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x029D, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x029E, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x029F, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x01DE, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x039E, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x019D, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x019E, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x040A, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x040E, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x040F, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x061A, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x06F9, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x05FD, D_VERSION(6,14,10,9381), OS_WINXP },
    { 0x10DE, 0x05FE, D_VERSION(6,14,10,9381), OS_WINXP },

    // Old low-end Nvidia GeForce 7300 seriers cards
    // Reason: workaround for RT-15381
    // Nvidia GeForce 7300 LE
    { 0x10DE, 0x01D1, NO_VERSION, OS_ALL},
    // Nvidia GeForce 7300 SE/7200 GS
    { 0x10DE, 0x01D3, NO_VERSION, OS_ALL},
    // Nvidia GeForce 7300 GO
    { 0x10DE, 0x01D7, NO_VERSION, OS_ALL},
    // Nvidia GeForce 7300 GS
    { 0x10DE, 0x01DF, NO_VERSION, OS_ALL},

    // any Matrox board
    // Reason: there are no known Matrox boards with proper Direct3D support
    { 0x102B, ALL_DEVICEIDS, NO_VERSION, OS_ALL },

    // any SiS board
    // Reason: there aren't many PS2.0-capable SiS boards and they weren't
    // tested
    { 0x1039, ALL_DEVICEIDS, NO_VERSION, OS_ALL },

    // any S3 board
    // Reason: no available S3 Chrome (the only S3 boards with PS2.0 support)
    // for testing
    { 0x5333, ALL_DEVICEIDS, NO_VERSION, OS_ALL },

    // any S3 board (in VIA motherboards)
    // Reason: These are S3 chips in VIA motherboards
    { 0x1106, ALL_DEVICEIDS, NO_VERSION, OS_ALL },

    // last record must be empty
    { 0x0000, 0x0000, NO_VERSION, OS_ALL }
};

#endif // D3DBADHARDWARE_H