-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TextureMapper] Do texture transformation in vertex shader when copyi…
…ng 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
- Loading branch information
Showing
3 changed files
with
43 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters