Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 14f7f3375957760d78421eceb225cc276c0f89b9
      
https://github.com/WebKit/WebKit/commit/14f7f3375957760d78421eceb225cc276c0f89b9
  Author: Akihiro Kiuchi <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to