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

49 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
sotaro 3b545f56f3 Bug 1500017 - Use triple buffer with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL SwapChain r=mattwoodrow 2018-11-05 18:58:37 +09:00
Cosmin Sabou 411aca55f1 Backed out changeset d139f68fd874 (bug 1500017) for build bustages on RenderCompositorANGLE.cpp 2018-11-05 09:36:05 +02:00
sotaro e56fb1f874 Bug 1500017 - Use triple buffer with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL SwapChain r=mattwoodrow 2018-11-05 15:54:10 +09:00
Jean-Yves Avenard c38d8622a3 Bug 1497294 - P8. Disable P010 surface type with nvidia adapters. r=mattwoodrow
It just doesn't work.
We add the preference media.wmf.force.allow-p010-format to force enable it.

Depends on D8136

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

--HG--
extra : moz-landing-system : lando
2018-10-11 07:32:35 +00:00
Bas Schouten 3f601ce856 Bug 1479640: Restructure cleartype parameter code to run less frequently and only in the parent process. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D4784

--HG--
extra : moz-landing-system : lando
2018-09-13 18:59:27 +00:00
sotaro 624fefcfd6 Bug 1418202 - Serialize ProgramBinary to/from blob/disk r=nical 2018-05-31 15:07:34 +09:00
sotaro 196c70b995 Bug 1437334 - Block DX NV12 on SandyBridge for old graphics drivers r=jrmuizel 2018-05-17 12:07:20 +09:00
sotaro 19a32411ca Bug 1191971 part 2 - Add capatiblity to enable DComp r=bas 2018-03-29 11:23:31 +09:00
Masatoshi Kimura dea129ada5 Bug 1428258 - Stop using GetNativePath in gfx/. r=jrmuizel
MozReview-Commit-ID: EdcKDRQeGXg

--HG--
extra : rebase_source : 8a6f93091e7f7cf96f998a3b8a5ce518c822f112
extra : intermediate-source : 77d4d136028337085cebdb59201302676a2ec521
extra : source : 477624377a9796459ada93719df68ba152587781
2017-12-17 00:13:30 +09:00
Andrew Osmond 6529a8c077 Bug 1437886 - Prevent shared surfaces from being used without WebRender. r=nical
Move the initialization of SharedSurfacesParent from the compositor
thread creation to mirror the other WebRender-specific components, such
as the render thread creation. Now it will only be created if WebRender
is in use. Also prevent shared surfaces from being used by the image
frame allocator, even if image.mem.shared is set -- there is no purpose
in allowing this at present. It was causing startup crashes for users
who requested image.mem.shared and/or WebRender via gfx.webrender.all
but did not actually get WebRender at all. Surfaces would get allocated
in the shared memory, try to register themselves with the WR render
thread, and then crash since that thread was never created.
2018-02-16 09:50:40 -05:00
Cameron McCormack 2cea1ba7c1 Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro
MozReview-Commit-ID: B9TaVJFak26

--HG--
extra : source : 820eed2682b6a6cda892d091ee037ff1eeacd69f
2018-02-01 15:04:04 +11:00
sotaro dff4491cb4 Bug 1391159 - Handle WebRender ProgramBinary usage r=nical 2017-11-24 20:58:24 +09:00
Daniel Holbert 126bd9e1a4 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: 77D61xpSmIl

--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Daniel Holbert 76d8e6a7d5 Bug 1412427 part 3: Replace 10 gfx usages of a particular non-standard emacs mode line with our standard mode line. r=jrmuizel
This patch was mostly[1] automatically generated. I found the files to be fixed
in this patch with the following command:
grep -r "C++; indent-tabs-mode:" gfx

...and then I modified each of these files with the following script
(where $1 is the filename to be modified):
###
old="/\* -\*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -\*- \*/"
new="/\* -\*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -\*- \*/"

sed -i s%"^$old"%"$new"% $1
###

[1] NOTE: Nearly all of these files use 2-space indentation, so it's correct
(from a consistency perspective and a reflecting-reality perspective) that
we're reducing their "c-basic-offset: 4" down to "c-basic-offset: 2" here.  The
one exception is nsDeviceContext.h, which *does* actually use 4-space
indentation right now -- so I'm leaving that file with "c-basic-offset: 4" in
its mode line.  This manual change (reverting 1 character from the automated
process) is the only piece of this patch that isn't automated.

