Firefox/Projects/VideoDriverBlacklisting/DataDescription

From MozillaWiki
Jump to: navigation, search

The following fields are needed for a blacklist entry:

  • The OS and version: one of:
    • WINNT 5.0
    • WINNT 5.1
    • WINNT 5.2
    • WINNT 6.0
    • WINNT 6.1
    • Darwin 9
    • Darwin 10
    • Linux
    • All
  • The PCI vendor id, in hex - like 0x8086.
  • A list of device IDs to which the blacklist entry applies, in hex; e.g. 0x2582, 0x2782, 0x2592, 0x2792.
  • The feature being blacklisted; one of:
    • DIRECT2D
    • DIRECT3D_9_LAYERS
    • DIRECT3D_10_LAYERS
    • DIRECT3D_10_1_LAYERS
    • OPENGL_LAYERS
    • WEBGL_OPENGL
    • WEBGL_ANGLE
  • The feature's status: one of
    • NO_INFO
    • BLOCKED_DRIVER_VERSION
    • BLOCKED_DEVICE
    • DISCOURAGED
    • BLOCKED_OS_VERSION
  • The driver version we're operating on, like 8.15.231.2202.
  • The version requirement: one of
    • LESS_THAN
    • LESS_THAN_OR_EQUAL
    • GREATER_THAN
    • GREATER_THAN_OR_EQUAL
    • EQUAL
    • NOT_EQUAL

These are represented in XML format using the following tags:

 <gfxBlacklistEntry>
  <os>WINNT 6.1</os>
  <vendor>0x8086</vendor>
  <devices>
    <device>0x2582</device>
    <device>0x2782</device>
  </devices>
  <feature> DIRECT3D_10_LAYERS </feature>
  <featureStatus> BLOCKED_DRIVER_VERSION </featureStatus>
  <driverVersion> 8.52.322.2202 </driverVersion>
  <driverVersionComparator> LESS_THAN_OR_EQUAL </driverVersionComparator>
 </gfxBlacklistEntry>