Skip to content

ANGLE: avoid full mipmap allocation on Broadcom devices - #1745

Open
magomez wants to merge 1 commit into
wpe-2.46from
magomez/wpe-2.46-fix-mipmap-allocation
Open

magomez wants to merge 1 commit into
wpe-2.46from
magomez/wpe-2.46-fix-mipmap-allocation

Conversation

@magomez

@magomez magomez commented Dec 3, 2026 •

Copy link
Copy Markdown

Some drivers allocate the memory for the full mipmap chaing when the level 0 texture is allocated. This is a problem because each texture ends using ~33% more memory than required if mipmaps are not used in the end. This change avoids that by setting the texture configuration to indicate that it doesn't use mipmaps just before the memory gets allocated for it.
642b846

Build-Tests Layout-Tests
✅ 🛠 wpe-246-amd64-build ✅ 🧪 wpe-246-amd64-layout
✅ 🛠 wpe-246-arm32-build ✅ 🧪 wpe-246-arm32-layout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant