Граф коммитов

35283 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva cbf8d97b08 Bug 1594492 - Count the number of color/alpha passes instead of targets in the profiler HUD. r=gw
It's a more useful number since we also report the number of existing and rasterized picture cache tiles.
Also bump the expected number of alpha passes up to 2 since it is rather common.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 22:52:06 +00:00
Cosmin Sabou 1d71e9f510 Backed out 4 changesets (bug 1594950) for turning bug 1405083 into permafail.
Backed out changeset 684a87e91d94 (bug 1594950)
Backed out changeset adea6912c3a3 (bug 1594950)
Backed out changeset aea7108204e9 (bug 1594950)
Backed out changeset 15baea8520de (bug 1594950)
2019-11-13 06:44:24 +02:00
sotaro 22a4932c7e Bug 1595703 - Remove DXGI_USAGE_SHADER_INPUT usage r=gw
DXGI_USAGE_SHADER_INPUT is not necessary with current WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 19:15:39 +00:00
sotaro e3f85dc709 Bug 1595027 - Disable partial present when SwapChain uses alpha r=nical
During high contrast mode, alpha is used by SwapChain. In this case, IDXGISwapChain1::Present1() shows nothing with compositor window. To address the problem, we disable the Present1() usage when alpha is used.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 22:13:41 +00:00
Bert Peers 34a8f461b1 Bug 1571971 - Remove unused background_color field in Frame struct r=gw
Differential Revision: https://phabricator.services.mozilla.com/D52303

--HG--
extra : moz-landing-system : lando
2019-11-12 20:18:22 +00:00
Sylvestre Ledru ea96556c9f Bug 1562642 - add missing license in gfx/ r=nical
Depends on D52581

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

--HG--
extra : moz-landing-system : lando
2019-11-12 22:01:02 +00:00
Glenn Watson a84a8b7944 Bug 1594364 - Support subpx AA with picture caching in more cases. r=kvark
Instead of creating a picture caching slice for any content that
is fixed position, also check if the clip(s) for the cluster are
fixed position or anchored to the scroll root.

This prevents WR creating slices for parallax style effects. There's
not much point in doing this anyway, since those slices will invalidate
due to the spatial node of the clip changing during scrolling. This
also allows subpixel AA to be enabled in more situations.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 19:13:57 +00:00
Markus Stange 012de1a3a6 Bug 1594950 - Remove unused SurfaceRegistry API. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D51758

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:26 +00:00
Markus Stange 2db4b324b7 Bug 1594950 - Change NextSurface APIs to accept a dirty region, and remove the public method InvalidateRegionThroughoutSwapchain. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50878

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:26 +00:00
Markus Stange 82452d888a Bug 1594950 - Bake the layer size and its opaqueness into the layer, don't allow mutating it. r=jrmuizel
These settings are now supplied during layer creation and never change.
Consumers must now create new NativeLayer objects if they want to change size or toggle opaqueness.
This aligns the NativeLayer API with DirectComposition's capabilities. It also simplifies swap chain
management.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:25 +00:00
Glenn Watson 8b60bbd445 Bug 1594593 - Add wrench regression test for picture cache occlusion culling. r=kvark
This adds a regression test for bug #1594567.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 15:20:37 +00:00
Andrew Osmond 877d22c39e Bug 1594425 - Part 2. Switch image decoders to use SurfaceFormat::OS_RGBA. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D52008

--HG--
extra : moz-landing-system : lando
2019-11-12 18:22:33 +00:00
Andrew Osmond 19be895aca Bug 1594425 - Part 1. Add gfxPlatform QCMS helpers for SurfaceFormat::OS_RGBA. r=tnikkel
These helpers will be used by the image decoders in the next part of
this series.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 18:22:31 +00:00
Jonathan Kew e84b2037c0 Bug 1595617 - Remove 'virtual' from a couple of gfxFontEntry methods that don't need to be overridden. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D52587

--HG--
extra : moz-landing-system : lando
2019-11-11 21:39:45 +00:00
Jan Beich e6b0fa41d1 Bug 1583192 - Re-apply bug 1330495 after bug 1581145. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52442

--HG--
extra : moz-landing-system : lando
2019-11-11 13:41:11 +00:00
Miko Mynttinen 1ebc8b0671 Bug 1578576 - Part 3: Prefer ES2 for WebGL1 r=jgilbert
Depends on D44579

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

--HG--
extra : moz-landing-system : lando
2019-11-11 13:09:32 +00:00
Miko Mynttinen 6b7ee12dc1 Bug 1578576 - Part 2: Update to ANGLE 3865 r=jgilbert
Depends on D44561

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

