gecko-dev/gfx
Jamie Nicol d3e80e9854 Bug 1750234 - Handle GPU process crash when rendering video and webgl on Android. r=jgilbert,jolin
Make the SurfaceAllocator save a reference to all Surfaces it has
allocated. When the connection to the remote allocator dies, mark all
of those surfaces as released. Ensure subsequent attempts to allocate
new Surfaces will connect to the new compositor process (either GPU or
parent).

For webgl, when we detect we are using a Surface that has been
released, clear the pool of Surfaces used for the swapchain so that
we automatically reallocate new ones.

For video, if we encounter an error in RemoteVideoDecoder and can see
that Surface has been released, then report a
NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER in place of the potentially fatal
error code we get from the java decoder. This will ensure a new
decoder is created, which will in turn allocate a new Surface to
decode in to.

On the Android emulator (so potentially real devices too) the java
decoder doesn't actually report any errors in response to the Surface
being released. Therefore we also check for the Surface being released
in ProcessOutput(), and manually raise the NEED_NEW_ENCODER error from
there if so.

Differential Revision: https://phabricator.services.mozilla.com/D133108
2022-02-02 17:01:02 +00:00
..
2d Bug 1751205 - Part 1. Add Swizzle/PremultiplyYFlipData helper methods. r=gfx-reviewers,lsalzman,jgilbert 2022-02-01 13:20:49 +00:00
angle Bug 1737313: Document what is needed to generate a preloaded depot_tools zip r=firefox-build-system-reviewers,glandium 2022-01-05 19:52:45 +00:00
cairo Bug 1322756 - Remove PostScript printing code. r=emilio 2021-12-30 11:41:28 +00:00
config Bug 1749323 - Allow controlling access to OffscreenCanvas via a domain allowlist pref. r=gfx-reviewers,webidl,lsalzman,smaug 2022-01-24 16:12:02 +00:00
docs Bug 1733746 - Add a section about Fission integration. r=tnikkel 2021-10-17 21:14:42 +00:00
gl Bug 1750234 - Handle GPU process crash when rendering video and webgl on Android. r=jgilbert,jolin 2022-02-02 17:01:02 +00:00
graphite2 Bug 1722127 - Modify rlbox graphite struct defs for windows compat r=tjr 2021-07-27 13:09:44 +00:00
harfbuzz Bug 1743434 - Update HarfBuzz to 3.1.2. r=jfkthame 2021-11-29 16:02:56 +00:00
ipc Bug 1751205 - Part 2. Ensure we y-flip surfaces with OffscreenCanvas if needed. r=gfx-reviewers,jgilbert 2022-02-01 13:20:50 +00:00
layers Backed out changeset ba6624225635 (bug 1738734) for causing build bustages in ipc/PUtilityProcessParent. 2022-02-01 00:57:12 +02:00
ots Bug 1748352 - Update OTS to 8.2.1. r=jfkthame 2022-01-03 23:11:47 +00:00
qcms Bug 1729539 - Hit MOZ_CRASH(assertion failed: y2 > 1. / 12. && y2 <= 1.) at gfx/qcms/src/iccread.rs:1392. r=jrmuizel 2021-09-17 17:41:26 +00:00
skia Bug 1747272 - Apply current color when rasterizing glyphs from color fonts in Skia using Core Text. r=lsalzman 2022-02-01 21:41:17 +00:00
src Bug 1749283 - Add a null check for mPrintTarget in nsDeviceContext::CreateRenderingContextCommon. r=dholbert 2022-02-01 18:44:13 +00:00
tests Bug 1751205 - Part 1. Add Swizzle/PremultiplyYFlipData helper methods. r=gfx-reviewers,lsalzman,jgilbert 2022-02-01 13:20:49 +00:00
thebes Bug 1752881 - Include our preferred emoji fonts in Common Fallbacks on Windows, so that they'll take precedence over random user-installed emoji fonts when no explicit font request applies. r=m_kato 2022-02-02 13:40:58 +00:00
vr Backed out changeset ba6624225635 (bug 1738734) for causing build bustages in ipc/PUtilityProcessParent. 2022-02-01 00:57:12 +02:00
webrender_bindings Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers 2022-01-31 17:00:21 +00:00
wgpu_bindings Bug 1750866 - Omit WebGPU writeTexture checks on the client side r=jimb 2022-01-20 15:17:08 +00:00
wr Bug 1752955 - Rename pic_clip_rect -> pic_coverage_rect r=gfx-reviewers,lsalzman 2022-02-01 19:58:39 +00:00
ycbcr Bug 1732481 - Fix non-unified build errors in gfx. r=gfx-reviewers,jrmuizel 2021-09-24 19:14:46 +00:00
metrics.yaml Bug 1746941 - Add tags to all Firefox-on-Glean metrics r=janerik 2022-01-14 18:11:08 +00:00
moz.build Bug 1722653 - Remove --enable-system-cairo. r=firefox-build-system-reviewers,jrmuizel,andi 2021-07-29 23:38:30 +00:00