MozReview-Commit-ID: L4MbyeYSbfY

--HG--
extra : rebase_source : 8ddbe422471bfd8b0060e96fb1c8cd062f10f290
2017-10-27 15:55:37 -07:00
Boris Chiou ca916ce990 Bug 1412542 - Fix crashes on products other than Firefox. r=heycam
MozReview-Commit-ID: G9DeMR5o8F3

--HG--
extra : rebase_source : ddf209961e618c90da7c80f8a2d6952923b56ecb
2017-10-28 20:49:08 +02:00
Boris Chiou 0576efed8c Bug 1340005 - Part 7: Switch compositor animations to Servo backend for desktop. r=birtles,hiro,nical
We want to always use Servo animation backend on the compositor.
However, Android doesn't support Stylo now, so add a defined flag for it.

MozReview-Commit-ID: 63MnTBnq6yv

--HG--
extra : rebase_source : dce46737f81e4e217e9fd67b6bec722994dca6a2
2017-10-27 21:13:27 +02:00
Nicolas Silva 9f6f1a7d88 Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-23 12:00:37 +02:00
Sebastian Hengst 441fc1a176 Backed out changeset b9c53ad8893b (bug 1390840) 2017-08-21 18:38:22 +02:00
Nicolas Silva 55bbef54aa Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-21 18:22:56 +02:00
Milan Sreckovic ebe72eb0d5 Bug 1359416: Allow blocklisting of D3D11 keyed mutex and block it for Intel Gen 6. r=bas,dvander
MozReview-Commit-ID: 2u7N5qhHhD1

--HG--
extra : rebase_source : 3a8ccc658d1b83d470f1bbeef4520779c1766919
2017-07-25 14:02:36 -04:00
Milan Sreckovic 2a443ce1ef Bug 1337062: Transfer initial gfxVars with SendXPCOMProcessAttributes. Deal with potential (future) race condition. r=dvander,gerald
MozReview-Commit-ID: GYezEAg7ozQ

--HG--
extra : rebase_source : 7771f0e47ec7397117b96e702a620301089c57a1
2017-06-27 17:04:17 -04:00
domfarolino@gmail.com 0fe1d756ab Bug 1369542 - Hook up OMTP to config/about:support/crash annotation system. r=dvander
--HG--
extra : rebase_source : dbf55894b92f7964ab6f64469394117179142f9a
2017-06-06 16:18:00 -04:00
Phil Ringnalda 7aa9d244e3 Backed out changeset 1ad211b75475 (bug 1337062) for timeouts and shutdown crashes in e10s, primarily Win8 PGO b-c and dt
MozReview-Commit-ID: 7VvEkGpU3rj
2017-04-28 21:50:06 -07:00
Gerald Squelart b1c77d60bc Bug 1337062 - Transfer initial gfxVars with SendSetXPCOMProcessAttributes - r=dvander
The content process stores the incoming initial gfxVars updates, which are
lazily used when the gfxVars are first initialized.

MozReview-Commit-ID: ExUVdr5xGLb

--HG--
extra : rebase_source : fd6f3e1bc4eabdd85447eff0c0fa22537747431f
2017-04-26 13:59:43 +12:00
Phil Ringnalda e8d261cd04 Backed out changeset 2d7ef036a01f (bug 1337062) for making browser_net_open_request_in_tab.js nearly permaorange on Win7 debug e10s, and causing Windows e10s shutdown crashes whenever anything else goes wrong 2017-04-13 20:13:31 -07:00
Gerald Squelart 2b9e3638a2 Bug 1337062 - Transfer initial gfxVars with SendSetXPCOMProcessAttributes - r=dvander
MozReview-Commit-ID: EUnwXkDwBTZ

