Contact Email
Spec
Summary
failIfMajorPerformanceCaveat is a new WebGL context creation attribute that requests that context creation fail if the implementation determines that the performance of the created WebGL context would be dramatically lower than that of a native application making equivalent OpenGL calls.
Motivation
Complex WebGL applications, such as the new Google Maps, cannot perform at acceptable levels if Chrome falls back to the SwiftShader software renderer. This attribute will help these types of applications intelligently fallback to a more limited rendering mode or at least fail gracefully.
Compatibility Risk
None. The default behavior if the attribute is not provided is identical to current browser behavior.
Mozilla has indicated that they do not oppose it's implementation.
Ongoing technical constraints
None
Will this feature be supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS and Android)?
Yes. Each platform may have it's own logic to determine what qualifies as a "major performance caveat".
OWP launch tracking bug?
Link to entry on the feature dashboard
None, small feature.
Requesting approval to ship?
Yes