Page MenuHomePhabricator

Bug 1579235 - Part 3 - Abstract some parts of yuv shader logic.
ClosedPublic

Authored by gw on Feb 18 2020, 3:21 AM.

Details

Summary

Factor some parts of the YUV brush shader out into a shared
yuv.glsl shader include.

In future, this shader code will also be referenced by the
composite.glsl shader when using the simple (Draw) compositing
mode, to composite video surfaces directly into the framebuffer
where possible.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

gw created this revision.Feb 18 2020, 3:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2020, 3:21 AM
phab-bot requested review of this revision.Feb 18 2020, 3:21 AM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.

No functional changes here - just abstracting some parts of the yuv shader logic out to be shared in future with the composite shader.

nical accepted this revision.Feb 18 2020, 8:21 AM
This revision is now accepted and ready to land.Feb 18 2020, 8:21 AM