Commit Graph

125 Commits

Author SHA1 Message Date
sotaro
8305f0b97e Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical 2017-04-20 10:24:13 +09:00
Kartikaya Gupta
52bc8add68 Merge m-c to graphics
MozReview-Commit-ID: 8Oqr9Nbqsn0
2017-04-19 07:02:32 -04:00
sotaro
2f88c289f9 Bug 1357644 - Use wr::ExternalImageId instead of uint64_t for external image id r=nical 2017-04-19 18:59:53 +09:00
sotaro
111d213410 Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel 2017-04-14 17:06:09 +09:00
Bill McCloskey
f54a056450 Bug 1333968 - Label the DidComposite message (r=dvander)
MozReview-Commit-ID: 7cW7apxUJu0
2017-04-11 12:59:13 -07:00
Andrew Osmond
674676e8e4 Bug 1356289 - Part 2. Make gfx use the new SharedMemory::SetHandle API. r=jrmuizel 2017-04-18 12:25:00 -04:00
Kartikaya Gupta
1bcda612ce Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.

The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.

MozReview-Commit-ID: AtdYOuXmHu4
2017-04-09 17:30:27 -04:00
Kevin Chen
fc22d2c178 Bug 1343479 - Label the tasks for APZ module. r=bevistseng,kats
MozReview-Commit-ID: GkAl4MZorxP
2017-03-23 06:16:38 +00:00
Kartikaya Gupta
4eecd7ad12 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40
2017-03-06 18:46:30 -05:00
sotaro
4d822b6679 Bug 1342754 - Make WebRenderBridgeChild::mIdNamespace unique r=jrmuizel 2017-02-27 12:16:11 +09:00
Jeff Muizelaar
e421e711ab Bug 1342246. Generate resource ids on the client side. r=lsalzman 2017-02-23 17:52:38 -05:00
David Anderson
8c46867f03 Fix a content canvas crash caused by losing IPC during a GPU process restart. (bug 1339852, r=mattwoodrow) 2017-02-15 19:09:18 -08:00
Ryan Hunt
b60d405ff9 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Ryan Hunt
fda7c21991 Merge m-c to graphics 2017-01-26 08:59:21 -06:00
Kartikaya Gupta
5c508e0b98 Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Kartikaya Gupta
8199d384b7 Bug 1333892 - Remove unused IPC message leftover from B2G days. r=kanru
MozReview-Commit-ID: 2qBq6WjzbcO
2017-01-25 16:21:12 -05:00
Kartikaya Gupta
05ab5e41a7 Merge m-c to graphics
MozReview-Commit-ID: Gds3AlDHXgY
2017-01-20 10:07:40 -05:00
Kevin Chen
1f63cf1fcd Bug 1160157 - Add gfxCriticalError for failing to create D3D11 device in content side. r=milan 2017-01-19 22:19:00 +08:00
Nicolas Silva
c8346f4055 Bug 1331515 - Replace the usage of some of the WebRender ffi types by their strongly typed equivalents. r=gfx? 2017-01-17 15:13:41 -05:00
Ryan Hunt
3987a44ddb Merge m-c to graphics 2017-01-13 10:14:22 -06:00
David Anderson
94fb0ef50b Ignore paints when a content device reset has not yet been acknowledged. (bug 1333329 part 3, r=rhunt) 2017-01-24 11:23:12 -08:00
David Anderson
dd60ba2d92 Use a simpler mechanism for tracking which ref layers need device resets. (bug 1333329 part 1, r=rhunt) 2017-01-24 11:23:11 -08:00
Kartikaya Gupta
7fad4e88c5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z
2017-01-12 17:29:41 -05:00
Kartikaya Gupta
16afba45ec Bug 1330037 - Provide the CompositorBridgeParent with a CompositorOptions during construction that it holds for eternity. r=dvander
MozReview-Commit-ID: JnvNHUCF0AX
2017-01-12 17:29:41 -05:00
Kartikaya Gupta
e3df5ca2fe Bug 1330037 - Introduce a CompositorOptions struct that holds options on a per-compositor basis. r=dvander
MozReview-Commit-ID: Kja7zpCDmp3
2017-01-12 17:29:41 -05:00
Kartikaya Gupta
2d075dbfbe Merge m-c to graphics
MozReview-Commit-ID: 5ovnMmSOiZX
2017-01-09 10:18:37 -05:00
Kartikaya Gupta
26f427122c Merge m-c to graphics
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
Kartikaya Gupta
bfbb25e09a Bug 1333503 - Remove some dead code relating to overfill calculation. r=mchang,mrbkap
MozReview-Commit-ID: HiT0jJynpyC
2017-01-25 14:03:36 -05:00
Nicholas Nethercote
d3809ce662 Bug 1325234 (part 3) - Streamline nsIWidget::Show(). r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion and one other place where the check had
no useful effect (in nsCocoaWindow::HideWindowChrome()).
2016-12-21 11:12:54 +11:00
Nicholas Nethercote
dc2aa85dd7 Bug 1325234 (part 2) - Streamline nsIWidget::Invalidate(). r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion so I decided it wasn't needed.
2016-12-20 09:55:32 +11:00
sotaro
db46241ee7 Bug 1320023 - Reduce MOZ_ENABLE_WEBRENDER r=nical? 2016-12-14 15:41:04 +09:00
Kartikaya Gupta
72176af814 Merge m-c to graphics
MozReview-Commit-ID: Cx7uECrZfsq
2016-12-09 15:23:01 -05:00
Kartikaya Gupta
17245d5f13 Merge m-c to graphics
MozReview-Commit-ID: KhxBqJbwxv8
2016-12-06 23:45:24 -05:00
sotaro
d6ad646b8c Bug 1320864 - Add DidComposite handling r=nical 2016-12-01 13:36:41 +09:00
sotaro
d320259768 Bug 1318113 - Use BufferTexture to return the reftest snapshot r=nical? 2016-11-28 11:39:42 +09:00
sotaro
1cce17802e Bug 1320023 - Make WebRenderBridgeChild destroy simiar to LayerTransactionChild r=nical 2016-11-25 10:36:37 +09:00
JerryShih
3fa7b53999 Bug 1318066 - Revert the changes for packing the webrender shaders. r=kats?
Revert "Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?"
This reverts commit 6aeb295d19b80c368cb3a31a096ac76b745797df

