gecko-dev/gfx
alwu efe35b01d5 Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro
In this patch, we ask the media engine to return a handle for shareable
dcomp surface, which will then be packaged into a new texture data type
and being shared with the GPU process via the video bridge.

DcompSurfaceImage is the image which contains the handle texture data,
which doesn't support being accessed in the content process. When the
compositor uploads the image to the GPU process, the corresponding
texture host will be created.

The render texture host will be created by that texture host, and it
will be used in DCLayerTree. In DCLayerTree, we create a new type of
surface for our dcomp handle. DCSurfaceHandle will ask the render
texture host to reconstruct the surface by the handle shared from the
remote process (the handle is actually duplicated to the parent process
first due to the sandbox policy, and then be duplicated to the GPU
process later)

DCSurfaceHandle will attach that surface to its visual in order to
display the video frame directly. In the whole process, it's not
possible for Gecko to access any decoded video data which is protected by the
media engine itself.

Depends on D149941

Differential Revision: https://phabricator.services.mozilla.com/D151019
2022-08-13 23:48:07 +00:00
..
2d Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
angle Bug 1661450 - 5/8 Fix build system to handle undefined MOZ_X11 r=stransky 2022-04-20 09:32:08 +00:00
cairo Bug 1778158 - quartz: Avoid reading beyond the end of image surfaces. r=jfkthame 2022-07-06 12:25:10 +00:00
config Bug 1766308 - Add gfxVars::CodecSupportInfo to store user-readable codec support string r=media-playback-reviewers,alwu 2022-07-22 23:08:08 +00:00
docs Bug 1780018 - Fix the link for reftests docs in APZ docs. r=botond 2022-07-18 16:57:32 +00:00
gl Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
graphite2
harfbuzz Bug 1781558 - Update HarfBuzz to 5.1.0. r=jfkthame 2022-08-10 17:47:44 +00:00
ipc Bug 1779792 - Part 4: Deduplicate ProcessChild subclass constructors, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,alwu,mccr8 2022-08-10 14:55:23 +00:00
layers Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
ots Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
qcms Bug 1772048 - Update rustc_version and semver crates. r=emilio,webdriver-reviewers,kinetik,whimboo 2022-06-07 10:01:32 +00:00
skia Bug 1774522 - Make Skia C++20 compatible by replacing deprecated std::result_of_t. r=lsalzman 2022-06-17 02:13:46 +00:00
src Bug 1782082 - Avoid rounding error accumulation in nsDOMWindowUtils::ToScreenRectInCSSUnits. r=dholbert 2022-07-29 09:04:43 +00:00
tests Bug 1681955 - Assertion failure: mIsRootContent, in FrameMetrics::GetCompositionSizeWithoutDynamicToolbar(). r=dlrobertson 2022-08-01 13:32:15 +00:00
thebes Bug 1771011 - part1 : setup some video playback related attributes on the media engine.r=jolin 2022-08-13 23:48:06 +00:00
vr Bug 1779792 - Part 4: Deduplicate ProcessChild subclass constructors, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,alwu,mccr8 2022-08-10 14:55:23 +00:00
webrender_bindings Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
wgpu_bindings Bug 1777535 - Work around build issues. r=gfx-reviewers,lsalzman 2022-08-10 15:55:12 +00:00
wr Bug 1690244 - Move WebRender initialization code out of renderer.rs. r=kvark 2022-08-12 07:30:14 +00:00
ycbcr Bug 1698699 - P7 - add missing include for hybrid builds. r=ng 2022-06-28 16:29:41 +00:00
metrics.yaml Bug 1778395 - Part 2: Record time between frame creation and the start of rendering. r=jrmuizel,chutten 2022-07-12 14:59:09 +00:00
moz.build