gecko-dev/layout
sotaro 9c96712d23 Bug 1887818 - Prevent to call GPUVideoImage::GetAsSourceSurface() in CanvasRenderingContext2D::DrawImage() for RemoteDecoderVideoSubDescriptor::Tnull_t if CanvasTranslator is used r=gfx-reviewers,lsalzman
GPUVideoImage::GetAsSourceSurface() is heavy weight. It seems better to prevent to call it if possible.

The change handles only a case that CanvasTranslator is used, SurfaceDescriptor is RemoteDecoderVideoSubDescriptor::Tnull_t and OptimizeShadow is not used.

DrawTargetRecording::DrawSurfaceDescriptor() also holds layers::Image of SurfaceDescriptor. It is necessary to keep the Image alive in CanvasDrawEventRecorder until end of its usage in CanvasTranslator.

Differential Revision: https://phabricator.services.mozilla.com/D205677
2024-03-28 06:24:41 +00:00
..
base Bug 1887818 - Prevent to call GPUVideoImage::GetAsSourceSurface() in CanvasRenderingContext2D::DrawImage() for RemoteDecoderVideoSubDescriptor::Tnull_t if CanvasTranslator is used r=gfx-reviewers,lsalzman 2024-03-28 06:24:41 +00:00
build Bug 1881845 - Remove nsContentCID.h r=smaug,media-playback-reviewers,karlt 2024-03-04 23:41:05 +00:00
docs
forms Bug 1885693: Converted LogicalSide to an enum class, and renamed variables accordingly. r=TYLin 2024-03-26 17:55:16 +00:00
generic Backed out 2 changesets (bug 1882890) for causing failures on test_printpreview.xhtml CLOSED TREE 2024-03-28 04:03:07 +02:00
inspector Bug 1886392 - [devtools] Show @property rules in StyleEditor at-rules sidebar. r=devtools-reviewers,ochameau. 2024-03-21 06:14:51 +00:00
ipc
mathml Bug 1886942 Part 1 - Remove typedefs in nsTableCellFrame. r=layout-reviewers,emilio 2024-03-23 17:06:05 +00:00
media
painting Backed out changeset 2f7b9a6f09ca (bug 1888203) for causing file conflict while backing out Bug 1887063 2024-03-28 00:30:13 +02:00
printing Backed out changeset 4641c3dcf0c3 (bug 1876538) for causing mochitest-chrome failures on test_animation_observers_async.html. CLOSED TREE 2024-01-26 19:21:35 +02:00
reftests Bug 1887539 - Fix nsRangeFrame::UpdateForValueChange after bug 1740580. r=dholbert 2024-03-26 09:16:21 +00:00
style Bug 1888098 - optimize nth-of dependency tracking for custom state r=dshin 2024-03-27 21:43:01 +00:00
svg Bug 1887261 - Make clip-path: path() react to zoom. r=longsonr 2024-03-23 15:11:22 +00:00
tables Bug 1885693: Converted LogicalSide to an enum class, and renamed variables accordingly. r=TYLin 2024-03-26 17:55:16 +00:00
tools Bug 1885723 - Fix more jsm references in misc code. r=Gijs,necko-reviewers,dom-storage-reviewers,janv,kershaw 2024-03-19 08:59:11 +00:00
xul Bug 1712669 - Make Windows tooltip margin depend on cursor size. r=yjuglaret,win-reviewers,desktop-theme-reviewers,dao 2024-03-19 14:17:58 +00:00
moz.build