Title: [279327] trunk/Source/ThirdParty/ANGLE
- Revision
- 279327
- Author
- [email protected]
- Date
- 2021-06-28 03:03:13 -0700 (Mon, 28 Jun 2021)
Log Message
iPhone 6S - iOS 15.0 - unable to retrieve WebGL2 context
https://bugs.webkit.org/show_bug.cgi?id=226975
rdar://78966563
Patch by Kimmo Kinnunen <[email protected]> on 2021-06-28
Reviewed by Kenneth Russell.
Limit the OpenGL ES 3.0 contexts to iOS GPU Family 3, not
4.
The limit was most likely added to guard sample_compare
lod_options properties .lod and .gradient. However, these
are always supported on iOS.
Currently there is already ES 3.0 features implemented
in ANGLE that are guarded by iOS GPU Family 3.
Fixes WebGL 2.0 to work on iPhone6s and similar
devices (A9, A9X).
* src/libANGLE/renderer/metal/DisplayMtl.mm:
(rx::DisplayMtl::getMaxSupportedESVersion const):
Modified Paths
Diff
Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (279326 => 279327)
--- trunk/Source/ThirdParty/ANGLE/ChangeLog 2021-06-28 10:02:43 UTC (rev 279326)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog 2021-06-28 10:03:13 UTC (rev 279327)
@@ -1,5 +1,29 @@
2021-06-28 Kimmo Kinnunen <[email protected]>
+ iPhone 6S - iOS 15.0 - unable to retrieve WebGL2 context
+ https://bugs.webkit.org/show_bug.cgi?id=226975
+ rdar://78966563
+
+ Reviewed by Kenneth Russell.
+
+ Limit the OpenGL ES 3.0 contexts to iOS GPU Family 3, not
+ 4.
+
+ The limit was most likely added to guard sample_compare
+ lod_options properties .lod and .gradient. However, these
+ are always supported on iOS.
+
+ Currently there is already ES 3.0 features implemented
+ in ANGLE that are guarded by iOS GPU Family 3.
+
+ Fixes WebGL 2.0 to work on iPhone6s and similar
+ devices (A9, A9X).
+
+ * src/libANGLE/renderer/metal/DisplayMtl.mm:
+ (rx::DisplayMtl::getMaxSupportedESVersion const):
+
+2021-06-28 Kimmo Kinnunen <[email protected]>
+
ANGLE Metal index buffer left mapped when building primitive restart ranges
https://bugs.webkit.org/show_bug.cgi?id=227371
Modified: trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm (279326 => 279327)
--- trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm 2021-06-28 10:02:43 UTC (rev 279326)
+++ trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm 2021-06-28 10:03:13 UTC (rev 279327)
@@ -386,12 +386,13 @@
gl::Version DisplayMtl::getMaxSupportedESVersion() const
{
- // NOTE(hqle): Supports GLES 3.0 on iOS GPU Family 4+ for now.
-#if TARGET_OS_SIMULATOR // Simulator should be able to support ES3, despite not supporting iOS GPU
- // Family 4 in its entirety.
+#if TARGET_OS_SIMULATOR
+ // Simulator should be able to support ES3, despite not supporting iOS GPU
+ // Family 3 in its entirety.
+ // FIXME: None of the feature conditions are checked for simulator support.
return gl::Version(3, 0);
#else
- if (supportsEitherGPUFamily(4, 1))
+ if (supportsEitherGPUFamily(3, 1))
{
return gl::Version(3, 0);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes