Open
Bug 1711998
Opened 4 years ago
Updated 3 years ago
texture conversion during glTexSubImage with sw-wr on mali-400
Categories
(Core :: Graphics: WebRender, defect)
Core
Graphics: WebRender
Tracking
()
NEW
People
(Reporter: jrmuizel, Unassigned)
References
(Blocks 4 open bugs)
Details
I got system symbols working today which produced the following profile:
https://share.firefox.dev/3v73sfB
Notice the mali_convert_texture. I had a look at the leaf function where the time is being spent in ghidra and confirmed that it seems to be swizzling the data.
Updated•4 years ago
|
Blocks: sw-wr-android
Reporter | ||
Comment 1•4 years ago
|
||
Upon further examination it appears that we may be hitting the 'linear-to-block' swizzling code. See here for some related suffering:
https://community.arm.com/developer/tools-software/graphics/f/discussions/6635/mali-400-eglcreateimagekhr-egl_gl_texture_2d_khr-and-updating-textures-with-the-cpu
Reporter | ||
Comment 2•4 years ago
|
||
Here's the mesa code for doing the conversion: https://github.com/mesa3d/mesa/blob/master/src/panfrost/shared/pan_tiling.c
Updated•3 years ago
|
Blocks: sw-wr-perf, wr-android
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•