gecko-dev/gfx
Andrew Osmond d639d2c5ac Bug 1435586 - Use static gfxPlatform methods directly instead of requiring initialization. r=kats
gfxPlatform::GetSourceSurfaceForSurface and CreateDrawTargetForSurface
are both static methods that we sometimes use via the pattern
gfxPlatform::GetPlatform()->... This is problematic because this forces
gfxPlatform to be initialized in the process, and in the GPU process, we
don't support this. It should be safe to call these methods without
initializing gfxPlatform, so this patch removes the GetPlatform() call.

GetSourceSurfaceForSurface may end up initializing gfxPlatform anyways,
depending on whether or not a DrawTarget was given. This should not be a
concern for the crashes observed in bug 1435586.

Differential Revision: https://phabricator.services.mozilla.com/D33785
2019-06-05 12:40:26 -04:00
..
2d Bug 1556481 - check for DWrite failures in UnscaledFontDWrite::GetFontFileData. r=jfkthame 2019-06-04 09:26:11 +00:00
angle Bug 1536672 - Implement WebGL OVR_multiview2 behind draft flag. r=lsalzman,qdot 2019-05-23 20:48:21 +00:00
cairo Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
config Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel 2019-05-26 14:31:53 +00:00
docs Bug 1503339 - update frame rate at runtime, r=kats 2018-12-14 20:16:23 +00:00
gl Bug 1180498 - Tolerate a different major libGL.so on NetBSD as well r=jgilbert 2019-06-03 16:54:35 -07:00
graphite2 Bug 1515629 - Update Graphite2 to version 1.3.13. r=jfkthame 2018-12-31 15:56:58 +00:00
harfbuzz Bug 1554306 - Update HarfBuzz to version 2.5.1. r=jfkthame 2019-06-03 15:11:49 +00:00
ipc Bug 1554438 - P3. Shutdown threads whenever they exist. r=mattwoodrow 2019-05-26 22:24:49 +00:00
layers Bug 1435586 - Use static gfxPlatform methods directly instead of requiring initialization. r=kats 2019-06-05 12:40:26 -04:00
ots Bug 1531912 - Update OTS to 7.1.9. r=jfkthame 2019-03-02 15:32:15 +00:00
qcms Bug 1555329 - Fix BGRA support with ICCv4 QCMS profiles. r=miko 2019-05-30 13:21:21 -04:00
sfntly Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats 2019-02-25 16:07:19 -06:00
skia Bug 1533546 - disable Skia's global DWrite lock on Windows 10. r=jrmuizel 2019-05-23 10:08:59 +00:00
src Bug 1556007 - Improve reasons for why a user is not WebRender qualified. r=jrmuizel 2019-06-03 11:24:15 -04:00
tests Bug 1553769 - Make nsIWidget::SetFocus infallible, and make it take an enum class. r=NeilDeakin 2019-05-31 22:13:56 +00:00
thebes Bug 1435586 - Use static gfxPlatform methods directly instead of requiring initialization. r=kats 2019-06-05 12:40:26 -04:00
vr Bug 1523351 - Part 3: Handling GamepadTouch and GamepadLightIndicator events in Gamepad service. r=baku 2019-05-29 22:15:23 +00:00
webrender_bindings Bug 1556283 - Add more logs to RenderDXGITextureHostOGL and RenderDXGIYCbCrTextureHostOGL r=nical 2019-06-03 13:43:48 +00:00
wr Bug 1556590 - Display root render task instead of last render task in WebRender debugger r=gw 2019-06-04 20:52:29 +00:00
ycbcr Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel 2019-05-26 14:29:42 +00:00
moz.build Bug 1536162 - Update bugzilla component for gfx/wr. r=jrmuizel 2019-03-21 20:40:57 +00:00