Ryan VanderMeulen
0635a6f864
Merge m-c to inbound. a=merge
...
CLOSED TREE
2017-06-01 12:48:15 -04:00
Kartikaya Gupta
f7afb5a21c
Merge m-c to graphics, a=merge
...
MozReview-Commit-ID: COZj8Itgjcz
2017-06-01 09:56:23 -04:00
Kartikaya Gupta
0b60039322
Bug 1368551 - Don't send transforms to WR in push_stacking_context if they are identity. r=pchang
...
If we set a transform in push_stacking_context, it changes the internal
WebRender behaviour to make that stacking context a reference frame, and
things inside it are positioned differently. This is true even if the
transform is an identity transform.
In most cases we are hitting this and sending an identity transform
through, when in fact we want to be sending a None value to WebRender so
that it doesn't create reference frames. This is a partial fix, a proper
fix will be done in bug 1345577 by separating the CSS transform from the
other transforms that FrameLayerBuilder invents.
MozReview-Commit-ID: ElSs3hFMD2D
2017-06-01 09:17:17 -04:00
Kartikaya Gupta
c054f05ef3
Bug 1368551 - Remove unneccessary overload of PushStackingContext. r=pchang
...
This overload is only called in one place, so we can just inline it. It
makes the API a little simpler.
MozReview-Commit-ID: H55IUduUSiJ
2017-06-01 09:17:16 -04:00
Kartikaya Gupta
1c8776063e
Bug 1367734 - Tone down webrender's memory usage to avoid OOMing during media mochitests. r=kvark
...
MozReview-Commit-ID: 9RIR37ZOSFR
2017-06-01 08:57:32 -04:00
Kartikaya Gupta
cab614e181
Bug 1367734 - Update webrender to cset a54cc729259588dd1ff52c86d0c62cb2a1767137. r=jrmuizel,jerry
...
In addition to updating webrender and webrender_traits, this patch:
- bumps the euclid dependency in webrender_bindings to match webrender
- updates the Cargo.lock files and re-vendors third-party rust packages
- updates the push_yuv_image callers due to an API change in WR cset a4b9e25.
2017-06-01 08:57:10 -04:00
sotaro
df7247c629
Bug 1368593 - Do not set background color if WebRenderBridgeParent is not root r=jrmuizel
2017-06-01 20:42:55 +09:00
sotaro
2e1b9ac498
Bug 1368483 - Pass WrColor in wr_api_set_root_display_list() r=nical
2017-06-01 09:53:58 +09:00
Andrew Osmond
bdcff7a50b
Bug 1368730 - TextureChild::ActorDestroy should indicate IPC is now impossible, not TextureChild::ReleaseIPDLReference. r=nical
2017-05-31 10:18:13 -04:00
Carsten "Tomcat" Book
1a0d9545b9
merge mozilla-inbound to mozilla-central a=merge
2017-05-31 11:28:43 +02:00
Mason Chang
17ccdaf65c
Bug 1369096 - Check HRESULT when QueryInterfacing an ID2D1Image for an ID2D1Bitmap. r=bas
2017-05-30 15:59:19 -07:00
Jonathan Kew
fd5dc7dd5e
Bug 1364089 - Eliminate some unnecessary virtual calls in gfxFont-related code. r=jrmuizel
2017-06-01 15:42:07 +01:00
Markus Stange
e2336b07a8
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=billm,njn
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : be0aa1b9c7963882e8e7d47964f2da5b670ab10a
extra : intermediate-source : e6f368f2d8741f2a9655b288d49b59fbbd6b90b7
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-30 15:06:14 -04:00
Ryan VanderMeulen
c01026a3da
Merge m-c to inbound. a=merge
2017-05-30 12:58:23 -04:00
Mason Chang
d73beaa757
Bug 1367127 - Use an ImageBrush during DrawTargetD2D1::PushLayer instead of a BitmapBrush. r=bas
2017-05-30 09:31:02 -07:00
Kartikaya Gupta
e49fb92e99
Merge m-c to graphics, a=merge
...
MozReview-Commit-ID: IU4SJ95MVHH
2017-05-30 07:50:05 -04:00
Carsten "Tomcat" Book
b318c7dca7
merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
...
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
sotaro
1885be3a3f
Bug 1366915 part 2 - Make CompositorBridgeChild allocate pipeline id for async image pipeline r=nical
2017-05-30 09:59:44 +09:00
sotaro
3e55c4713f
Bug 1366915 part 1 - Remove pipeline id allocation with IPC MozPromise r=nical
2017-05-30 09:59:29 +09:00
Kris Maglione
27a5a12045
Bug 1356317: Part 1 - Mark SurfaceMemoryReporter refcounting as threadsafe. r=njn
...
MozReview-Commit-ID: 9U5KLMyKSbk
--HG--
extra : rebase_source : e59990f3e52cf5cb6d552a8844d61f7fc5fbdfb4
2017-05-29 22:04:30 -07:00
Kartikaya Gupta
bf29ee0963
Bug 1368487
- Fix content rect passed to scroll layers to be relative to the right thing. r=jrmuizel
...
MozReview-Commit-ID: 1mbVLqp9o2R
2017-05-29 11:40:58 -04:00
Kartikaya Gupta
2c6ff0ad8b
Bug 1368487
- Add some default-disabled logging functionality to WebRenderAPI.cpp r=jrmuizel
...
MozReview-Commit-ID: DAqeAEyjCTm
2017-05-29 11:40:49 -04:00
Kartikaya Gupta
4bee409ce4
Bug 1367911 - Follow-up to remove invalid assertion. r=me
...
MozReview-Commit-ID: IdL5yLgserF
2017-05-29 09:57:42 -04:00
Kartikaya Gupta
b7ee577f62
Merge m-c to graphics, a=merge
...
MozReview-Commit-ID: 8IWAJNO52ry
2017-05-29 08:28:04 -04:00
JerryShih
6b9e0b591b
Bug 1366512 - Export some EGL functions for D3D NV12 texture format. v2. r=jgilbert
...
These EGL functions will be used to convert D3D NV12 texture handle to GL handle.
MozReview-Commit-ID: JpH0P3mAanU
2017-05-28 21:15:07 -07:00
Kartikaya Gupta
c77f08c8ad
Bug 1367911 - Extract a GetLayersId() helper. r=dvander
...
We're calling this often enough that it seems good to extract a named
helper method.
MozReview-Commit-ID: gIwdyfafOq
2017-05-28 07:51:53 -04:00
Kartikaya Gupta
e4b2bf8de2
Bug 1367911 - Update APZCCallbackHelper to support WebRender. r=dvander
...
This allows APZCCallbackHelper to send the SetConfirmedTargetAPZC
message over PWebRenderBridge if webrender is enabled, rather than
assuming the layer manager is a ClientLayerManager and then crashing.
MozReview-Commit-ID: 57o9CaCcbTi
2017-05-28 07:51:51 -04:00
Kartikaya Gupta
0f05ab2902
Bug 1367911 - Refactor the SetConfirmedTargetAPZC function to take a layers id. r=dvander
...
This makes it simpler to reuse this API from WebRenderBridgeParent,
since we can provide a layers id but not a LayerTransactionParent.
MozReview-Commit-ID: DEIGMk9tJEB
2017-05-28 07:51:48 -04:00
Kartikaya Gupta
d5c99e4ebb
Bug 1367837 - Implement some APZ test util APIs for webrender. r=botond,dvander
...
This implements some methods exposed on DOMWindowUtils and used by
reftests, for the WebRender codepath. The implementation is very similar
to the implementation in LayerTransactionParent.
MozReview-Commit-ID: HP8OxzIzS7P
2017-05-28 07:48:36 -04:00
Kartikaya Gupta
f47534e48a
Bug 1367837 - Expose a testing helper method to get an APZC instance from the layers id and scroll id. r=botond
...
MozReview-Commit-ID: HyEMamx7nDk
2017-05-28 07:48:33 -04:00
Kartikaya Gupta
71133b7ca0
Bug 1367837 - Have the CompositorBridgeParent::FlushApzRepaints function take a layers id instead of a layer tree. r=dvander
...
This is helpful for reusing the FlushApzRepaints from
WebRenderBridgeParent, since it no longer assumes there's a layers
transaction object.
MozReview-Commit-ID: GVqDDEeZaN3
2017-05-28 07:48:29 -04:00
Phil Ringnalda
16b90e808a
Backed out changeset e12fa325e112 (bug 1359527) for Win8 masking reftest failures
...
MozReview-Commit-ID: 5ecOfTu606d
2017-05-28 15:45:42 -07:00
Mason Chang
981bccddf0
Bug 1359527. Add DrawTarget::IntoLuminance. r=jrmuizel,Bas
...
This lets us use the luminance effect with Direct2D to avoid
having to read back. It will also let us avoid reading back
with DrawTargetRecording.
2017-05-28 15:35:14 -04:00
Xidorn Quan
ac6cc1d36a
Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
...
MozReview-Commit-ID: 5qCoeqfM2s5
--HG--
extra : rebase_source : 6dc1693ce61bea4ec35469a3388c75a9fb64e5b3
2017-05-29 16:17:39 +10:00
Kartikaya Gupta
c3d1217b06
Merge m-c to graphics, a=merge
...
MozReview-Commit-ID: 91TVUCwwNt4
2017-05-26 08:28:53 -04:00
Ryan VanderMeulen
a71f4a2308
Merge m-c to inbound. a=merge
2017-05-25 21:31:19 -04:00
Samuel Vargas
3f8de3214a
Bug 1366425
- Avoid losing context on out of memory error for ANGLE - r=jgilbert
2017-05-25 16:11:40 -07:00
Samuel Vargas
67ca0e362c
Bug 1364169 - on ANGLE context creation asks for robustness but does not get it - r=jgilbert
2017-05-25 16:11:25 -07:00
Samuel Vargas
70e5692daa
Bug 1365067 - rbab is requested on ANGLE but is not implemented - r=jgilbert
2017-05-25 16:11:05 -07:00
Samuel Vargas
861a75bd94
Bug 1364592 - Enable asserts in moz.build for ANGLE - r=jgilbert
2017-05-25 16:10:36 -07:00
Kartikaya Gupta
29bcb40e01
Bug 1367870 - Add stringification helper for WrRect. r=jrmuizel
...
MozReview-Commit-ID: FMw6tPI2LOJ
2017-05-25 17:49:30 -04:00
Kartikaya Gupta
cbaaff5376
Bug 1367870 - Remove unused logging function bodies. r=jrmuizel
...
Both nsIntPoint and IntRect are specializations of template classes (BasePoint
and BaseRect) that are already covered by the corresponding template methods
in LayersLogging.h. Therefore these methods are not needed (and in fact are not
listed separately in LayersLogging.h).
MozReview-Commit-ID: BIZAOFfWCfI
2017-05-25 17:49:23 -04:00
Ryan VanderMeulen
8543438674
Merge inbound to m-c. a=merge
2017-05-25 16:34:16 -04:00
Kartikaya Gupta
87a0d25e76
Bug 1365934 - Update webrender to 76a3213080ca5c2e2a612c3023c50c81a111fd55. r=jrmuizel,kvark
...
This includes a change to bindings.rs for an API change to the readback function
in webrender cset 052b0a7.
MozReview-Commit-ID: K9eMrF3O6OX
2017-05-25 13:27:55 -04:00
L. David Baron
a71e3087cd
Backed out changeset 659898a1c1b8 (bug 1367577) for breaking stylo builds.
2017-05-25 13:20:31 -04:00
Paul Bignier
9e1d02605d
Bug 1367577 - change theme constants from #defines to enum ThemeWidgetType. r=dbaron
2017-05-25 12:44:59 -04:00
Lee Salzman
4dfbb20ffb
Bug 1364691 - add assertions to help figure out why Skia's AAA is crashing. r=jrmuizel
...
MozReview-Commit-ID: 4J8ztujEe1I
2017-05-25 11:52:49 -04:00
ohn0
e64bada746
Bug 1367062 - Change std::map to std::unordered_map in APZCTreeManager r=botond
...
MozReview-Commit-ID: yHXUFw2fx6
***
Bug 1367062 - Change std::map to std::unordered_map in APZCTreeManager
changed gfx/layers/FrameMetrics.h by adding a ScrollableLayerGuidHash class that will be used as the hashing function for std::unordered_maps which use ScrollableLayerGuid as keys.
changed gfx/layers/apz/src/APZCTreeManager.cpp by changing mApzcMap to a std::unordered_map.
changed gfx/layers/apz/src/APZCTreeManager.h by changing mZoomConstraints to a std::unordered_map.
MozReview-Commit-ID: JmoQzh1MvKK
--HG--
extra : rebase_source : cb7bd9419085f83873c9fd019c4a379fae0ee278
2017-05-26 19:41:13 -04:00
Jonathan Kew
30cba7385b
Bug 1365278 - Remove WORD_CACHE_* telemetry probes that provide little value for their cost. r=milan
2017-05-29 16:19:36 +01:00
Kartikaya Gupta
07aa8387a0
Merge m-c to graphics, a=merge
...
MozReview-Commit-ID: 3cEYFBtGvTZ
2017-05-25 08:06:56 -04:00