--HG--
rename : gfx/angle/checkout/src/common/Color.inl => gfx/angle/checkout/src/common/Color.inc
rename : gfx/angle/checkout/src/image_util/copyimage.inl => gfx/angle/checkout/src/image_util/copyimage.inc
rename : gfx/angle/checkout/src/image_util/generatemip.inl => gfx/angle/checkout/src/image_util/generatemip.inc
rename : gfx/angle/checkout/src/image_util/loadimage.inl => gfx/angle/checkout/src/image_util/loadimage.inc
rename : gfx/angle/checkout/src/libANGLE/Version.inl => gfx/angle/checkout/src/libANGLE/Version.inc
rename : gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table.cpp => gfx/angle/checkout/src/libANGLE/renderer/d3d/d3d11/dxgi_support_table_autogen.cpp
rename : gfx/angle/checkout/src/libGLESv2/proc_table.h => gfx/angle/checkout/src/libGLESv2/proc_table_egl.h
rename : gfx/angle/checkout/src/libGLESv2/proc_table_autogen.cpp => gfx/angle/checkout/src/libGLESv2/proc_table_egl_autogen.cpp
extra : moz-landing-system : lando
2019-11-08 17:06:00 +00:00
Miko Mynttinen 230570b98a Bug 1578576 - Part 1: Update angle updater and merge base r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D44561

--HG--
extra : moz-landing-system : lando
2019-11-08 16:41:42 +00:00
Glenn Watson 9094afff5d Bug 1594934 - Handle clip rects in determining picture cache primitive dependencies. r=nical
This reduces the amount of invalidation on some pages very significantly.
It also fixes a number of cases where picture caching "fails", resulting
in everything invalidating every frame.

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

--HG--
extra : moz-landing-system : lando
2019-11-10 19:05:23 +00:00
Glenn Watson fd33253d58 Bug 1593845 - Ensure picture cache dirty rect is clamped to tile rect. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D52493

--HG--
extra : moz-landing-system : lando
2019-11-11 08:15:34 +00:00
Glenn Watson 740d2fb279 Bug 1594644 - Add debugging infrastructure for picture cache invalidation. r=nical
Add a first pass at invalidation debugging infrastructure. Also
tidy up the locations that invalidate into a common method, that
sets the invalidation reason.

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

--HG--
extra : moz-landing-system : lando
2019-11-10 19:05:15 +00:00
Lee Salzman b53ad6f708 Bug 1593970 - scale subpixel contribution based on ClearType level setting. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D52441

--HG--
extra : moz-landing-system : lando
2019-11-09 13:03:47 +00:00
Boris Chiou 7709efdb02 Bug 1594960 - Update the assertion to check the transform-like animations on the compositor when we have fixed offset-path. r=hiro
It's possible to have a fixed offset-path together with other animating
css transform properties or offset-* properties, so we have to update
this assertion.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:46:17 +00:00
Daosheng Mu d1bc4c89ef Bug 1562825 - Checking if puppet is active before initializing VR puppet command buffers. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D52116

--HG--
extra : moz-landing-system : lando
2019-11-08 23:46:22 +00:00
Csoregi Natalia 8fdd443c49 Backed out 3 changesets (bug 1594425) for failures on SwizzleSSE2.cpp. CLOSED TREE
Backed out changeset 90ce21e7e469 (bug 1594425)
Backed out changeset 54a28220958b (bug 1594425)
Backed out changeset f1c1e5f12327 (bug 1594425)
2019-11-08 22:52:02 +02:00
Andrew Osmond b492d7bd13 Bug 1594425 - Part 2. Switch image decoders to use SurfaceFormat::OS_RGBA. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D52008

--HG--
extra : moz-landing-system : lando
2019-11-08 14:58:43 +00:00
Andrew Osmond 9374c621c9 Bug 1594425 - Part 1. Add gfxPlatform QCMS helpers for SurfaceFormat::OS_RGBA. r=tnikkel
These helpers will be used by the image decoders in the next part of
this series.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 14:58:36 +00:00
Miko Mynttinen 887eef5e7f Bug 1595036 - Put GPU debug markers behind a pref r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D52339

--HG--
extra : moz-landing-system : lando
2019-11-08 15:59:27 +00:00
sotaro 19b4d3425b Bug 1594303 - Code clean up around RenderAndroidSurfaceTextureHostOGL r=jnicol
Removes NofityForUse() functions for simplicity.

Ensure that RenderTextureHost::PrepareForUse() is called before RenderTextureHost:: Lock(). When a task of calling RenderTextureHost::PrepareForUse() is simply posted to render thread, there is a case that RenderTextureHost:: Lock() is called before PrepareForUse() .

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

--HG--
extra : moz-landing-system : lando
2019-11-08 12:52:16 +00:00
Peter Moore e298526ed5 Bug 1575648 - don't set RUSTFLAGS='--deny warnings' (temporary fix) r=nical
This change is a temporary fix to not set RUSTFLAGS='--deny warnings'
in order to unblock https://bugzil.la/1575648 (which is time-critical).
The longer term solution for this is https://bugzil.la/1564873.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 13:57:53 +00:00
sotaro 7001d3c524 Bug 1592512 - Handle surface opacity of OS compositor surface on Windows r=gw
Differential Revision: https://phabricator.services.mozilla.com/D52322

--HG--
extra : moz-landing-system : lando
2019-11-08 10:15:07 +00:00
Nicolas Silva 2fd55dabbb Bug 1585760 - Check that GetTextureForwarder isn't null in more places. r=sotaro
Depends on D51615

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