--HG--
extra : rebase_source : b02164c0b681d8cc389a2c493630aebd63069474
2017-04-11 15:36:56 +12:00
Phil Ringnalda c582d2c9af Backed out changeset e8efc3c5d61f (bug 1337062) for crashes in mozilla::gfx::gfxVars::ApplyUpdate(mozilla::gfx::GfxVarUpdate
CLOSED TREE
2017-04-11 18:49:21 -07:00
Gerald Squelart b34950f944 Bug 1337062 - Transfer initial gfxVars with SendSetXPCOMProcessAttributes - r=dvander
MozReview-Commit-ID: EUnwXkDwBTZ

--HG--
extra : rebase_source : 2641d987a6f7326dc07766ba6b06c223a513e313
2017-04-11 15:36:56 +12:00
Phil Ringnalda 032b07550c Backed out changeset 4f7947062b4f (bug 1337062) for assertion failures in gfxVars.cpp
--HG--
extra : rebase_source : 307963eba4328b23edaf64e7255f5f501ace0efe
2017-04-06 20:11:19 -07:00
Gerald Squelart 9c16b0ccdc Bug 1337062 - Transfer initial gfxVars over command line - r=blassey
When a subprocess is launched, gfxVars updates (for non-default values) are
serialized and passed on the command line, up to a limit of 1023 characters,
and ensuring it should not overflow the command line size.

When the child starts, the command line parameter is given to gfxVars, so the
updates can be used during gfxVars::Initialize(), instead of doing a sync
request to the parent.

In case the updates are not sent, or in the unlikely case the child cannot
parse them, we fallback to the sync request -- The former case should be rare
enough that a slow sync request is acceptable: It should only happen if D3D
block-list is *modified* (most people would either use the default, or just
overwrite these prefs with short strings.)

MozReview-Commit-ID: 6MoJC0fe59Q

--HG--
extra : rebase_source : cdc2e451783160c579b8fc84050e8457c600523e
2017-03-28 12:16:41 +11:00
Kartikaya Gupta 317d304694 Merge m-c to graphics
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Sotaro Ikeda d4d0425579 Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Nicolas Silva 12f7354feb Bug 1309200 - Expose the software backend in gfxVars. r=dvander 2017-03-28 16:35:55 +02:00
Kartikaya Gupta 3c3b72b692 Bug 1337085 - Add a gfxVar to control whether or not webrender is enabled. r=sotaro
MozReview-Commit-ID: 8Ebc0DbhYbZ
2017-02-06 22:22:36 -05:00
Kartikaya Gupta 4c7f0577fe Bug 1316931 - Put DX interop2 status into gfxVars. r=dvander,jgilbert
This allows the GLContextProviderWGL to be created on the compositor
thread, which is something we need for webrender integration.

MozReview-Commit-ID: DtBe9nUTdK7

--HG--
extra : rebase_source : b31973542beca75255b64f350f47df16435a60e3
2016-11-14 17:13:40 -05:00
Matt Woodrow 5375ddbb83 Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald 2016-11-03 09:57:18 +13:00
Matthew Woodrow 76c0ae8105 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Carsten "Tomcat" Book f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matthew Woodrow cc6a2ea1e1 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Carsten "Tomcat" Book 45927144b4 Backed out changeset e00026b645d2 (bug 1288618) for valgrind failures 2016-09-15 16:34:35 +02:00
Matthew Woodrow 0cd90578a4 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Ryan Hunt 51dd4314b5 Bug 1297831 - Add a RequiresAcceleratedGLContextForCompositorOGL gfxVar for CompositorOGL. r=jgilbert
MozReview-Commit-ID: 9hZMvG8bPvd

--HG--
extra : rebase_source : 164282b35171865eecade7a4e17927daa16ae66a
2016-08-24 14:03:00 -04:00
Ryan Hunt a855ce5afd Bug 1297831 - Add an OffscreenFormat gfxVar for use in CompositorOGL. r=jgilbert
MozReview-Commit-ID: JLthlwaZg1Q

--HG--
extra : rebase_source : b7ef71ad34b8036f25209242e5fdb743b749d3a7
2016-08-24 14:02:00 -04:00
David Anderson cf5f37f7c3 Add BrowserTabsRemoteAutostart to gfxVars. (bug 1288259 part 6, r=jrmuizel)
--HG--
extra : rebase_source : 4e9dce46b658ecf7a13afaa2e9bb1ba35714c38f
2016-08-04 11:33:44 -07:00
David Anderson 27679a9d30 Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -07:00
David Anderson bf733b4fbb Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel)
--HG--
extra : rebase_source : e805a138c71963f4f80ec218d9be05fde6544f02
2016-08-04 11:33:44 -07:00
David Anderson 456bcd0248 Move TileSize from gfxPlatform to gfxVars. (bug 1288259 part 3, r=jrmuizel)
--HG--
extra : rebase_source : 5a48bb72b10c8d9c1c5c96b8d2076a6d33cabc24
2016-08-04 11:33:43 -07:00
David Anderson 9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00