Bug 261187

Summary: [TextureMapper] Do texture transformation in vertex shader when copying texture
Product: WebKit Reporter: Akihiro Kiuchi <aki.develop8128>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Akihiro Kiuchi 2023-09-05 18:21:24 PDT
This is a sub issue of Bug231653, and caused from Bug261101 

Now when copying texture in TextureMapperGL, we are using `u_textureCopyMatrix` uniform variable to transform texture coordinate in fragment shader.

But doing texture transformation in fragment shader is costy, and there is another suitable uniform variable `u_textureSpaceMatrix` to do texture transformation in vertex shader.
Comment 1 Akihiro Kiuchi 2023-09-05 20:12:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17469
Comment 2 EWS 2023-09-06 13:09:32 PDT
Committed 267687@main (14f7f3375957): <https://commits.webkit.org/267687@main>

Reviewed commits have been landed. Closing PR #17469 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-06 13:10:15 PDT
<rdar://problem/115072414>