--HG--
extra : moz-landing-system : lando
2019-11-05 01:54:54 +00:00
Nicolas Silva 8b8031bd60 Bug 1585760 - Store a flag in the TextureChild indicating use of the ImageBridge. r=sotaro
This avoids calling GetTextureForwarder during shutdown which may return a null pointer.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 01:55:23 +00:00
Nicolas Silva 6c7032b199 Bug 1585760 - Check that IPC is open before accessing parent protocol. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D49164

--HG--
extra : moz-landing-system : lando
2019-11-04 14:38:33 +00:00
Nicolas Silva a443a5a79d Bug 1594500 - Document the memory layout of brush vertex shaders. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D52138

--HG--
extra : moz-landing-system : lando
2019-11-08 09:51:10 +00:00
joshua stein c931d974d2 Bug 1580268: Sandbox GPU process on OpenBSD with pledge() r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D51386

--HG--
extra : moz-landing-system : lando
2019-11-07 09:56:07 +00:00
Andrew Halberstadt 21c38703ad Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre
This also moves the 'mach' docs from /python/mach to /mach. The reason being
that 'mach' doesn't really have anything to do with Python other than its
implemented in it.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:07:20 +00:00
Barret Rennie 3e24c77cf6 Bug 1581240 - Return collected frames as a promise to JS r=bzbarsky,mstange,nika
The `setCompositionRecording` API on nsIDOMWindowUtils has been broken up into
two new APIs:

* `startCompositionRecording()`, which starts the composition recorder; and
* `stopCompositionRecording(bool writeToDisk)` which stops the composition
  recorder and either returns a Promise that resolves to the collected frames
  or returns a Promise that resolves when the frames have been written to disk.

The collected frames are serialized over IPC as part of a Shmem as to not
approach the IPC data transfer limit.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 22:35:04 +00:00
Barret Rennie e62c6d736d Bug 1581240 - Add an API to retrieve the collected frames from WebRender r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D47816

--HG--
extra : moz-landing-system : lando
2019-11-07 22:34:49 +00:00
Barret Rennie 91b0a50aed Bug 1581240 - Return collected frames from the composition recorder as data URIs r=mstange
The composition recorder can now either write frames to disk as PNGs or return
the frames as an array of data URIs. This will allow us to send the collected
frames across IPC and hand them over to JS in a later patch.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 22:34:37 +00:00
Barret Rennie 59bbcf47d9 Bug 1581240 - Return a Promise from windowUtils.setCompositionRecording() r=nika
`windowUtils.setCompositionRecording()` now returns a promise that is resolved
when the composition recorder is enabled (if given `true`) or when frames are
written to disk (if given `false`). To accomplish this, the
`WebRenderCompositionRecorder` now returns a `MozPromise` when writing frames
to disk begins that is resolved when that process finishes.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 22:34:25 +00:00
Jeff Muizelaar f348496d48 Bug 1594747. Update bitflags in WebRender to 1.2. r=kvark
This will help with some warnings about try!

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:57:15 +00:00
Lee Salzman 72d42a42f7 Bug 1585713 - reduce WR font size limit from 512 to 320. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D51747

--HG--
extra : moz-landing-system : lando
2019-11-07 16:51:32 +00:00
Lee Salzman 15322eed05 Bug 1585713 - disable subpixel positioning for oversized WR fonts. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D51746

--HG--
extra : moz-landing-system : lando
2019-11-07 16:51:02 +00:00
Lee Salzman c4a8a924de Bug 1585713 - don't prune WR glyphs that were recently used. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D51340

--HG--
extra : moz-landing-system : lando
2019-11-07 16:50:28 +00:00
Martin Stransky f677c03233 Bug 1589642 - Use gfxPlatformGtk instead of GDK_IS_X11_DISPLAY(gdk_display_get_default() to check current dispay type, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49724

--HG--
extra : moz-landing-system : lando
2019-11-07 14:28:55 +00:00
Ryan VanderMeulen 0aab0b28d6 Bug 1592165 - Update HarfBuzz to 2.6.4. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D50888

--HG--
extra : moz-landing-system : lando
2019-11-07 15:52:22 +00:00
Razvan Maries 67e6a22efa Backed out changeset e1e3835cafc7 (bug 1589642) for build bustages on nsClipboard.cpp. CLOSED TREE 2019-11-07 15:03:59 +02:00
Martin Stransky a2d726855c Bug 1589642 - Use gfxPlatformGtk instead of GDK_IS_X11_DISPLAY(gdk_display_get_default() to check current dispay type, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D49724

--HG--
extra : moz-landing-system : lando
2019-11-07 12:30:00 +00:00
sotaro 127c0ad209 Bug 1592510 - Make partial updates with WebRender OS compositor work on Windows r=gw
Differential Revision: https://phabricator.services.mozilla.com/D51984

--HG--
extra : moz-landing-system : lando
2019-11-07 00:57:23 +00:00