[webkit-changes] [WebKit/WebKit] 2db085: [TextureMapper] Add precision hint to samplerExter...

Jani Hautakangas noreply at github.com
Fri Sep 13 09:27:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2db0856f7d83622886b58f16c19a6cc748cc1b63
      https://github.com/WebKit/WebKit/commit/2db0856f7d83622886b58f16c19a6cc748cc1b63
  Author: Jani Hautakangas <jani at igalia.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp

  Log Message:
  -----------
  [TextureMapper] Add precision hint to samplerExternalOES
https://bugs.webkit.org/show_bug.cgi?id=279586

Reviewed by Miguel Gomez.

Some Android emulator versions fail to render because glShaderSource in
TextureMapperShaderProgram fails with the error 0x505 GL_OUT_OF_MEMORY.
It turns out that the Android emulator's OpenGL ES implementation does
not implicitly define any precision for samplerExternalOES.

Adding a precision hint to samplerExternalOES across all platforms is
harmless since OpenGL ES implementations are not required to use hint
information. This change is necessary for WPEView/Android.

* Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp:

Canonical link: https://commits.webkit.org/283627@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list