Open Bug 886315 Opened 9 years ago Updated 9 years ago

make GL shader pipeline more flexible

Categories

(Core :: Graphics: Layers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

People

(Reporter: gal, Assigned: gal)

References

Details

Attachments

(1 file, 5 obsolete files)

Instead of using a fixed number of shader programs we should have a factory that generates shader sources based on a capability set (need-mask3d, need-opacity, need-blur, etc), and we should then cache the compilation of those shader sources.
Blocks: 867460
Attached file fragment shader (obsolete) —
Assignee: nobody → gal
Attached file vertex shader (obsolete) —
Attached file fragment shader (obsolete) —
These two shaders should cover all the cases we currently use for layers, as well as all hard-coded CSS filter effects.
Attachment #766699 - Attachment is obsolete: true
No longer blocks: 867460
Depends on: 867460
Attached file add BGRA, no alpha, and YCbCr support (obsolete) —
Attachment #766707 - Attachment is obsolete: true
Attached file last piece: component alpha rendering (obsolete) —
Attachment #766822 - Attachment is obsolete: true
Attachment #766700 - Attachment is obsolete: true
Attachment #766826 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.