Revert "Bug 1318066 - Ensure webrender resources are bundled into the Firefox installation. r=jrmuizel?"
This reverts commit fdfd418626ad2bedc33a6bd813a3472617a9b1e3

MozReview-Commit-ID: FXSAXK5qsmr
2016-11-18 21:56:47 +08:00
Nicholas Nethercote
ba591e22dd Bug 1299335 (part 8) - Streamline nsIWidget::Enable. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.
2016-12-19 20:54:16 +11:00
Nicholas Nethercote
aaca44be3c Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.
2016-12-19 20:54:03 +11:00
Kartikaya Gupta
a6df34127e Bug 1318066 - Provide WR with the path to the resources directory. r=jrmuizel?
MozReview-Commit-ID: JSatfZmk6Fh
2016-11-16 13:54:13 -05:00
Mozilla Graphics Team
8d165b3b75 Bug 1317774 - Add gfx code needed to use WebRender in gecko. r=gfx
The overall architecture here is that we add a new layers type, LAYERS_WR,
which can be used in place of client layers. The WebRenderLayerManager, in
the EndTransaction call, paints content into images and ships them over the
PWebRenderBridge to the compositor thread. The WebRenderBridgeParent code on
the compositor side talks to WebRender via the API in webrender.h.

MozReview-Commit-ID: JKLTLJWVXiN
2016-11-16 08:54:51 -05:00
Kan-Ru Chen
1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Ryan Hunt
1c4bd043c1 Bug 1320817 - Move child process PAPZ initialization into TabChild::InitRenderingState. r=kats 2016-11-28 22:21:27 -06:00
David Anderson
0757ad84ef Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
David Anderson
2db3fdc77f Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow) 2016-11-29 14:07:27 -08:00
Wes Kocher
03beba9aa5 Backed out changeset 2259891dc1e8 (bug 1319557) for build bustage CLOSED TREE a=backout 2016-11-28 12:20:51 -08:00
David Anderson
5bad179d1e Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow) 2016-11-28 11:43:41 -08:00
Carsten "Tomcat" Book
a3d6de70fa merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Kartikaya Gupta
281dba6afe Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
MozReview-Commit-ID: CPTCQgIl5ad
2016-11-08 10:42:19 -05:00
Matt Woodrow
463bd96401 Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00