JerryShih
51510de95b
Bug 1359738 - Add push_yuv_image() in WR binding.
...
Please check [1] for webrender_ffi_generated.h updates.
[1]
https://dxr.mozilla.org/mozilla-central/rev/f229b7e5d91eb70d23d3e31db7caff9d69a2ef04/gfx/webrender_bindings/webrender_ffi_generated.h#7
MozReview-Commit-ID: 3PolFzfQB0l
2017-04-27 15:08:20 +08:00
sotaro
e00af8354a
Bug 1358014 - Allocate PipelineId with IPC MozPromise r=nical
2017-04-26 19:18:06 -07:00
Kartikaya Gupta
86403106c8
Bug 1358156 - Update webrender to 1437cc124696ecc95b726dffa17f918bb6ea5af1. r=jrmuizel
...
In addition to updating the Cargo.toml/Cargo.lock files and generated FFI header,
this patch also:
- Updates a couple of field names in the IPC serialization code as a result
of webrender cset 8ca10a8
- Removes z-index related goop, since it's no longer needed as of webrender
cset c872232
2017-04-26 10:33:14 -04:00
Ethan Lin
f8f646b320
Bug 1359314 - Apply mask layer transform when building webrender mask layer. r=mchang
...
--HG--
extra : rebase_source : a1fec5d8e03771e14d9b8e9a8a7d3846e8429ab2
2017-04-26 15:34:14 +08:00
Kartikaya Gupta
5490a9c0ff
Bug 1359462 - Ensure we don't pass a nullptr to slice::from_raw_parts. r=rhunt
...
Apparently passing a nullptr to slice::from_raw_parts is unsafe. So we
wrap those calls into a helper function that returns an empty slice
instead.
MozReview-Commit-ID: EAp90FKb8cQ
2017-04-25 15:17:01 -04:00
Sotaro Ikeda
ad333615eb
Backout Bug 1358014
2017-04-25 12:13:32 -07:00
Sotaro Ikeda
2a9e1b455e
Bug 1358014 - Add a capability to allocate PipelineId with IPC MozPromise r=nical
2017-04-25 10:39:56 -07:00
Sotaro Ikeda
cbe34ab9f7
Bug 1359295 - Call MakeCurrent() before destroying webrender renderer r=nical
2017-04-25 08:39:33 -07:00
Kartikaya Gupta
b21511b7c0
Merge m-c to graphics
...
MozReview-Commit-ID: GdyXEYZsVuX
2017-04-25 08:32:48 -04:00
Carsten "Tomcat" Book
9155c12847
merge autoland to mozilla-central a=merge
2017-04-25 11:23:43 +02:00
Jamie Nicol
5f1bd7050d
Bug 1352034 - Part 1 Turn on layers.advanced.solid-color-layers r=mchang
2017-04-24 15:35:17 -04:00
Kartikaya Gupta
c896803771
Merge m-c to graphics
...
MozReview-Commit-ID: 3s6ISsQ3jG9
2017-04-24 09:17:28 -04:00
Lee Salzman
6c14185528
Bug 1357952 - fix UnscaledFontFreeType::GetFontFileData to read file contents when filename is used instead of an FT_Face. r=jrmuizel
2017-04-21 11:51:27 -04:00
Lee Salzman
ea130e2494
Bug 1357952 - update WebRenderAPI to allow index in add_raw_font. r=jrmuizel
2017-04-21 11:50:21 -04:00
Ethan Lin
e7c48eaf73
Bug 1357003 - Keep original layer state for basic layer manager when enabling advanced layer. r=mattwoodrow
...
--HG--
extra : rebase_source : 75540e18973d788e4e076aa3bdfa8a26036b2269
2017-04-21 23:11:38 +08:00
Kartikaya Gupta
fd7e4b5252
Bug 1345017 - Fix android build bustage due to missing include. r=bustage
...
MozReview-Commit-ID: 7l09VoFQlBH
2017-04-21 11:11:19 -04:00
Kartikaya Gupta
2e1380aecf
Merge m-c to graphics
...
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Alexis Beingessner
ca65b90cd7
Bug 1357392 - Update IPC code for new fields in struct added in cb0bc28. r=kats
...
MozReview-Commit-ID: 4wc6wsvxcZQ
2017-04-21 09:59:01 -04:00
Kartikaya Gupta
b3a7bb5ca2
Bug 1357392 - Update webrender to f3fa3481aac63ac93c6ccbe805379875e24e5b77. r=jrmuizel,jerry,lsalzman
...
In addition to regenerating the FFI header and re-vendoring third-party rust
dependencies, this includes the following changes to webrender_bindings code:
- removal of release callback function as a result of changes in 86d4255
- update callback functions for new parameter added in d733af2
- update calls to add_raw_font for API change in 21f2946
2017-04-21 09:58:56 -04:00
sotaro
a87a0250c4
Bug 1346143 - Forget the widget pointer in WebRenderLayerManager::Destroy() r=nical
2017-04-21 18:31:52 +09:00
Carsten "Tomcat" Book
975e251aff
merge mozilla-inbound to mozilla-central a=merge
2017-04-21 10:57:02 +02:00
Markus Stange
2a35142b62
Bug 1349418 - Remove checkerboarding code and just use an opaque background color behind root scroll frames. r=kats
2017-04-21 14:02:15 +12:00
David Anderson
689908c568
Make PLayerTransaction's constructor async. (bug 1350634, ipc_r=billm, r=mattwoodrow,kats)
...
PLayerTransaction's constructor was previously synchronous so we could
return a TextureFactoryIdentifier. This is quite reliably available
already in the case of opening a tab, due to RenderFrameParent knowing
which compositor it is attached to, so we can make the constructor
asynchronous.
In the top-level widget case, we add a new synchronous message to find
the TextureFactoryIdentifier.
--HG--
extra : rebase_source : 4b29b859aa5745fabe3db0fe68742328fc0af175
2017-04-26 10:32:57 -07:00
Wes Kocher
9528ad9a03
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: DaH1djmEY5A
2017-04-27 13:29:07 -07:00
Wes Kocher
be34ade6b6
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 2pgVZdnDKno
2017-04-27 12:44:03 -07:00
Jonathan Watt
4a322bd7c5
Bug 1360350 - Prevent crashes when nsPrintEngine::DoCommonPrint fails between when it sets mPrt and when it calls InitPrintDocConstruction. r=bobowen
...
MozReview-Commit-ID: Lf1R9p59DOz
2017-04-20 16:00:33 +01:00
Carsten "Tomcat" Book
b302544548
Backed out changeset 50273abf9e11 (bug 1362120) for causing various reftest and browser chrome failures in different tests
2017-05-08 10:49:28 +02:00
Kartikaya Gupta
89124fd8af
Bug 1357754 - Trigger the APZ hit-testing tree rebuild. r=jrmuizel
...
This is the code that takes the incoming WebRender transaction and tells
APZ to rebuild the hit-testing tree from it.
MozReview-Commit-ID: DTuRmp5QZpg
2017-04-20 10:38:06 -04:00
Kartikaya Gupta
6118b38f49
Bug 1357754 - Record the isFirstPaint flag in the WebRenderScrollData. r=jrmuizel
...
MozReview-Commit-ID: KKiRBLRTfEj
2017-04-20 10:38:06 -04:00
Kartikaya Gupta
194523e5d1
Bug 1357754 - Hook up chaining layer trees. r=botond,jrmuizel
...
When APZ traverses a tree using LayerMetricsWrapper, the layer tree
already has its RefLayers connected because of the in-scope
AutoResolveRefLayers. When traversing using the
WebRenderScrollDataWrapper though, this is not the case, and we need to
explicitly jump from one layer tree to another during the walk.
Thankfully we don't require upwards traversal in the tree or this would
be much more complicated.
MozReview-Commit-ID: 8gbvUlzghLx
2017-04-20 10:38:06 -04:00
Kartikaya Gupta
7e8f4eeba8
Bug 1357754 - Add more data to the WebRenderScrollData object. r=botond,jrmuizel
...
This puts all the other things that APZ needs into the
WebRenderScrollData object. The main exception is the scroll clip - I'm
not totally sure how that will be handled yet, so for now we just return
no clip from WebRenderScrollDataWrapper.
MozReview-Commit-ID: 1IhGhSFiPYi
2017-04-20 10:38:05 -04:00
Kartikaya Gupta
1459e240f4
Bug 1357754 - Add ScrollDirection IPC serialization code. r=botond
...
In the next patch we'll need to send ScrollDirection over IPDL so we
need to add serialization code for it.
MozReview-Commit-ID: HK8ibuhhnkS
2017-04-20 10:38:05 -04:00
Kartikaya Gupta
c8318bae76
Bug 1357754 - Implement the traversal functions of WebRenderScrollDataWrapper. r=botond
...
This mainly implements the GetLastChild and GetPreviousSibling functions
in the WebRenderScrollDataWrapper, and adds helper functions that are
needed to make that possible. This allows the WebRenderScrollDataWrapper
to simulate a full "LayerMetrics" tree using the information in the
underlying WebRenderScrollData object.
MozReview-Commit-ID: K82Ud2gAo8K
2017-04-20 10:38:05 -04:00
Kartikaya Gupta
d7dac71f73
Bug 1357754 - Add WebRenderScrollDataWrapper. r=botond
...
This adds the WebRenderScrollDataWrapper class which is
template-compatible with LayerMetricsWrapper. While the
LayerMetricsWrapper operates on an underlying layer tree, the
WebRenderScrollDataWrapper will simulate a layer tree based on an
underlying WebRenderScrollData object. The class is stubbed out here,
functions will be implemented in subsequent patches.
MozReview-Commit-ID: 9exnFRI6tOW
2017-04-20 10:38:05 -04:00
Kartikaya Gupta
f566883468
Bug 1357754 - Replace LayerMetricsWrapper::AsRefLayer with GetReferentId. r=botond
...
This further abstracts away the direct dependence on particular layer
types. This is needed in particular for the APZCTreeManager call site
since it will need to operate on non-layer-tree data which is hard if it
relies specifically on RefLayer.
MozReview-Commit-ID: zbK3oTNHJc
2017-04-20 10:38:05 -04:00
Kartikaya Gupta
e1121dae1a
Bug 1357754 - Extract a template function from UpdateHitTestingTree. r=botond
...
Currently the public UpdateHitTestingTree function takes a Layer* which
assumes there is a layer tree to traverse. However, with WebRender, that
is not the case. This patch has two conceptual changes.
The first change is to extract the innards of UpdateHitTestingTree to take
a LayerMetricsWrapper instead of a Layer* and traverse the layer tree
using that. This was already mostly happening but this makes the
Layer*/LayerMetricsWrapper boundary a little more explicit.
The second change is to make the extracted helper function templated, so
it accepts anything that is template-compatible with
LayerMetricsWrapper. I chose to use a template rather inheritance to
avoid the performance hit of virtual functions, since this code runs
relatively often.
This paves the way for adding a different kind of tree-traversal object
instead of the LayerMetricsWrapper while reusing the same logic to build
the hit-testing tree and APZC nodes.
MozReview-Commit-ID: 6SmnX6Bn2QV
2017-04-20 10:38:04 -04:00
Kartikaya Gupta
070cc4b9a7
Bug 1357754 - Add a mechanism to send scroll data to APZ over PWebRenderBridge. r=jrmuizel
...
This adds a WebRenderScrollData class (which contains a list of
WebRenderLayerScrollData objects, among other things), and adds it to
the DPEnd/DPSyncEnd messages sent across PWebRenderBridge. These classes are
skeletons for now (more stuff will be added to them in future patches).
MozReview-Commit-ID: 9duxwlUpdu7
2017-04-20 10:38:04 -04:00
Kartikaya Gupta
47ca6562cc
Merge m-c to graphics
...
MozReview-Commit-ID: 3l2zmVoMgdl
2017-04-20 08:47:24 -04:00
Jonathan Watt
86c8894e98
Bug 1362120 - Always enable SVG-in-OpenType in the parent process. r=heycam
2017-04-20 10:35:08 +01:00
Ehsan Akhgari
8069f421a8
Backout bug 1362120 because of build failures
2017-05-07 21:05:20 -04:00
Jonathan Watt
1e3498af1e
Bug 1362120 - Always enable SVG-in-OpenType in the parent process. r=heycam
...
MozReview-Commit-ID: HhJpF6DXdPm
2017-04-20 10:35:08 +01:00
Carsten "Tomcat" Book
7aa21f3b53
merge mozilla-inbound to mozilla-central a=merge
2017-04-20 11:13:07 +02:00
Iris Hsiao
3b17383f8d
Merge mozilla-central to autoland
2017-04-25 11:28:40 +08:00
Randall Barker
f7f7890643
Bug 1358763 - Prevent Android Dynamic Toolbar v3 from trying to send IPC message after shutdown r=kats
...
MozReview-Commit-ID: LKVZNJy32ot
2017-04-24 13:22:33 -07:00
David Parks
532fe74f04
Bug 1347710 - Enable sandbox protections for the Windows GPU process. r=bobowen
...
The sandbox works with levels. The GPU sandbox level defaults to 1 in all builds. It is controlled by security.sandbox.gpu.level.
2017-04-24 09:46:09 -07:00
sotaro
e39bdc681a
Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical
2017-04-20 10:24:13 +09:00
Wes Kocher
4a05296446
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Ben Kelly
89c15f7851
Bug 1358622 Fix unified build bustage in PUiCompositorController.ipdl. r=kats
2017-04-21 19:15:54 -04:00
Mason Chang
58121220e3
Bug 1337761 - Part 2: Don't send external images to the parent side if a transaction is incomplete. r=nical
2017-04-19 15:39:46 -07:00
Mason Chang
ad19a1640c
Bug 1337761 - Implement WebRenderLayerManager::EndEmptyTransaction. r=mattwoodrow
2017-04-19 15:39:44 -07:00
Kearwood Gilbert
eba3a06d5f
Bug 1356382 - Move jsoncpp library and ensure it is included even when crashreporter is not r=ted
...
MozReview-Commit-ID: 2g9sFP6QQCU
--HG--
rename : toolkit/crashreporter/jsoncpp/AUTHORS => toolkit/components/jsoncpp/AUTHORS
rename : toolkit/crashreporter/jsoncpp/GIT-INFO => toolkit/components/jsoncpp/GIT-INFO
rename : toolkit/crashreporter/jsoncpp/LICENSE => toolkit/components/jsoncpp/LICENSE
rename : toolkit/crashreporter/jsoncpp/NEWS.txt => toolkit/components/jsoncpp/NEWS.txt
rename : toolkit/crashreporter/jsoncpp/README.md => toolkit/components/jsoncpp/README.md
rename : toolkit/crashreporter/jsoncpp/include/json/allocator.h => toolkit/components/jsoncpp/include/json/allocator.h
rename : toolkit/crashreporter/jsoncpp/include/json/assertions.h => toolkit/components/jsoncpp/include/json/assertions.h
rename : toolkit/crashreporter/jsoncpp/include/json/autolink.h => toolkit/components/jsoncpp/include/json/autolink.h
rename : toolkit/crashreporter/jsoncpp/include/json/config.h => toolkit/components/jsoncpp/include/json/config.h
rename : toolkit/crashreporter/jsoncpp/include/json/features.h => toolkit/components/jsoncpp/include/json/features.h
rename : toolkit/crashreporter/jsoncpp/include/json/forwards.h => toolkit/components/jsoncpp/include/json/forwards.h
rename : toolkit/crashreporter/jsoncpp/include/json/json.h => toolkit/components/jsoncpp/include/json/json.h
rename : toolkit/crashreporter/jsoncpp/include/json/reader.h => toolkit/components/jsoncpp/include/json/reader.h
rename : toolkit/crashreporter/jsoncpp/include/json/value.h => toolkit/components/jsoncpp/include/json/value.h
rename : toolkit/crashreporter/jsoncpp/include/json/version.h => toolkit/components/jsoncpp/include/json/version.h
rename : toolkit/crashreporter/jsoncpp/include/json/writer.h => toolkit/components/jsoncpp/include/json/writer.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_reader.cpp => toolkit/components/jsoncpp/src/lib_json/json_reader.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_tool.h => toolkit/components/jsoncpp/src/lib_json/json_tool.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_value.cpp => toolkit/components/jsoncpp/src/lib_json/json_value.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_valueiterator.inl => toolkit/components/jsoncpp/src/lib_json/json_valueiterator.inl
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_writer.cpp => toolkit/components/jsoncpp/src/lib_json/json_writer.cpp
extra : rebase_source : 6996fe5fd4a8e704a138b568d636c1d5238f15b2
2017-04-19 14:41:03 -07:00
Randall Barker
a398863b74
Bug 1358781 - Android Dynamic Toolbar v3 keep the controller toolbar height in sync with the compositor toolbar height while animating r=kats
...
Android Dynamic Toolbar v3 toolbar height between controller
and compostior threads would get out sync during animation. Added code
to insure they stay in sync while the compositor thread is updating the
toolbar height during an animation. Also, when the controller thread was
canceling an animation, the compositor thread was not checking that it
was still animating before unlocking the toolbar.
MozReview-Commit-ID: 1TSfaRD0lMj
2017-04-24 08:38:52 -07:00
Jeff Gilbert
408eae60b9
Bug 1356540 - Remove unused TextureGarbageBin. - r=daoshengmu
...
MozReview-Commit-ID: 3EON2kNdEBh
2017-04-19 17:03:03 -07:00
Kartikaya Gupta
1be864c6ad
Merge m-c to graphics
...
MozReview-Commit-ID: 8Oqr9Nbqsn0
2017-04-19 07:02:32 -04:00
Kartikaya Gupta
e61c3ec040
Bug 1357541 - Use the full 64 bit value of the PipelineId when converting to a layers ID. r=nical
...
MozReview-Commit-ID: 98OOkEML6RF
2017-04-19 06:58:10 -04:00
sotaro
d85c0f08e4
Bug 1357644 - Use wr::ExternalImageId instead of uint64_t for external image id r=nical
2017-04-19 18:59:53 +09:00
Sebastian Hengst
6e1c138a06
Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
...
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02:00
Carsten "Tomcat" Book
44e9c21039
merge mozilla-inbound to mozilla-central a=merge
2017-04-19 10:32:48 +02:00
sotaro
cc9be9916a
Bug 1355702 - Reduce WrImageKey allocation for ExternalImages on sync ImageContainer
2017-04-19 11:08:35 +09:00
sotaro
68286e79c7
Bug 1357338 - Deallocate external image id in WebRenderDisplayItemLayer r=nical
2017-04-19 09:28:43 +09:00
Jeff Muizelaar
0c7e38296d
Bug 1357549
. Fix accidentally committed bustage.
...
CLOSED TREE
2017-04-18 17:18:15 -04:00
Jeff Muizelaar
16c9099e7d
Bug 1357549
. Remove unused includes. r=kats
...
There are left over from when we built display lists on the parent side.
2017-04-18 17:03:39 -04:00
Ryan Hunt
6eca7a5745
Bug 1357543 - Add rustfmt.toml and run rustfmt on webrender_bindings r=kats
...
The new rustfmt.toml is based off servo/rustfmt.toml with some
tweaks to match the existing code in webrender_bindings
MozReview-Commit-ID: 7LbXC6qyjan
--HG--
extra : amend_source : 436e49dbd3d3fd72aab0f1791cf6e0d3fcc348b4
2017-04-18 16:20:53 -04:00
Sebastian Hengst
b17e2f1d52
merge mozilla-central to autoland. r=merge a=backout
2017-04-21 18:41:49 +02:00
Ryan Hunt
2d446d69ea
Bug 1357335 - Use Into<T> for webrender bindings conversions r=kats
...
Types also implement Copy, Clone now to make this easier.
MozReview-Commit-ID: GEVsCEw2o6K
--HG--
extra : rebase_source : b42ddaab3b7ab0a31006e78aff45ddb6e4160845
extra : amend_source : 82a7e1d272b397c8ab1d0346fd5a708117b897a3
2017-04-18 04:18:35 -04:00
Kartikaya Gupta
76ded9a0bf
Bug 1355475 - Update webrender to 07b6c6a1f93b5d8af1dd9ae825906dcf5c310810. r=jrmuizel
...
This also includes changes to webrender_bindings:
- push_scroll_layer was renamed to push_clip_node in eb4a04b
- Update call to push_text for API change in f040e81.
MozReview-Commit-ID: ILHylvSkco2
2017-04-18 11:18:02 -04:00
Kartikaya Gupta
474874a3d1
Bug 1357065 - Update WebRenderDisplayItemLayer to use PushClip instead of PushScrollLayer because it's pushing a non-scrolling clip. r=jrmuizel
...
MozReview-Commit-ID: DdmCTsh9Jtq
2017-04-18 11:09:50 -04:00
Kartikaya Gupta
e972cba381
Bug 1357065 - Add a PushClip/PopClip API to WebRenderAPI to more easily distinguish between scrolling clips and non-scrolling clips. r=jrmuizel
...
Note that in upstream WR the push_scroll_layer API has already been
renamed to push_clip_node, so conceptually the same API covers both
"scrolling clips" (aka scroll layers) and non-scrolling clips. So using
the same underlying API for two different WebRenderAPI.h functions makes
sense.
MozReview-Commit-ID: He7jBVqZuLn
2017-04-18 11:09:39 -04:00
Kartikaya Gupta
8a3a856227
Bug 1357065 - Rename the parameters to PushScrollLayer to be more correct. r=jrmuizel
...
This changes the parameters to be in line with the clipping documentation.
MozReview-Commit-ID: Fg3iviLTL0g
2017-04-18 11:09:29 -04:00
Bas Schouten
76892628f3
Bug 1348320: Use UpdateSubResource on crashy intel device/OS version combinations. r=jrmuizel
...
MozReview-Commit-ID: EdDn4qy1ajP
--HG--
extra : rebase_source : fadec88a9586bc40e44d2f91aae5c9c5f8f59a5c
2017-05-01 01:11:24 +00:00
Lee Salzman
7afaed3c92
Bug 1360862 - use FC_OUTLINE instead of FC_SCALABLE with Fontconfig to check if a font is scalable. r=jfkthame
...
MozReview-Commit-ID: 1omWCJz5IK6
2017-05-03 20:45:39 -04:00
peter chang
4cf27c49b8
Bug 1345017 - Disable OMTA with webrender by default, r=kats
...
MozReview-Commit-ID: 4cA8n8XYall
2017-04-17 22:22:47 +08:00
Sebastian Hengst
ceff3b0678
Backed out changeset 1f9d0f8e65b9 (bug 1351548)
2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94
Backed out changeset aebb0ceeb20a (bug 1351548)
2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a
Bug 1351548 - Remove reftest-stylo.lists. r=bholley
...
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5
Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
...
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Carsten "Tomcat" Book
68e9a2dfd5
Merge mozilla-central to mozilla-inbound
2017-04-26 09:04:59 +02:00
Carsten "Tomcat" Book
8f4e4ca99b
merge mozilla-inbound to mozilla-central a=merge
2017-04-26 08:41:31 +02:00
Carsten "Tomcat" Book
d9cce3c040
merge autoland to mozilla-central a=merge
2017-04-26 08:40:02 +02:00
Nicholas Nethercote
bc1d6a21a2
Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto.
...
TimeStamp::ProcessCreations()'s aIsInconsistent outparam is ignored by the
majority of its caller. This patch makes it optional. Notably, this makes
ProcessCreation() easier to use in a constructor's initializer list.
2017-04-26 14:55:54 +10:00
Phil Ringnalda
7e834ae6b6
Backed out 2 changesets (bug 1355648) for failures in test_gamepad_extensions.html
...
CLOSED TREE
Backed out changeset 1a675abcc1f0 (bug 1355648)
Backed out changeset f07c7d6ddb8d (bug 1355648)
MozReview-Commit-ID: 86HfzOsNVjZ
2017-04-25 20:31:16 -07:00
Randall Barker
c82d528d56
Bug 1358805 - part 5: Update the dynamic toolbar animator to gracefully handle toolbar snapshot generation failure r=kats
...
MozReview-Commit-ID: B3t6l5ZqhC5
2017-04-25 15:14:00 -07:00
Randall Barker
7752cdc25d
Bug 1358805 - part 2: Allow DynamicToolbarAnimator to query if the UiCompositorController is open in the case it missed the open message r=kats
...
MozReview-Commit-ID: 8wdMpQh44Zc
2017-04-25 15:13:58 -07:00
Randall Barker
fc2f1cfb8d
Bug 1358805 - part 1: Add new UiCompositorController message types TOOLBAR_SNAPSHOT_FAILED and IS_COMPOSITOR_CONTROLLER_OPEN r=kats
...
MozReview-Commit-ID: Ezd8Ng7Zsxm
2017-04-25 15:13:58 -07:00
peter chang
59102e0ad9
Bug 1345017 - Discard compositor animations on the next layer transaction, r=kats
...
Animations in content side could be removed easily by changing CSS, but the
CompositorAnimationStorage in parent side doesn't get updated. Therefore,
we store the layer's CompositorAnimationsId before layer is destroyed in
WebRenderLayerManager and then send out these discarded ids to parent on
the next layer transaction.
MozReview-Commit-ID: D4kbYsgLl4P
2017-04-14 11:58:42 +08:00
Kartikaya Gupta
aaee175243
Bug 1360613 - Don't call BorrowDrawTarget on a null texture. r=ethlin
...
MozReview-Commit-ID: EtBMTwA5mcB
--HG--
extra : rebase_source : 87de2f03dba406974fc8c9037e1ddf7af0e25e49
2017-05-02 22:22:47 -04:00
Sebastian Hengst
0d8a182804
Backed out changeset 25f2e9e2068d (bug 1343754) for crashing e.g. in dom/workers/test/serviceworkers/test_fetch_integrity.html. r=backout
2017-05-03 12:59:36 +02:00
Sebastian Hengst
bc111f528d
Backed out changeset a5037670cb10 (bug 1343754)
2017-05-03 12:58:29 +02:00
peter chang
e238a80556
Bug 1345017 - Add animation sampling for WR, r=kats
...
MozReview-Commit-ID: AR2vajUf2o0
2017-04-12 16:40:48 +08:00
Carsten "Tomcat" Book
e1e203f1f5
Merge mozilla-central to autoland
2017-04-27 16:36:41 +02:00
Jonathan Kew
7efc47d89a
Bug 1361392 - Re-use the hb_buffer in gfxHarfBuzzShaper instead of creating/destroying it on each call to ShapeText. r=jrmuizel
2017-05-02 16:41:42 +01:00
Wes Kocher
52209697e6
Backed out changeset eee394a4575b (bug 1361392) for leaksanitizer failures in pretty much all ASAN mochitests a=backout
...
MozReview-Commit-ID: 7ap4ag3i0IE
2017-05-05 15:58:49 -07:00
Jonathan Kew
e83f392e61
Bug 1361392 - Re-use the hb_buffer in gfxHarfBuzzShaper instead of creating/destroying it on each call to ShapeText. r=jrmuizel
2017-05-05 22:04:48 +01:00
Lee Salzman
67d5414f9c
Bug 1360862 - allow bitmap fonts to force scaling and bypass tolerance check in gfxFcPlatformFontList. r=jfkthame
...
MozReview-Commit-ID: Ly5ori9HKqc
2017-05-05 15:46:10 -04:00
David Anderson
af30648746
Make PLayerTransaction's constructor async. (bug 1350634, ipc_r=billm, r=mattwoodrow, r=kats)
...
PLayerTransaction's constructor was previously synchronous so we could
return a TextureFactoryIdentifier. This is quite reliably available
already in the case of opening a tab, due to RenderFrameParent knowing
which compositor it is attached to, so we can make the constructor
asynchronous.
In the top-level widget case, we add a new synchronous message to find
the TextureFactoryIdentifier.
2017-05-05 10:53:17 -07:00
Sebastian Hengst
6ff84ee171
Backed out changeset b50714bd8d10 (bug 1322650) for failing chrome's test_video_discovery.html and mda's test_Eviction_mp4.html, both on Android. r=backout
2017-05-05 18:55:11 +02:00
Sebastian Hengst
087bd41f0f
Backed out changeset 9badb2705567 (bug 1322650)
2017-05-05 18:54:09 +02:00
Sebastian Hengst
8f099b6d5e
Backed out changeset 3644926d994a (bug 1322650)
2017-05-05 18:54:04 +02:00
Sebastian Hengst
e3ef2e2a78
Backed out changeset b12a741ef025 (bug 1322650)
2017-05-05 18:53:59 +02:00
Sebastian Hengst
8eeeb93b94
Backed out changeset 0c01bf8a1bd9 (bug 1322650)
2017-05-05 18:53:45 +02:00
Sebastian Hengst
f3bfd1e1da
Backed out changeset d6516a10c808 (bug 1322650)
2017-05-05 18:53:40 +02:00
James Willcox
9392b1227a
Bug 1322650 - Adjust Android Flash support to API changes r=jchen
...
MozReview-Commit-ID: CmMINaGcTER
2017-05-05 08:56:36 -05:00
James Willcox
f8f0fe9303
Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
...
This is needed to support Flash on Android
MozReview-Commit-ID: 5yNIoZHonla
2017-05-05 08:56:35 -05:00
James Willcox
83de9ddd9d
Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen
2017-05-05 08:56:31 -05:00
James Willcox
2e6e69148c
Bug 1322650 - Disable blitting from a SurfaceTexture r=jgilbert
...
This has been broken for a while anyway, because we
disabled SurfaceTexture detachment in most cases.
MozReview-Commit-ID: 6ysRGDNCQa0
2017-05-05 08:56:30 -05:00
James Willcox
a7f7a7b630
Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
...
The main advantage here is that it works cross-process.
MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-05 08:56:28 -05:00
James Willcox
6b95623eac
Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
...
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.
Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.
MozReview-Commit-ID: 68VSbXdfsMH
2017-05-05 08:56:27 -05:00
Carsten "Tomcat" Book
170faef00b
Merge mozilla-central to mozilla-inbound
2017-05-05 15:25:16 +02:00
Carsten "Tomcat" Book
fdc689ba16
merge mozilla-inbound to mozilla-central a=merge
2017-05-05 15:17:26 +02:00
Nicholas Nethercote
ea25e62e3c
Bug 1360471 (part 4) - Use a bitfield to represent profiler features. r=mstange.
...
Currently the profiler mostly uses an array of strings to represent which
features are available and in use. This patch changes the profiler core to use
a uint32_t bitfield, which is a much simpler and faster representation.
(nsProfiler and the profiler add-on still use the array of strings, alas.) The
new ProfilerFeature type defines the values in the bitfield.
One side-effect of this change is that profiler_feature_active() now can be
used to query all features. Previously it was just a subset.
Another side-effect is that profiler_get_available_features() no longer incorrectly
indicates support for Java and stack-walking when they aren't supported. (The
handling of task tracer support is unchanged, because the old code handled it
correctly.)
2017-05-01 14:23:34 +10:00
Nicholas Nethercote
cc78872f8c
Bug 1360471 (part 3) - Rename various "thread name filters" identifiers as "filters". r=mstange.
...
The new names are more concise and matches common usage elsewhere (e.g.
profiler_start() arguments).
This patch is similar to bug 1358074 part 5.
2017-05-01 13:42:53 +10:00
David Anderson
9332f7b6ca
Don't synchronously composite when resizing widgets on Windows. (bug 1361257, r=bas)
2017-05-05 01:10:48 -07:00
David Anderson
30e1319799
Wait for CreateCompositorDevices to finish before creating DeviceAttachmentsD3D11. (bug 1362145, r=bas)
2017-05-05 01:04:19 -07:00
Daosheng Mu
ebac06bc22
Bug 1356421 - Part 2: Notify GamepadManager when controllers are removed in VR manager; r=kip
...
MozReview-Commit-ID: Hje9NTF4xxz
--HG--
extra : rebase_source : 677995c6d5407202d493fa78528d397b404353c1
2017-04-24 13:42:59 +08:00
Daosheng Mu
86f4cbf921
Bug 1356421 - Part 1: Fix for making OpenVR get correct device types for Gamepad id; r=kip
...
MozReview-Commit-ID: KI25bjqKTTL
--HG--
extra : rebase_source : 6d20651b1e94ab1f69959d22fc03c18c9d756e84
2017-04-24 13:40:30 +08:00
Daosheng Mu
ed7c303369
Bug 1358725 - Return zero after OpenVR controllers' axis is released; r=kip
...
MozReview-Commit-ID: Le4en6pUUTQ
--HG--
extra : rebase_source : 2e3a571b88b7127f684b79001336e0b897fa2a21
2017-04-24 18:52:06 +08:00
Daosheng Mu
5d5fc39364
Bug 1355648 - Part 1: Check VR controllers if losing tracking; r=kip
...
MozReview-Commit-ID: B8DaBmz1mJo
--HG--
extra : rebase_source : e0d416075a2b045d96335f9c271c014bd463e552
2017-04-21 18:14:42 +08:00
Jonathan Kew
4c35432a3a
Bug 1360309 - Work around some broken Apple fonts. r=jrmuizel
2017-05-03 09:03:18 +01:00
Jonathan Watt
d8c9421010
Bug 1359155, part 4 - Remove gfxASurface::FormatStrideForWidth. r=mstange
...
MozReview-Commit-ID: KmFvlWgmq8f
2017-03-30 15:58:31 +01:00
Jonathan Watt
cb165b4a0a
Bug 1359155, part 3 - Convert BasicPlanarYCbCrImage::CopyData to use Moz2D's StrideForFormatAndWidth. r=mstange
...
MozReview-Commit-ID: F8EyjjQ0sX9
2017-03-30 15:58:31 +01:00
Jonathan Watt
bbf54e88ce
Bug 1359155, part 1 - Implement a StrideForFormatAndWidth Moz2D helper. r=mstange
...
MozReview-Commit-ID: 95Bv3tr5W6C
2017-03-30 13:50:23 +01:00
peter chang
b9d10e90b5
Bug 1345017 - Update WebRenderAPIs to enable OMTA, r=kats
...
MozReview-Commit-ID: L8HSxvzoEJZ
2017-03-29 17:23:08 +08:00
peter chang
2fdfc8c722
Bug 1345017 - pass animation data from content to WebRenderBridgeParent, r=kats
...
MozReview-Commit-ID: 7p5ocyr1ywV
2017-03-28 17:11:03 +08:00
Kartikaya Gupta
9945c16d87
Merge m-c to graphics
...
MozReview-Commit-ID: 9Ne0XZtlRh5
2017-04-18 08:36:05 -04:00
Ethan Lin
0e0ea44db7
Bug 1349500 - Add webrender support for BulletFrame path type. r=mchang
2017-04-18 14:26:41 +08:00
Kartikaya Gupta
d4267ba58d
Bug 1357189 - Some reftests marked as fails-if(webrender) are actually passing with the pre-existing fuzziness annotations. So mark them passing. r=rhunt
...
MozReview-Commit-ID: E90tLLDIt3j
2017-04-17 19:36:57 -04:00
Kartikaya Gupta
4087e4ae28
Merge m-c to graphics
...
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
sotaro
444f539c4b
Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry
2017-04-17 22:08:43 +09:00
Kartikaya Gupta
1e8738cabb
Merge m-c to graphics
...
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Hiroyuki Ikezoe
0da40fea4c
Bug 1324700 - Update assertion counts which had been caused by font handling in canvas element. r=heycam
...
MozReview-Commit-ID: KPhujlE54vL
--HG--
extra : rebase_source : dff960a2b7c6c010cdbd7a1bb913a3d8eceaeecf
2017-04-15 07:37:35 +09:00
Ryan Hunt
444067a435
Bug 1356371 - Use cbindgen for WebRender bindings generation r=kats
...
This commit adds some directives to help cbindgen generate correct
structs and functions, removes some old FFI code that isn't needed
anymore, and regenerates webrender_ffi_generated.h
MozReview-Commit-ID: KZSEZEN671A
--HG--
extra : rebase_source : 23a07dd11037943156983d9facc039bb7af51c95
2017-04-13 15:45:51 -04:00
Ryan Hunt
422ca37abb
Bug 1356371 - Create a WrExternalImageId because ExternalImageId is not repr(C) r=kats
...
This is only temporary as ExternalImageId has been made repr(C) upstream.
MozReview-Commit-ID: 1On7fRbNI4o
--HG--
extra : rebase_source : 91cb93829de5ccf0a6f0a05ed0d2169268b6c18c
2017-04-13 15:31:09 -04:00
Ryan Hunt
d2799c4902
Bug 1356371 - Create a WrRenderedEpochs struct r=kats
...
This helps cbindgen know to generate a opaque struct for WrRenderedEpochs.
MozReview-Commit-ID: 7moOEBjjbOO
--HG--
extra : rebase_source : 49b3887ae21f659ac353b861f3566cc2817103b0
2017-04-13 15:03:44 -04:00
sotaro
43525e6cb0
Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel
2017-04-14 17:06:09 +09:00
Kartikaya Gupta
a31c603d6e
Bug 1355679 - Handle GPU resets more gracefully. r=sotaro
...
MozReview-Commit-ID: Jwet83crhPW
2017-04-14 00:03:26 -04:00
sotaro
a824933324
Bug 1356130 - Change SendImageContainer() as to return Maybe<wr::ImageKey> r=jrmuizel
2017-04-14 09:13:12 +09:00
Ryan Hunt
070551c13f
Bug 1352657 - Add a comment about webrender binary recording r=jrmuizel
2017-04-13 14:32:04 -04:00
Ryan Hunt
6aa2c5a2aa
Bug 1356057 - Add a WrGlyphInstance struct r=kats
...
MozReview-Commit-ID: ApIOZyS4VV7
--HG--
extra : rebase_source : cffc119aee9ddf030bc99317667805278295a5ac
extra : histedit_source : 29ce59257222377ffbadf0987ebbe85f1d736a8e
2017-04-12 23:28:40 -04:00
Ryan Hunt
98343720ca
Bug 1356057 - Make bindings.rs euclid conversions generic r=kats
...
MozReview-Commit-ID: 5FLg5UD6IlN
--HG--
extra : rebase_source : d071ed1aaf7bc3a1c40c90c454296b3799e6ad88
extra : histedit_source : ae48b57065eef16dad172cc33fbf2c43026f2dfc
2017-04-12 23:41:02 -04:00
Kartikaya Gupta
b4341d2689
Merge m-c to graphics
...
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -04:00
sotaro
79b1971bae
Bug 1356088 - Fix ImageKey removals of ExternalImages r=jrmuizel
2017-04-13 20:53:21 +09:00
Ethan Lin
ea26418751
Bug 1355012 - Add mask layer support for WebRenderDisplayItemLayer. r=kats
2017-04-13 15:13:51 +08:00
Wes Kocher
25d50f2c30
Merge inbound to central, a=merge
2017-04-12 14:39:09 -07:00
Jeff Muizelaar
93b3636151
Bug 1345142. Move Image discard back to child. r=nical
...
This gets rid of the implicit discard that happens on the parent side
when using external images.
2017-04-12 15:26:23 -04:00
vincentliu
a51b34a54e
Bug 1350330 - Make sure IPC channel still Open before sending IPC message. r=dvander
2017-04-17 15:50:42 +08:00
vincentliu
3b05828b37
Bug 1350677
- Add Labeling for gfxFontCache. r=jfkthame
...
From cef7c4838ae3efa519e4d20953cac7dbe40d1aca Mon Sep 17 00:00:00 2001
2017-04-13 09:59:05 +08:00
Wes Kocher
1196244596
Backed out 3 changesets (bug 1353000) for devtools failures a=backout CLOSED TREE
...
Backed out changeset 7ef3333cedf5 (bug 1353000)
Backed out changeset bd127ce305c7 (bug 1353000)
Backed out changeset 10e777bb90dc (bug 1353000)
--HG--
extra : amend_source : 8db7e67b22347962be0fdb055df1bb2c1853ab67
2017-04-12 10:59:12 -07:00
Jonathan Kew
c336bff796
Bug 1353000 - Respect the round-to-pixels flags when caching shaped-word data. r=jrmuizel
2017-04-12 14:55:13 +01:00
Ryan Hunt
bfa4ee5cb2
Bug 1355570 - Update bindings and WebRender display list building for gradient tiling r=jrmuizel
...
MozReview-Commit-ID: KwhCBc8XxCN
--HG--
extra : rebase_source : a5608b3388528ae1bd39be5f2fd9b2094193d46c
extra : source : c244293944bc163a742ef1b6f4225a751db5f796
extra : histedit_source : 860c2dc0fd3f8a5f35aea9b1ca15218d64208b65%2C803c9c5d3e85ee73fda2e3ccf504426b4798aecb
2017-04-12 14:20:52 -05:00