[webkit-changes] [WebKit/WebKit] 3d28c4: Check for WebGL 1.0 extensions in getFramebufferAt...

Alexey Knyazev noreply at github.com
Thu Jan 26 10:25:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d28c4a219c3e18c2439f9d8f474b8704c836b94
      https://github.com/WebKit/WebKit/commit/3d28c4a219c3e18c2439f9d8f474b8704c836b94
  Author: Alexey Knyazev <3479527+lexaknyazev at users.noreply.github.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
    M Source/WebCore/html/canvas/WebGLRenderingContext.cpp
    M Source/WebCore/platform/graphics/GraphicsContextGL.h

  Log Message:
  -----------
  Check for WebGL 1.0 extensions in getFramebufferAttachmentParameter
https://bugs.webkit.org/show_bug.cgi?id=248596

Reviewed by Kimmo Kinnunen.

EXT_sRGB, EXT_color_buffer_half_float, and
WEBGL_color_buffer_float must affect this function.

Aligned error messages and execution flow
for both context versions.

* LayoutTests/TestExpectations:
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::getFramebufferAttachmentParameter):
* Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
* Source/WebCore/platform/graphics/GraphicsContextGL.h:

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




More information about the webkit-changes mailing list