[Webkit-unassigned] [Bug 36925] Snow Leopard bot does not support EXT_packed_depth_stencil

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 1 11:29:26 PDT 2010


--- Comment #6 from Chris Marrin <cmarrin at apple.com>  2010-04-01 11:29:25 PST ---
This is another case of a runtime test being needed to determine machine
capabilities before running tests. In http://trac.webkit.org/changeset/55467 I
added the ability to do this runtime check and turn on and off test directories
appropriately. It's done by running DRT with the --print-supported-features
flag. This returns a string with supported features. Currently it only includes
AcceleratedCompositing and 3DRendering, but you could add WebGL to the list.

To do this you'd have to add a acceleratedCompositingEnabled function to
WebPreferences. This would return true only if the WebGL flag is enabled on the
machine AND the hardware can support WebGL. For HW Accel we do the runtime
check in one of the platform specific files. For WebGL it would probably want
to go in GraphicsContext3D.

Once you have the pref, you'd just need to add logic to run-webkit-tests to
check for the flag and turn on or off the WebGL directories.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list