Format conversion happening during texture upload on Mac because of TexStorage
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: jrmuizel, Assigned: kvark)
References
(Blocks 1 open bug)
Details
We spend an appreciable amount of time in glgConvertTo_32<GLGConverter_ABGR8_ARGB8, (GLGMemory)1>(GLGOperationRec const*, GLDPixelModeRec const*)
We can do better.
Reporter | ||
Comment 1•6 years ago
|
||
So based on other related functions it looks like that function is converting from ABGR8 to ARGB8. It's not clear what the byte order of those format specifications is though. That being said, I'm confused as to why it thinks we have ABGR8.
Reporter | ||
Comment 2•6 years ago
|
||
The call to TexSubImage3D that calls glgConvertTo_32<GLGConverter_ABGR8_ARGB8, (GLGMemory)1> has format = GL_BGRA and type = GL_UNSIGNED_BYTE
Assignee | ||
Comment 3•6 years ago
|
||
I think our problem is forcing Apple to use RGBA8 as the internal format of textures.
Reporter | ||
Comment 4•6 years ago
|
||
It turns out this is caused by using TexStorage3D on mac.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Fixed by https://phabricator.services.mozilla.com/D21965 and the follow-ups
Description
•