gecko-dev/gfx
Markus Stange e0e54098e9 Bug 1574592 - Move NativeLayer management out of nsChildView and into LayerManagerComposite and RendererOGL. r=mattwoodrow
It looks like a big patch but it's mostly just moved code, with some duplication:
 - Layer creation and destruction moves to LayerManagerComposite and RendererOGL.
 - BasicCompositor IOSurface setup code moves to BasicCompositor.cpp.
 - OpenGL IOSurface setup code moves to CompositorOGL and RenderCompositorOGL.

The duplication is a bit unfortunate but the LayerManagerComposite code will
diverge from the WebRender code soon.

BeginFrame gets a new argument aNativeLayer. This argument will go away again
over the course of this patch queue. But for now, BeginFrame is the best place
to do the layer setup because it's a very close place to PreRender which is
where that code was previously.

I wasn't able to think of a nice way to give CompositorOGL and BasicCompositor
platform-specific behavior without #ifdefs. So now LayerManagerComposite uses
the "cross-platform" NativeLayer interface, but CompositorOGL and
BasicCompositor use NativeLayerCA because they actually need the IOSurface, and
they do that in #ifdef'd code.
Luckily, NativeLayerCA.h can be included in both .cpp files and in .mm files.

Differential Revision: https://phabricator.services.mozilla.com/D42402

--HG--
extra : moz-landing-system : lando
2019-08-25 17:43:42 +00:00
..
2d Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
angle Bug 1562462 - ANGLE Cherry-pick: Fix occasional corruption of vertex textures in HD4600 GPUs for WebRender. r=gw 2019-08-02 01:56:17 +00:00
cairo Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
config Bug 1569881 - Short term workaround for Intel GPU r=jrmuizel 2019-08-13 22:17:47 +00:00
docs Bug 1560149 - Add some documentation for document splitting. r=dthayer 2019-07-02 00:53:07 +00:00
gl Bug 1571838 - Backed out changeset a6f3fd30a0a7 (bug 1443181). r=jbonisteel 2019-08-22 15:15:08 +00:00
graphite2
harfbuzz Bug 1576041 - Update HarfBuzz to 2.6.1. r=jfkthame 2019-08-23 14:12:12 +00:00
ipc Bug 1571711 - Factorize crash handling out of the various process IPC classes r=froydnj 2019-08-15 12:06:51 +00:00
layers Bug 1574592 - Move NativeLayer management out of nsChildView and into LayerManagerComposite and RendererOGL. r=mattwoodrow 2019-08-25 17:43:42 +00:00
ots
qcms Bug 1558883 - Add QCMS transform correctness and performance tests. r=miko 2019-06-25 09:45:56 -04:00
sfntly
skia Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
src Bug 1575559 - Make font-variant-alternates use cbindgen. r=boris 2019-08-21 22:45:26 +00:00
tests Bug 1574994 part 1 - Remove/replace display:-moz-inline-grid and -moz-inline-stack in tests. r=emilio 2019-08-19 21:19:04 +00:00
thebes Bug 1575315 - Add noncharacter codepoints to those for which we never attempt font fallback. r=dholbert 2019-08-22 20:59:57 +00:00
vr Bug 1574682 - Implement VREventObserver::NotifyEnumerationCompleted r=imanol 2019-08-23 06:30:56 +00:00
webrender_bindings Bug 1574592 - Move NativeLayer management out of nsChildView and into LayerManagerComposite and RendererOGL. r=mattwoodrow 2019-08-25 17:43:42 +00:00
wr Bug 1576361 - Update ipc-channel to 0.12 in webrender. r=emilio 2019-08-24 12:22:26 +00:00
ycbcr Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
moz.build Bug 1569916 - run reftest/crashtest on android-hw when gfx/* files change. r=ahal 2019-07-31 13:43:59 +00:00