Changeset 262091 in webkit
- Timestamp:
- May 22, 2020 7:26:29 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r262086 r262091 1 2020-05-22 Kenneth Russell <kbr@chromium.org> 2 3 [ANGLE - iOS] webgl/1.0.3/conformance/extensions/ext-sRGB.html is failing 4 https://bugs.webkit.org/show_bug.cgi?id=212277 5 6 Reviewed by Dean Jackson. 7 8 Remove failure expectation for the layout test on iOS. 9 10 * platform/ios/TestExpectations: 11 1 12 2020-05-22 Kenneth Russell <kbr@chromium.org> 2 13 -
trunk/LayoutTests/platform/ios/TestExpectations
r262060 r262091 3476 3476 webkit.org/b/207858 fast/canvas/webgl/tex-image-and-sub-image-2d-with-video.html [ Pass Failure ] 3477 3477 webkit.org/b/207858 webgl/1.0.3/conformance/context/context-lost-restored.html [ Pass Failure ] 3478 webkit.org/b/207858 webgl/1.0.3/conformance/extensions/ext-sRGB.html [ Pass Failure ]3479 3478 webkit.org/b/207858 webgl/1.0.3/conformance/glsl/misc/shader-struct-scope.html [ Pass Failure ] 3480 3479 webkit.org/b/207858 webgl/1.0.3/conformance/misc/uninitialized-test.html [ Pass Failure ] -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r262074 r262091 1 2020-05-22 Kenneth Russell <kbr@chromium.org> 2 3 [ANGLE - iOS] webgl/1.0.3/conformance/extensions/ext-sRGB.html is failing 4 https://bugs.webkit.org/show_bug.cgi?id=212277 5 6 Reviewed by Dean Jackson. 7 8 Properly translate GL_EXT_sRGB enums to ES 3.0 enums when 9 GL_EXT_sRGB is not supported. 10 11 * src/libANGLE/renderer/gl/formatutilsgl.cpp: 12 (rx::nativegl::GetNativeInternalFormat): 13 (rx::nativegl::GetNativeFormat): 14 1 15 2020-05-22 Kenneth Russell <kbr@chromium.org> 2 16 -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/formatutilsgl.cpp
r262074 r262091 541 541 result = internalFormat.sizedInternalFormat; 542 542 } 543 else if (features.unsizedsRGBReadPixelsDoesntTransform.enabled && 544 internalFormat.colorEncoding == GL_SRGB) 545 { 546 // Work around some Adreno driver bugs that don't read back SRGB data correctly when 547 // it's in unsized SRGB texture formats. 548 result = internalFormat.sizedInternalFormat; 543 else if (internalFormat.colorEncoding == GL_SRGB) 544 { 545 if (features.unsizedsRGBReadPixelsDoesntTransform.enabled) 546 { 547 // Work around some Adreno driver bugs that don't read back SRGB data correctly when 548 // it's in unsized SRGB texture formats. 549 result = internalFormat.sizedInternalFormat; 550 } 551 else if (!functions->hasGLESExtension("GL_EXT_sRGB")) 552 { 553 // Unsized sRGB internal formats are unlikely to be supported by the 554 // driver. Transform them to sized internal formats. 555 if (internalFormat.internalFormat == GL_SRGB || 556 internalFormat.internalFormat == GL_SRGB_ALPHA_EXT) 557 { 558 result = internalFormat.sizedInternalFormat; 559 } 560 } 549 561 } 550 562 else if ((internalFormat.internalFormat == GL_DEPTH_COMPONENT || … … 633 645 else if (functions->isAtLeastGLES(gl::Version(3, 0))) 634 646 { 635 if (features.unsizedsRGBReadPixelsDoesntTransform.enabled) 647 if (features.unsizedsRGBReadPixelsDoesntTransform.enabled || 648 !functions->hasGLESExtension("GL_EXT_sRGB")) 636 649 { 637 650 if (format == GL_SRGB) … … 640 653 } 641 654 642 if (format == GL_SRGB_ALPHA )655 if (format == GL_SRGB_ALPHA_EXT) 643 656 { 644 657 result = GL_RGBA;
Note: See TracChangeset
for help on using the changeset viewer.