[webkit-changes] [WebKit/WebKit] 14f7f3: [TextureMapper] Do texture transformation in verte...

Commit Queue noreply at github.com
Wed Sep 6 13:09:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 14f7f3375957760d78421eceb225cc276c0f89b9
      https://github.com/WebKit/WebKit/commit/14f7f3375957760d78421eceb225cc276c0f89b9
  Author: Akihiro Kiuchi <Akihiro.Kiuchi at sony.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

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

  Log Message:
  -----------
  [TextureMapper] Do texture transformation in vertex shader when copying texture
https://bugs.webkit.org/show_bug.cgi?id=261187

Reviewed by Fujii Hironori.

With the current implementation, transformation of texture coordinate
is performed in a fragment shader when copying texture or applying blur.

This change will move the transformation to vertex shader for better
performance.

* Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawTextureCopy):
(WebCore::TextureMapperGL::drawBlurred):
* Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp:
* Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.h:

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




More information about the webkit-changes mailing list