Bug 261187 - [TextureMapper] Do texture transformation in vertex shader when copying texture
Summary: [TextureMapper] Do texture transformation in vertex shader when copying texture
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-05 18:21 PDT by Akihiro Kiuchi
Modified: 2023-09-06 13:10 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>