Changeset 267770 in webkit
- Timestamp:
- Sep 29, 2020 4:31:58 PM (4 years ago)
- Location:
- trunk/Source/ThirdParty/ANGLE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/ANGLE/ChangeLog
r267602 r267770 1 2020-09-29 James Darpinian <jdarpinian@chromium.org> 2 3 Fix EXT_color_buffer_half_float on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=217107 5 6 Reviewed by Kenneth Russell. 7 8 * src/libANGLE/Context.cpp: 9 (gl::Context::generateSupportedExtensions const): 10 * src/libANGLE/renderer/gl/renderergl_utils.cpp: 11 (rx::nativegl_gl::GenerateTextureFormatCaps): 12 1 13 2020-09-24 Dean Jackson <dino@apple.com> 2 14 -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/Context.cpp
r266539 r267770 3193 3193 // that blitting is always allowed if the requested formats are exposed and have the correct 3194 3194 // feature capabilities 3195 if (!supportedExtensions.colorBufferFloat )3195 if (!supportedExtensions.colorBufferFloat && !mWebGLContext) 3196 3196 { 3197 3197 supportedExtensions.colorBufferHalfFloat = false; -
trunk/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp
r267602 r267770 289 289 290 290 // Do extra renderability validation for some formats. 291 if (internalFormat == GL_R16F || internalFormat == GL_RG16F || internalFormat == GL_RGB16F) 292 { 293 // SupportRequirement can't currently express a condition of the form (version && extension) 294 // || other extensions, so do the (version && extension) part here. 295 if (functions->isAtLeastGLES(gl::Version(3, 0)) && 296 functions->hasGLESExtension("GL_EXT_color_buffer_half_float")) 297 { 298 textureCaps.textureAttachment = true; 299 textureCaps.renderbuffer = true; 300 } 301 } 302 291 303 // We require GL_RGBA16F is renderable to expose EXT_color_buffer_half_float but we can't know 292 304 // if the format is supported unless we try to create a framebuffer.
Note: See TracChangeset
for help on using the changeset viewer.