[webkit-changes] [WebKit/WebKit] 241e71: [CoordinatedGraphics] WebGL: the intermediate text...

Carlos Garcia Campos noreply at github.com
Wed Jun 21 06:47:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 241e71855ab5c54f4a46804b0e5000df9cac0961
      https://github.com/WebKit/WebKit/commit/241e71855ab5c54f4a46804b0e5000df9cac0961
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M LayoutTests/platform/glib/inspector/canvas/recording-webgl-full-expected.txt
    M Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp
    M Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.h

  Log Message:
  -----------
  [CoordinatedGraphics] WebGL: the intermediate texture is no longer needed
https://bugs.webkit.org/show_bug.cgi?id=258348

Reviewed by Miguel Gomez.

It was introduced to fix flickering when we didn't wait for previous
frame to be displayed to render the next one. Now, two textures should
be enough.

* LayoutTests/platform/glib/inspector/canvas/recording-webgl-full-expected.txt:
* Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:
(WebCore::GraphicsContextGLTextureMapperANGLE::~GraphicsContextGLTextureMapperANGLE):
(WebCore::GraphicsContextGLTextureMapperANGLE::platformInitialize):
(WebCore::GraphicsContextGLTextureMapperANGLE::prepareTexture):
(WebCore::GraphicsContextGLTextureMapperANGLE::reshapeDrawingBuffer):
* Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.h:

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




More information about the webkit-changes mailing list