Commit Graph

26078 Commits

Author SHA1 Message Date
vincentliu
23c04fef95 Bug 1362366 - Set DataTextureSourceD3D11 to nullptr once devce change was detected. r=dvander 2017-05-31 17:48:12 +08:00
Lee Salzman
e75b1b8c59 Bug 1366446 - Ensure layers TextureClient always lives as long as the SourceSurface using it. r=jrmuizel
MozReview-Commit-ID: HU3TBQQgotE
2017-05-28 13:30:32 -04:00
sotaro
9825a21a17 Bug 1363280 - Fix Updating sImageBridges handling r=dvander,nical 2017-05-31 09:11:53 +09: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
Kartikaya Gupta
d29002d64b Merge m-c to graphics, a=merge
MozReview-Commit-ID: 2pUMxaNAKCC
2017-05-24 08:14:30 -04:00
sotaro
103c378c7f Bug 1366931 - Fix pipeline id handling of WebRenderBridgeParent::RecvDeleteCompositorAnimations() r=kats 2017-05-24 09:26:29 +09:00
Kartikaya Gupta
9b99490587 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 8U9lnVZRtS7
2017-05-23 10:34:14 -04:00
Ryan VanderMeulen
22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Georg Fritzsche
31c702afef Bug 1361661 - Part 2 - Make Telemetry IPC code pass around Telemetry::ProcessID. r=dexter
Switching to Telemetry::ProcessID allows us to break out extension process data from the content process data.
2017-05-23 13:47:58 +07:00
Ryan VanderMeulen
c5b2958154 Merge inbound to m-c. a=merge 2017-05-24 20:45:23 -04:00
Jeff Muizelaar
df702756e2 Bug 1366069. Fix mac theme rendering with DrawTargetRecording. r=mstange
We can't get native surfaces for recording targets
2017-05-19 15:09:56 -04:00
Kartikaya Gupta
5320a75266 Merge m-c to graphics
MozReview-Commit-ID: Fq2lBUWyr0m
2017-05-19 13:19:35 -04:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Kartikaya Gupta
5d656fab0f Merge m-c to graphics
MozReview-Commit-ID: HvsAeMjJAIA
2017-05-19 09:30:48 -04:00