Firefox/Projects/VideoDriverBlacklisting/DataDescription: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "The following fields are needed for a blacklist entry: #The OS & version: Windows XP, Windows Vista, Windows 7, Mac OS X 10.5, Mac OS X 10.6, Linux. #The PCI vendor id, in...")
 
No edit summary
 
Line 1: Line 1:
The following fields are needed for a blacklist entry:  
The following fields are needed for a blacklist entry:  


#The OS & version: Windows XP, Windows Vista, Windows 7, Mac OS X 10.5, Mac OS X 10.6, Linux.
*The OS and version: one of:
#The PCI vendor id, in hex - like 0x8086.  
** WINNT 5.0
#A list of device IDs to which the blacklist entry applies, in hex; e.g. 0x2582, 0x2782, 0x2592, 0x2792.  
** WINNT 5.1
#The feature being blacklisted; one of: Direct2D, Direct3D 9 layers, Direct3D 10 layers, Direct3D 10.1 layers, OpenGL Layers, WebGL on OpenGL, WebGL on ANGLE.
** WINNT 5.2
#The feature's status: blocked on driver version, blocked on device, blocked on OS, discouraged, or no info.
** WINNT 6.0
#The driver version we're operating on: like 8.15.231.2202.  
** WINNT 6.1
#The version requirement: less than, less than or equal, greater than, greater than or equal, equal, not equal.
** 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


If fields are omitted, it's implied that all devices that match the other fields
These are represented in XML format using the following tags:


<br> This can be represented however one likes; here's a seat-of-my-pants XML representation.
   &lt;gfxBlacklistEntry&gt;
 
   &lt;os&gt;WINNT 6.1&lt;/os&gt;
   &lt;blocklist-entry&gt;
   &lt;os&gt;WINDOWS7&lt;/os&gt;
   &lt;vendor&gt;0x8086&lt;/vendor&gt;
   &lt;vendor&gt;0x8086&lt;/vendor&gt;
   &lt;devices&gt;
   &lt;devices&gt;
Line 20: Line 45:
     &lt;device&gt;0x2782&lt;/device&gt;
     &lt;device&gt;0x2782&lt;/device&gt;
   &lt;/devices&gt;
   &lt;/devices&gt;
   &lt;feature&gt; D3D10_LAYERS &lt;/feature&gt;
   &lt;feature&gt; DIRECT3D_10_LAYERS &lt;/feature&gt;
   &lt;feature-status&gt; BLOCKED-DRIVER-VERSION &lt;/feature-status&gt;
   &lt;featureStatus&gt; BLOCKED_DRIVER_VERSION &lt;/featureStatus&gt;
   &lt;driver-version&gt; 8.52.322.2202 &lt;/driver-version&gt;
   &lt;driverVersion&gt; 8.52.322.2202 &lt;/driverVersion&gt;
   &lt;driver-version-comparator&gt; LESS_THAN_EQUAL &lt;/driver-version-comparator&gt;
   &lt;driverVersionComparator&gt; LESS_THAN_OR_EQUAL &lt;/driverVersionComparator&gt;
&lt;/blocklist-entry&gt;
  &lt;/gfxBlacklistEntry&gt;

Latest revision as of 23:21, 31 January 2011

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>