Bug 261187
| Summary: | [TextureMapper] Do texture transformation in vertex shader when copying texture | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Akihiro Kiuchi <aki.develop8128> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Akihiro Kiuchi
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Akihiro Kiuchi
Pull request: https://github.com/WebKit/WebKit/pull/17469
EWS
Committed 267687@main (14f7f3375957): <https://commits.webkit.org/267687@main>
Reviewed commits have been landed. Closing PR #17469 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/115072414>