Closed Bug 1569717 Opened 5 years ago Closed 5 years ago

Switch WR vertex data textures to always use power-of-two width

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: kvark, Assigned: kvark)

Details

Attachments

(1 file)

Just noticed that we are using the 1023 width texture for render task data. It's really minor of an issue, but Intel recommends power of two:
https://software.intel.com/en-us/articles/opengl-performance-tips-power-of-two-textures-have-better-performance

Mobile GPUs would also have less chance of screwing up given power of two textures. There is a trivial fix coming.

Priority: -- → P3
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/de50565cf52c
Fix WR vertex textures to have the width of 1024 r=gw
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → dmalyshau
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: