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
Kartikaya Gupta
94b7025994
Bug 1355791 - Instead of pushing a scroll layer, put the clip mask into the existing item clip. r=jrmuizel
...
MozReview-Commit-ID: jdKEkamSs4
2017-04-12 11:08:39 -04:00
Kartikaya Gupta
2807504086
Merge m-c to graphics
...
MozReview-Commit-ID: 3cMszvTBvR8
2017-04-12 08:54:40 -04:00
Ethan Lin
44273be6f1
Bug 1355417 - Enable "layers.advanced.button-foreground-layers" by default. r=mchang
2017-04-12 16:47:21 +08:00
sotaro
f06d05ed4a
Bug 1355678 - Remove unused code from WebRenderImageLayer::RenderMaskLayer() r=ethlin
2017-04-12 16:51:13 +09:00
Iris Hsiao
944f87c575
merge mozilla-inbound to mozilla-central a=merge
2017-04-12 11:16:46 +08:00
Kartikaya Gupta
4ae17c3c9c
Bug 1354944 - Plug in the generated FFI header. r=jrmuizel
...
MozReview-Commit-ID: E6qlCffKH1s
2017-04-11 22:17:18 -04:00
Kartikaya Gupta
851b246da0
Bug 1354950 - Add a destructor_safe doc attribute as a hint to the binding generator. r=rhunt
...
MozReview-Commit-ID: 3N1JsRsB01g
2017-04-11 22:17:10 -04:00
Kartikaya Gupta
8318f4c805
Bug 1355590 - Fix WrClipRegion/WrRect mismatch in a couple of Rust FFI functions. r=mtseng
...
MozReview-Commit-ID: 4gUyk4cRTAo
2017-04-11 22:17:02 -04:00
sotaro
a065863ed2
Bug 1355401 - Bind only WebRenderImageHost to ExternalImageId r=jerry
2017-04-12 10:42:33 +09:00
Kartikaya Gupta
23053869fc
Bug 1355615 - Update wr_api_finalize_builder to take pointers on the C++ side to match the Rust side. r=jrmuizel
...
MozReview-Commit-ID: IskZgT17n42
2017-04-11 18:03:59 -04:00
Kartikaya Gupta
ee6ed70bc5
Bug 1355614 - Update wr_dp_push_text to take an immutable pointer to match the C++ side. r=jrmuizel
...
MozReview-Commit-ID: GjHo8RBt3wX
2017-04-11 18:01:04 -04:00
Kartikaya Gupta
db665d693b
Bug 1355612 - Make WrGlyphInstance hold a Point2D instead of raw x/y to match the Rust side. r=jrmuizel
...
MozReview-Commit-ID: 7OtctQ4gWyv
2017-04-11 18:00:50 -04:00
Kartikaya Gupta
8050498fed
Bug 1355602 - Decouple pushing scroll layers from pushing stacking contexts. r=jrmuizel
...
This removes the call to push_scroll_layer in wr_push_stacking_context, so that
it's now possible to push a stacking context without necessarily pushing a
scroll layer. There is already a separate function to push a scroll layer so the
call sites can do that. This patch just changes all the call sites that were
pushing a stacking context to also push a scroll layer, so there should be no
functional change. Future patches can remove the spurious scroll layers.
MozReview-Commit-ID: FtCkc9JQd8l
2017-04-11 17:04:59 -04:00
Kartikaya Gupta
728e0fbb28
Bug 1355578 - Update push_scroll_layer's signature on the Rust side to match that on the C++ side. r=jrmuizel
...
MozReview-Commit-ID: 9ouWihnNkbR
2017-04-11 16:13:58 -04:00
Kartikaya Gupta
1880bd37a5
Bug 1355577 - Make the pointer in WrByteSlice const on the C++ side to match the Rust side. r=jrmuizel
...
MozReview-Commit-ID: FWCzZt8RAMj
2017-04-11 16:13:44 -04:00
Kartikaya Gupta
aa20d100c1
Merge m-c to graphics
...
MozReview-Commit-ID: Ij5C7MUete4
2017-04-11 10:09:54 -04:00
Kartikaya Gupta
59dd9e78bc
Bug 1353484 - Update webrender to 3dd68f54e12bd5abf8ef41de4d4ec851620f7e4e. r=jrmuizel,kvark,rhunt
...
This includes:
- updating calls to push_scroll_layer for API change in 7253e2f.
- updating calls to push_stacking_context for API change in be249f6.
- updating for changes to gradient APIs in 05c4293.
2017-04-11 10:00:41 -04:00
Carsten "Tomcat" Book
ee9da45454
merge mozilla-inbound to mozilla-central a=merge
2017-04-11 10:17:24 +02:00
David Anderson
fc959f3460
Add a fixed-width font for the compositor's debug overlay. (bug 1352151 part 9, r=bas)
...
--HG--
extra : rebase_source : dc65a2bfb0bb166b5f116f04e2b5ecc395578ba5
2017-04-10 19:44:47 -07:00
David Anderson
3ffc9da44f
Allow TextRenderer to render multiple fonts. (bug 1352151 part 8, r=bas)
...
--HG--
extra : rebase_source : a3e588eaae57326654b945c2711276b6d71c442e
2017-04-10 19:44:47 -07:00
David Anderson
70f688f03e
Add GPU draw time to the compositor diagnostic overlay. (bug 1352151 part 7, r=bas)
...
--HG--
extra : rebase_source : fce64dde2a8632a374e40a5687852b147ebd8747
2017-04-10 19:44:46 -07:00
David Anderson
ce7cc32129
Improve pixel fill statistics in the D3D11 compositor overlay. (bug 1352151 part 6, r=bas)
...
This introduces two new statistics to the overlay. The first is the ratio of
pixel shader invocations (as determined by the GPU) to the number of pixels we
determined need to be redrawn. The ideal ratio is 1.0, indicating that we
filled every pixel exactly once. Anything over 1.0 indicates overdraw.
We also add the ratio of shaded pixels to window size. This indicates how well
we computed the invalid region, and whether or not we overfilled that
region.
Note that the OpenGL and Basic compositors do not yet query the GPU for
this statistic, so they will estimate shader invocations by the area of
DrawQuad calls.
Finally, we remove the feature where layout can request the most
recent overdraw statistic. It was not implemented on all compositors, and the
only test that used it was disabled.
--HG--
extra : rebase_source : 448a162998921974575a1a988bcfde52c959d3ed
2017-04-10 19:44:46 -07:00
David Anderson
2f41377215
Refactor CompositorD3D11::EndFrame. (bug 1352151 part 5, r=bas)
...
This factors out ID3D11Query handling, and makes EndFrame() shorter by
moving out presentation code.
--HG--
extra : rebase_source : c23547a16f9496caa2b83fca8e41d2b4e14bea3a
2017-04-10 19:44:46 -07:00
David Anderson
ac38010856
Remove the TextureRender dependency on Compositor. (bug 1352151 part 4, r=mattwoodrow)
...
--HG--
extra : rebase_source : 8664ae8130917a6efa972a9ea8fa109330f03217
2017-04-10 19:44:45 -07:00
David Anderson
dd464dcc40
Remove FPSState. (bug 1352151 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 27454cb163e79a26842963d0cf468aec617254d3
2017-04-10 19:44:45 -07:00
David Anderson
432eda07ae
Switch the compositor to a new debug overlay. (bug 1352151 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 61f5ead93af89bf3b878a785b662769b6d9ad9fc
2017-04-10 19:44:45 -07:00
David Anderson
a8433cef6b
Collect diagnostics on paint times for the compositor overlay. (bug 1352151 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : f30dc11079add3f1019777b1c85cc5c5a5f0596b
2017-04-10 19:44:45 -07:00
Sebastian Hengst
9b51c27976
Backed out changeset 8657d0055dab (bug 1351426) for bustage (implicit conversion at BSPTree.h:64). r=backout
2017-04-11 20:03:56 +02:00
Sebastian Hengst
ff0202d231
Backed out changeset 889ccddba31a (bug 1351426)
2017-04-11 20:02:44 +02:00
Sebastian Hengst
67049aa323
Backed out changeset 2c56897d9ed1 (bug 1351426)
2017-04-11 20:02:40 +02:00
Sebastian Hengst
cf82b62831
Backed out changeset 347a0fff68ba (bug 1351426)
2017-04-11 20:02:35 +02:00
Sebastian Hengst
1a9742b9c6
Backed out changeset 00c0bff27644 (bug 1351426)
2017-04-11 20:02:31 +02:00
Markus Stange
59446b4f09
Bug 1321617 - Tell the CrossProcessProfilerController whether a profile is a response to a GatherProfile request or whether it was sent because the process was exiting. r=mconley
...
MozReview-Commit-ID: BLkaeZqtRhv
--HG--
extra : rebase_source : b0271115a66afbf54d98b5bad61165f815f5bd8c
extra : histedit_source : 299cccc9cc8c06de4d61686ff49d2b0e7649da78
2017-04-12 16:44:31 -04:00
Kartikaya Gupta
41e55cb57d
No bug - Remove outdated and incorrect comment. r=me and DONTBUILD
...
MozReview-Commit-ID: Iai8TvtaBUw
2017-04-17 19:41:14 -04:00
Jamie Nicol
2df2e6a3af
Bug 1355045 - Transform bounds before making relative to parent in GetWrRelBounds. r=ethlin
...
MozReview-Commit-ID: 7xLzPM1lmz0
2017-04-07 15:13:50 +01:00
Kartikaya Gupta
de71f88ab4
Bug 1354946 - Add an explicit WrMatrix type for passing 4x4 matrices across the FFI boundary. r=rhunt
...
Right now we just cast from a float* on the C++ side to a LayoutTransform on
the Rust side, except the LayoutTransform isn't a repr(C) storage type, so
there's no guarantee that it will actually have the same layout. Adding an
explicit type and conversion code ensure that we are able to pass the matrix
across the boundary safely.
MozReview-Commit-ID: H3gK3g0K3xz
2017-04-11 08:33:58 -04:00
Kartikaya Gupta
f9160f3d3d
Bug 1355193 - Stop looking for a parent stacking context in the scroll metadata. r=mchang
...
MozReview-Commit-ID: A2VjaUohUxh
2017-04-10 18:49:12 -04:00
Kartikaya Gupta
6f05b1f766
Bug 1355187 - Update some of the ExternalImage data types to be more similar in Rust and C++. r=rhunt
...
The WrExternalImageId is currently a struct wrapping a uint64_t on the C++ side,
which is unnecessary as we can just typedef it directly to a uint64_t. On the
Rust side it's a tuple of (u64).
Also the WrExternalImageIdType enum should be WrExternalImageType for consistency.
MozReview-Commit-ID: DgOf4xfY9h3
2017-04-10 17:38:02 -04:00
Kartikaya Gupta
1358415529
Bug 1355187 - Rename some struct fields so that the Rust/C++ names are the same. r=rhunt
...
The binding generator just takes the Rust field names and uses that in the
generated C++ structs. So installing the autogenerated bindings is easier if
we make sure the names are the same ahead of time.
MozReview-Commit-ID: 6cuzmtI5Qqw
2017-04-10 17:38:02 -04:00
Kartikaya Gupta
2e1233a137
Bug 1355187 - Add type aliases for instantiations of WrSideOffsets. r=rhunt
...
The binding generator needs this in order to deal with the generic-ness of the
WrSideOffsets type.
MozReview-Commit-ID: GetmNIpqf7O
2017-04-10 17:38:01 -04:00
Kartikaya Gupta
61b80a8602
Bug 1355187 - Update Rust FFI function signatures to use types with Wr prefix. r=rhunt
...
This patch:
- adds a type alias for ExternalImageId and updates uses.
- renames WrExternalImageStruct to drop the "Struct" suffix which is redundant
and not present in the corresponding C++ struct.
- updates the delete-font function to use aliases I added previously.
MozReview-Commit-ID: ILsFihkMlIw
2017-04-10 17:38:01 -04:00
Kartikaya Gupta
48eb1475b5
Bug 1355183 - Mark WrExternalImageType as repr(u32) instead of repr(C). r=rhunt
...
On the C++ side the enum extends from uint32_t, like all the other enums across
the WR FFI boundary. So the Rust side they should be repr(u32).
MozReview-Commit-ID: JOf44I154ea
2017-04-10 17:38:01 -04:00
Kartikaya Gupta
8c1aeb1cb3
Bug 1354951 - Add some typedefs in bindings.rs to make the rust function signatures better match the signatures in webrender_ffi.h. r=rhunt
...
MozReview-Commit-ID: 8JZDNMwLDpN
2017-04-10 10:28:45 -04:00
Kartikaya Gupta
18bf4caba2
Merge m-c to graphics
...
MozReview-Commit-ID: ICVAgHmKVL4
2017-04-10 08:47:20 -04:00
Morris Tseng
d4a7aaf673
Bug 1347469 - Add bindings for gradient border. r=kats
...
MozReview-Commit-ID: H6OwWaeBYWY
2017-04-10 17:27:30 +08:00
Ethan Lin
51845cfe25
Bug 1354464 - Fix the size of webrender mask layer. r=mchang
2017-04-10 17:10:37 +08:00
sotaro
292e80ffe3
Bug 1354474 - Add FlushRendering() and Composite() support to WebRenderLayerManager r=mattwoodrow
2017-04-10 15:58:29 +09:00
Kartikaya Gupta
2c2b0401e3
Merge m-c to graphics
...
MozReview-Commit-ID: AYIBc0tfd74
2017-04-07 10:11:08 -04:00
Ethan Lin
0834f181db
Bug 1351242 - Add webrender support for nsDisplayBackgroundImage image type. r=mchang
2017-04-07 14:53:16 +08:00
sotaro
56bf559123
Bug 1354085 - Fix WebRenderLayerManager::NeedsWidgetInvalidation() r=mattwoodrow
2017-04-07 09:27:59 +09:00
Jay Harris
2c1fa18863
Bug 1338011 - Adds some telemetry probes - f=bsmedberg r=gerald
...
MozReview-Commit-ID: BmwEjBiCBNo
--HG--
extra : rebase_source : 1d181a6dd1385304c6c45a22e99563f570e31374
2017-04-15 09:36:42 +12:00
Jay Harris
6ce213e795
Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald
...
MozReview-Commit-ID: 9x1ckaWagcE
--HG--
extra : rebase_source : 2962f8572dd36b2dfecb7bb30ba515fc7c6323c9
2017-04-15 09:34:01 +12:00
Sebastian Hengst
4c8fa6d5da
merge mozilla-central to autoland. r=merge a=merge
2017-04-15 00:08:12 +02:00
Sebastian Hengst
d8496d0a1f
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EjT9dcum69m
2017-04-14 23:56:10 +02:00
Iris Hsiao
adbc9c9d4f
Merge mozilla-central to mozilla-inbound
2017-04-14 17:20:09 +08:00
Iris Hsiao
93edef392b
merge autoland to mozilla-central a=merge
2017-04-14 17:09:58 +08: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
Wes Kocher
514e230373
Merge inbound to central, a=merge
2017-04-13 17:24:01 -07:00
Wes Kocher
4fab232444
Merge autoland to central, a=merge
2017-04-13 13:03:43 -07:00
Jeff Gilbert
a48eb3d523
Bug 1355763 - Handle UNPACK_ state for ConvertPlanarYCbCr, and reject blits with _SKIP_* for now. - r=daoshengmu
...
MozReview-Commit-ID: JsDF66DwTfZ
2017-04-13 09:14:38 -07:00
Jeff Gilbert
326703ec04
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Kartikaya Gupta
bdeb25f52a
Bug 1355944 - Back out cset 456dbb5c2b93 (bug 1180799) for causing unexpected behaviour. r=backout
...
MozReview-Commit-ID: FW1DDt7ax9U
2017-04-13 08:24:25 -04:00
Chih-Yi Leu
e3eeba7caf
Bug 1355321 - Part1: Revert "Bug 1347866 - Part2: Revert "translator: remove code related to for-loop unrolling""; r=jgilbert
...
This reverts commit 21a87c994f849488d7d6a143b93de9892e04f435.
MozReview-Commit-ID: 8QKjAHW0vhq
--HG--
extra : rebase_source : 416f2072b2414d91e6924f3b608c5f92a1a24029
2017-04-13 18:11:44 +08:00
Kearwood Gilbert
043d85c921
Bug 1351048 - Do not load VR libraries until necessary, Oculus cleanup r=daoshengmu
...
- I have refactored the Oculus and OpenVR interfaces in gfx/vr
so that initialization of the VR libraries only happens once
a WebVR site is detected.
- The Oculus interface has been cleaned up and updated to unload the Oculus
runtime library when not in use.
- The browser can now re-connect to Oculus home if it was restarted, without
restarting the browser.
- We no longer submit a black frame at the end of VR presentation, as this
appears to be handled by the latest Oculus runtime automatically.
- As we only hold on to the Oculus runtime when needed, this should
reduce the likelihood of the GPU process being killed by the Oculus
software updater.
MozReview-Commit-ID: AyWeD4CxXLD
--HG--
extra : rebase_source : 9eae07ef30b1a7559b5fe80e6698c248a55b970e
2017-03-30 09:35:49 -04:00
Daosheng Mu
639e273a82
Bug 1336002 - Part 3: Support button touched in OpenVR and Puppet; r=kip
...
MozReview-Commit-ID: CMacSyuK3mv
--HG--
extra : rebase_source : 202edb4a20fdabf38ac9edda7b2dbe336f4ebc3b
2017-04-06 19:00:20 +08: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
Mike Hommey
a1829611bc
Bug 1353990 - Stop exporting woff2 headers. r=gps
...
woff_out.h includes port.h (actually, worse, "./port.h"), and in
dist/include, port.h is actually *not* the one from woff2...
We've just been lucky it's worked so far.
--HG--
extra : rebase_source : 65537c1f6c0ba540e0c93ef2c8ba587e5903d273
2017-04-06 13:42:27 +09:00
Morris Tseng
7eb27c99ad
Bug 1358961 - IsPartOfOpaqueLayer should consider ColorLayer as well. r=mattwoodrow
...
MozReview-Commit-ID: 9PUKdz7m1uJ
2017-04-25 11:02:48 +08:00
Gregory Moore
022156f613
Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond,kats
...
MozReview-Commit-ID: IAhD3jO4NWH
--HG--
extra : rebase_source : 782699a9f501327431bf66645b3313921a864e09
extra : source : 456dbb5c2b93ba738bc5b0e15d7e43cab2d0a856
2017-03-25 18:36:35 -07:00
Wes Kocher
b53f4d8806
Merge m-c to inbound, a=merge
2017-04-17 13:03:40 -07:00
Wes Kocher
228c755a80
Merge inbound to central, a=merge
2017-04-17 12:56:25 -07:00
Wes Kocher
0becaff588
Merge autoland to central, a=merge
2017-04-17 12:41:36 -07:00
Kearwood Gilbert
c944eed13a
Bug 1356387 - Add constructor to VRHMDSensorState
...
- Also removed some now redundant calls to VRHMDSensorState::Clear()
MozReview-Commit-ID: Kkbvkn3XAP4
--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Kartikaya Gupta
7a4b7a370e
Bug 1356695 - Ensure gfxPrefs is initialized if gfxPlatform::AsyncPanZoomEnabled is called early in startup. r=milan
...
MozReview-Commit-ID: CnHHcuZRPTc
2017-04-17 11:56:26 -04:00
Jeff Muizelaar
67e82cd2a7
Bug 1356689. Add pref to highlight painted layers. r=mchang
...
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Lee Salzman
03ed17e42f
Bug 1357009 - add missing UnscaledFontGDI::GetFontInstanceData. r=jrmuizel
...
MozReview-Commit-ID: 21EoCWhkDDu
2017-04-17 10:59:31 -04:00
Masatoshi Kimura
48a997a3cb
Bug 1356218 - Fix nsDeviceContext::GetDepth to use the information from the correct monitor. r=jfkthame
...
MozReview-Commit-ID: BQpm6y3Ayo4
--HG--
extra : rebase_source : c798db446d28c0621d38fb65a5345300ace8cca7
2017-04-14 20:50:13 +09:00
Mason Chang
25d7f57213
Bug 1351733. Reuse D2D Source Surfaces with Draw Target Dual. r=bas
2017-04-17 08:41:42 -07:00
peter chang
82b62cfc18
Bug 1344079 - Convert ColumnRule to WebRenderDisplayItemLayer, r=mattwoodrow
...
MozReview-Commit-ID: AmAVYi4P7nl
--HG--
extra : rebase_source : a2c7196cca088ed44e3c1dadd7ba599348ffbd29
2017-03-24 17:35:35 +08:00
Kevin Chen
4e82c4bafe
Bug 1352376 - Update device data while processing device reset; r=dvander
...
MozReview-Commit-ID: 9sqdRhsX5HU
--HG--
extra : rebase_source : 00ce838008d20546f1f096d690455117efa9000d
2017-04-05 15:17:36 +08:00
Kartikaya Gupta
5e82717849
Bug 1350638 - Remove the GetCompositorOptions IPC message as it is no longer used. r=dvander
...
MozReview-Commit-ID: 18uiWGA9eJy
--HG--
extra : rebase_source : 217697a0e63d8c02d78de894ff7f33850924e50c
2017-04-09 17:31:59 -04:00
Kartikaya Gupta
a13700a7ce
Bug 1350638 - Remove sync GetCompositorOptions call added in the last patch. r=dvander
...
This call should be a no-op in the real world, and should be safe to
remove. The patch also adds an assert to ensure that the call is
effectively a no-op.
MozReview-Commit-ID: BXdcnHULWW2
--HG--
extra : rebase_source : 03c57d2d6dbfb1d330ce7eab6d842d8375d33208
2017-04-09 17:31:06 -04:00
Kartikaya Gupta
1bfa62105b
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
--HG--
extra : rebase_source : 5b80831cf84d3a4b57b2214a12ccf8a896cfa3a7
2017-04-09 17:30:27 -04:00
Bob Owen
3f14ad38c2
Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor
2017-04-08 22:47:51 +01:00
Kevin Chen
8dc292c901
Bug 1350828 - Label CompositorForwarder; r=bevistseng,kats
...
MozReview-Commit-ID: 714oc4O8MNs
--HG--
extra : rebase_source : fa07e6cc6daf1e51818cdc9dabcceb39f7bc90c8
2017-03-29 13:49:20 +08:00
Ben Tian
cda6ed446d
Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
...
MozReview-Commit-ID: 8vjyVrfa3xT
--HG--
extra : rebase_source : d63942141b562e0e69611f3cbc1da4e9ee522efc
2017-04-14 10:40:03 +08:00
Hiroyuki Ikezoe
c8b56985f8
Bug 1354876 - Add variables for represents 'normal' value for font-variant-{alternates, east-asian, numeric, ligatures}. r=heycam
...
MozReview-Commit-ID: 2ofk4h8fN6Z
--HG--
extra : rebase_source : d99bef63145b92d70815a3f8b40bc752df79f546
2017-04-14 10:41:21 +09:00
Hiroyuki Ikezoe
23622d782f
Bug 1354876 - Use literal numbers to shift bit for macros of font-variant-{alternates, east-asian, numeric, ligatures}. r=heycam
...
rust-bindgen does not support this kind of constants macro.
MozReview-Commit-ID: DxR65I08N53
--HG--
extra : rebase_source : dc7d16ce6eb1855595e5fdadb201939b75a4d919
2017-04-14 10:41:21 +09:00
Phil Ringnalda
5376aa11d4
Merge m-c to a CLOSED TREE autoland
2017-04-13 20:17:27 -07:00
Gregory Moore
41c5615de3
Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond
...
--HG--
extra : rebase_source : 32f6c2eb545febde577d1739d5903008116a65f6
2017-03-25 18:36:35 -07:00
Manish Goregaokar
91da4afd2b
Bug 1341102 - Fix stylo bustage ; r=bustage
...
MozReview-Commit-ID: 381FV2GDvWu
2017-04-10 17:27:16 +08:00
Manish Goregaokar
6be22491bd
Bug 1341724 - Part 4: stylo: Make font metrics usage threadsafe; r=heycam
...
MozReview-Commit-ID: 3EqpUy09UuI
2017-04-10 17:06:19 +08: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
Milan Sreckovic
2a121b2491
Bug 1356091: Allow the compositor process with the software compositor. r=dvander
...
MozReview-Commit-ID: Ljt73heC0k4
--HG--
extra : rebase_source : 17e4d6300a0dcb39e1cbea2fa01aed4c50377b3a
2017-04-13 00:08:09 -04:00
Daosheng Mu
b4fb3b9c83
Bug 1353523
- Add adjustable threshold value for VR controller trigger inputs; r=kip
...
MozReview-Commit-ID: KQMccZeE2IK
--HG--
extra : rebase_source : b8c60e59c7f9678fdb15f3dcc6770198ec35b82a
2017-04-19 13:14:13 +08:00
Wes Kocher
5ce5528fb1
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Carsten "Tomcat" Book
54c9498baf
Merge mozilla-central to mozilla-inbound
2017-04-20 13:03:06 +02:00
Chris Peterson
e3861f063d
Bug 1356843 - Fix -Wcomma warnings in gfx/layers/Layers.cpp. r=mchang
...
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements.
gfx/layers/Layers.cpp:1944:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1945:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1946:33 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1949:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1950:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1951:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1952:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1953:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1954:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1955:37 [-Wcomma] possible misuse of comma operator here
gfx/layers/Layers.cpp:1956:37 [-Wcomma] possible misuse of comma operator here
MozReview-Commit-ID: 9lMJZrPRtTV
--HG--
extra : rebase_source : ecb4773c4fd98adfc8e254bff697027e24c64dbd
extra : source : 2288643cc9361735fd87b35801393bd2da47d952
2017-03-27 21:29:42 -07:00
Jonathan Watt
7ec8783134
Bug 1354624 - Make PrintTarget::CreateRecordingDrawTarget static. r=bobowen
...
MozReview-Commit-ID: 7b6vaGxXPC0
2017-03-22 19:10:42 +00:00
Daosheng Mu
44629c133a
Bug 1336003 - Oculus Touch button touched support; r=kip
...
MozReview-Commit-ID: 95RViosiVXO
--HG--
extra : rebase_source : 4a3b714e3abd18fccf526392210477d63ae6dc26
2017-04-13 14:06:07 +08:00
Botond Ballo
db703a3ed0
Bug 1355374 - Remove the no-longer-used LayerMetricsWrapper::GetScrollThumbLength() and HitTestingTreeNode::mScrollThumbLength. r=kats
...
MozReview-Commit-ID: ICm2Q1hnKD6
--HG--
extra : rebase_source : 3152714a349ce134d30dc48c94b40b59053ab195
2017-04-21 13:59:32 -04:00
Botond Ballo
9323d2bb93
Bug 1355374 - Use the AsyncDragMetrics to communicate the scroll thumb length to APZ. r=mstange
...
MozReview-Commit-ID: DJUKr4s9nWQ
--HG--
extra : rebase_source : d5f9a265098c343416fc933135b4f28a808cd49e
2017-04-21 13:57:11 -04:00
Jonathan Watt
1d3875cb1f
Bug 1354624 - Remove mRefDT member from PrintTargetSkPDF. r=bobowen
...
MozReview-Commit-ID: Hz5clt9EeBf
2017-03-21 18:27:59 +00:00
Jonathan Watt
1db1520cd4
Bug 1354624 - Fix PrintTarget::GetReferenceDrawTarget and its overrides to honor aRecorder. r=bobowen
...
MozReview-Commit-ID: IeXTFrTe8PL
2017-03-21 09:36:08 +00:00
Kevin Chen
ae41b0ceb9
Bug 1343754 - Label PLayerTransaction; r=bevistseng,kats
...
MozReview-Commit-ID: 8QF5SQKuFhY
--HG--
extra : rebase_source : c2dca1fff0e96489b87c704200a19a4b037c04f7
2017-03-21 03:57:56 +00:00
Kevin Chen
bdb02a828a
Bug 1343754 - Add a function for replacing event target for actor and label PTexture; r=bevistseng,billm,nical
...
MozReview-Commit-ID: KGVBWsexkqC
--HG--
extra : rebase_source : 5ac2edced51462fd013f0efba0e434d6a2fc7863
2017-03-21 03:57:56 +00:00
Carsten "Tomcat" Book
f053c5e039
Merge mozilla-central to mozilla-inbound
2017-04-11 10:22:53 +02:00
Bob Owen
ab1587da50
Bug 1355011: Remove DrawEventRecorderMemory as it can too easily cause OOMs. r=lsalzman
2017-04-11 08:20:41 +01:00
Wes Kocher
2aa3f2f2e2
Merge m-c to autoland, a=merge
2017-04-19 17:17:20 -07:00
Kartikaya Gupta
fc1d59434f
Bug 1357643 - Annotate wr_api_delete so that it can be called in a destructor in non-webrender builds. r=me
...
MozReview-Commit-ID: 4JrLFCRwxxO
2017-04-19 11:42:27 -04:00
David Anderson
2797bf465d
Don't gfxDevCrash when video fails to acquire a SyncObject. (bug 1345735 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 50ea965347b36a475bd8f03adcde68e4c333e1c3
2017-04-19 07:24:44 -07:00
Nicolas Silva
fb9bd819a5
Bug 1357643 - Annotate wr_state_delete so that it can be called in a destructor in non-webrender builds. r=kats
2017-04-19 15:20:23 +02:00
Carsten "Tomcat" Book
e2b810f97e
Merge mozilla-central to mozilla-inbound
2017-04-19 10:49:57 +02:00
Matt Woodrow
d2f04fbaa8
Bug 1341496 - Part 3: Make CrossProcessSemaphore allocation fallible. r=billm
...
--HG--
extra : rebase_source : 318d2c835675547acf667ecfb20bb595ea86e59f
2017-04-19 15:39:11 +12:00
Matt Woodrow
227b55240c
Bug 1341496 - Part 2: Don't use a separate ReadLock for the second component alpha texture as they should always be locked/unlocked at the same time. r=nical
...
--HG--
extra : rebase_source : e329a708f4cad44cba9be01cf209842d6fe30619
2017-04-19 15:16:13 +12:00
Matt Woodrow
9423e9b713
Bug 1341496 - Part 1: Don't try to serialize read locks that aren't valid. r=nical
...
--HG--
extra : rebase_source : 2d3f5b89db84427199e3056fb893415f6e0e3e20
2017-04-19 15:15:42 +12:00
Carsten "Tomcat" Book
87edaf78ee
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
Daosheng Mu
5ec9ae756d
Bug 1356452 - Part 5: Detect hand changing at runtime for OpenVR controllers; r=kip
...
MozReview-Commit-ID: AR5zpxryIw6
--HG--
extra : rebase_source : c99f87a1c82b59c106bbb7e1c1c29d2478e2d353
2017-04-18 15:58:34 +08:00
Daosheng Mu
ba21000af3
Bug 1356452 - Part 2: Replace vr:: namespace with ::vr:: in OpenVR; r=kip
...
MozReview-Commit-ID: uBvQ7hBI4z
--HG--
extra : rebase_source : 306dc8eb907f0d33aa62ec05f3fe97d1f07ffc69
2017-04-18 13:04:53 +08:00
Daosheng Mu
065b13fe52
Bug 1356452 - Part 1: Remove assertion for checking VRManager::Get(); r=kip
...
MozReview-Commit-ID: CMCX9Fq55tS
--HG--
extra : rebase_source : 10342128d91fea22b66dfd99379764ac6cccccc4
2017-04-18 12:45:44 +08:00
Jonathan Kew
21b1570eb8
Bug 1352977 - Factor out helpers to construct the names for generic- and language-dependent font/font-list preferences. r=masayuki
2017-04-12 11:32:19 +01:00
Jonathan Kew
6f0d451756
Bug 1352528 - Hoist call to GetRoundOffsetsToPixels out of the inner loop of text shaping. r=jrmuizel
2017-04-03 17:49:17 +01:00
Iris Hsiao
d13a81eccb
Merge mozilla-central to mozilla-inbound
2017-04-12 11:24:24 +08:00
Bill McCloskey
ff14bfe5f0
Bug 1349699 - Close GPU channel unconditionally (r=dvander)
...
MozReview-Commit-ID: 4Ge2ib9p1i
2017-04-11 13:15:05 -07:00
Bill McCloskey
30b9639c6e
Bug 1333968 - Label the DidComposite message (r=dvander)
...
MozReview-Commit-ID: 7cW7apxUJu0
2017-04-11 12:59:13 -07:00
Kearwood Gilbert
9466b8b744
Bug 1350076 - Add a preference to allow proximity sensor triggering of vrdisplayactivate and vrdisplaydeactivate r=daoshengmu
...
MozReview-Commit-ID: CIPwXAofYhD
--HG--
extra : rebase_source : ed592a84b721fdba407175ada1abf831eb785357
2017-04-04 11:28:56 -07:00
Daosheng Mu
031d7a70be
Bug 1349895 - Vive Tracker support in OpenVR; r=kip
...
MozReview-Commit-ID: Gug4SUenhtU
--HG--
extra : rebase_source : 744bc90aa210466eb4a78b4fc63c7ddf79ea9bc2
2017-04-06 09:45:55 +08:00
Carsten "Tomcat" Book
3a762886de
Merge mozilla-central to mozilla-inbound
2017-04-07 15:33:03 +02:00
sotaro
44c4c93a0a
Bug 1354031
- Add IPC open check to TextureClientRecycleAllocator::CreateOrRecycle() r=mattwoodrow
2017-04-07 09:23:40 +09:00
Wes Kocher
7da1f4c235
Merge m-c to inbound a=merge
2017-04-06 15:30:43 -07:00
Wes Kocher
0c3144c6f6
Merge inbound to central, a=merge
2017-04-06 15:01:34 -07:00
Lee Salzman
22fb7629b8
Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel
2017-04-06 17:41:24 -04:00
Lee Salzman
a168dcdbf3
Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame
2017-04-06 17:41:02 -04:00
Kartikaya Gupta
eb2583d29f
Bug 1345355 - Add a gtest for a pinch with zero span but changing focus. r=botond
...
MozReview-Commit-ID: 8AstF1QmBzw
2017-04-06 17:41:01 -04:00
Jonathan Watt
00f3a6ca88
Bug 828240, part 1 - Add an IsRectilinear method to gfxMatrix. r=longsonr
...
For parity with mozilla::gfx::Matrix
2017-03-15 16:59:32 +00:00
Miko Mynttinen
5a0186840b
Bug 1351426 - Part 5: Cleanup style and comments r=kip
...
MozReview-Commit-ID: HOPY8v4UWKo
--HG--
extra : rebase_source : 3af5c5ed3cabc39a6ecd122f961aba16309518b1
2017-04-04 03:59:31 +02:00
Miko Mynttinen
9ee1c2deba
Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
...
MozReview-Commit-ID: ASusoTqZxuY
--HG--
extra : rebase_source : 1967c11e76853297a2ce405e598b3db2b2b0c112
2017-04-04 04:51:29 +02:00
Miko Mynttinen
ec2807c91a
Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
...
MozReview-Commit-ID: F4ezRzbGihI
--HG--
extra : rebase_source : 85c91cac817a733e5b062285d4951996270feabf
2017-04-10 16:35:56 +02:00
Miko Mynttinen
496fccc821
Bug 1351426 - Part 2: Only use 4D points in gfx::Polygon r=kip
...
MozReview-Commit-ID: 1osQrpwH0WZ
--HG--
extra : rebase_source : e5fef3d096a7780a4a502ca2a7c20ce9d3482d13
2017-04-04 03:15:48 +02:00
Miko Mynttinen
0b813a9c27
Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
...
MozReview-Commit-ID: BgSAgBECTui
--HG--
extra : rebase_source : 8a22f67163fd62d547f415ca20a5fe5bbe41e1ad
2017-04-04 03:09:06 +02:00
Hiroyuki Ikezoe
751ec1a2f7
Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
...
MozReview-Commit-ID: 6sqyA5TCHjk
--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
Iris Hsiao
bf9a6182a2
Backed out changeset f97fd860c168 (bug 1355763)
2017-04-13 14:46:43 +08:00
Iris Hsiao
d9a7bab6de
Backed out changeset f71e84602f68 (bug 1355763) for assertion failures at ImageBitmap.cpp
2017-04-13 14:46:38 +08:00
Jeff Gilbert
3ab253476f
Bug 1355763 - Handle UNPACK_ state for ConvertPlanarYCbCr, and reject blits with _SKIP_* for now. - r=daoshengmu
...
MozReview-Commit-ID: JsDF66DwTfZ
2017-04-12 22:03:45 -07:00
Jeff Gilbert
95c5ba8077
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Ehsan Akhgari
3b93e5ad89
Bug 1354412 - Remove nsIDOMWindowUtils.beginTabSwitch(); r=jrmuizel
2017-04-12 23:31:39 -04:00
sotaro
6a13c9b7ac
Bug 1355743 - Fix empty Image case handling of ImageClientSingle::UpdateImage() r=mattwoodrow
2017-04-13 11:01:08 +09:00
Kartikaya Gupta
a1ccf6bbaa
Bug 1357390 - Consistently use uint64_t for the referent id, because that's what it really is. r=mattwoodrow
...
MozReview-Commit-ID: LPxcElOVrU3
--HG--
extra : rebase_source : 7b5e27fcfd8b13fbe8ed1e34abc98cc43c7e8ae1
2017-04-18 08:43:08 -04:00
Andrew Osmond
164b45b6a8
Bug 1356289 - Part 2. Make gfx use the new SharedMemory::SetHandle API. r=jrmuizel
2017-04-18 12:25:00 -04:00
Kearwood Gilbert
5c1b11f1db
Bug 1355654 - VRManager will now wait for 30 seconds of inactivity before releasing VR displays, rather than doing it instantaneously. r=daoshengmu
...
- This corrects link traversal and improves performance when
entering and exiting VR very often.
MozReview-Commit-ID: D30NQdnpzMF
--HG--
extra : rebase_source : 4f2486d98e6d0912185cd93537ea248a1ad876c5
2017-04-11 22:12:22 -07:00
Wes Kocher
226702fd85
Merge m-c to autoland a=merge
...
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Daosheng Mu
22637d7222
Bug 1359670 - Notify GamepadManager when controllers are removed in VRPuppet manager; r=kip
...
MozReview-Commit-ID: KSlpJy8i7Xo
--HG--
extra : rebase_source : 416e8fa155c15829f0c488a2a1bf5f4924a5f375
2017-04-26 11:23:23 +08:00
Daosheng Mu
8bd65ecdd5
Bug 1355648 - Part 1: Check VR controllers if losing tracking; r=kip
...
MozReview-Commit-ID: B8DaBmz1mJo
--HG--
extra : rebase_source : cf41b0e4a87f710fb2e4da742213a0568b8a2ab9
2017-04-21 18:14:42 +08: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
Sebastian Hengst
aa97b436a2
Backed out changeset 03a3ed5fbce1 (bug 1331915) for telemetry bustage. r=backout
2017-04-27 01:05:03 +02:00
Tom Ritter
96b2a2c6e3
Bug 1331915 Add Telemetry probe to Graphite library usage r=jfkthame
...
MozReview-Commit-ID: 1aU5ddQoLnV
--HG--
extra : rebase_source : f4237dba387d977f0f6036f7bc5fc15822ea2bf4
2017-04-21 14:09:53 -05:00
Kartikaya Gupta
c9e542c4d7
Bug 1359061 - Report WR state via ScopedGfxFeatureReporter in all processes. r=dvander
...
We were only reporting the WR feature state in crash reports from the parent
process. However, it would be useful to have in GPU and content process crash
reports as well, so use the ScopedGfxFeatureReporter in those processes as well.
MozReview-Commit-ID: Em37uLVPboK
--HG--
extra : rebase_source : c5bae376d084b7579308dcf1f5fb6186a231a868
2017-04-24 10:06:06 -04:00
Miko Mynttinen
8b381c5851
Bug 1351426 - Part 5: Cleanup style and comments r=kip
...
MozReview-Commit-ID: HOPY8v4UWKo
--HG--
extra : rebase_source : 7ad62ab33ba21996adaa81d8152ea73d3073f6aa
2017-04-04 03:59:31 +02:00
Miko Mynttinen
e0b243a92d
Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
...
MozReview-Commit-ID: ASusoTqZxuY
--HG--
extra : rebase_source : f9968b6993fdfd0ff62afcae35ec2ad805d37042
2017-04-04 04:51:29 +02:00
Miko Mynttinen
6bb26910a0
Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
...
MozReview-Commit-ID: F4ezRzbGihI
--HG--
extra : rebase_source : 56ce1572ed0c4f6ee41bc91d90cf6978e5016792
2017-04-10 16:35:56 +02:00
Miko Mynttinen
9efe7dfe60
Bug 1351426 - Part 2: Only use 4D points in gfx::Polygon r=kip
...
MozReview-Commit-ID: 1osQrpwH0WZ
--HG--
extra : rebase_source : d04408b9b7ad7b4600ecd800a97b39fd729d40c1
2017-04-04 03:15:48 +02:00
Miko Mynttinen
375eabdac6
Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
...
MozReview-Commit-ID: BgSAgBECTui
--HG--
extra : rebase_source : 79a8441109c1d1c41c8903b087d16cfe8d0c5171
2017-04-04 03:09:06 +02:00
Kartikaya Gupta
035b0aa65f
Bug 1354924
- Fix mousewheel multiplier prefs for external mouse devices on OS X. r=botond
...
The code in the OS X widget was calling ReceiveInputEvent on IAPZCTreeManager
with a ScrollWheelInput, which would bypass the multiplier code. This modifies
the widget to use a WidgetWheelEvent instead, so that it goes through the
IAPZCTreeManager multiplier handling for wheel inputs. Other platforms already
send wheel events in WidgetWheelEvent format so they don't have this problem.
MozReview-Commit-ID: 5gOOGnfD87W
--HG--
extra : rebase_source : f13c6e13a89ce450fa4f287eb30f054fe3fc326a
2017-04-11 09:39:06 -04:00
Carsten "Tomcat" Book
023be17063
Merge mozilla-central to autoland
2017-04-11 10:24:02 +02:00
Chih-Yi Leu
8aea1c1b28
Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
...
MozReview-Commit-ID: 7MFHIri2Bq7
--HG--
extra : rebase_source : 7c3c690d76d184c6bca8465e4b992ae0d8de7507
2017-03-27 11:26:19 +08:00
Chih-Yi Leu
ab9fcfb7ee
Bug 1347866 - Part4: ANGLE patch uplift for bug1325741; r=jgilbert
...
MozReview-Commit-ID: 7FNeSn5XGaZ
--HG--
extra : rebase_source : 754756827c1e245c20858223582dd8a0f7c4bc9e
2017-04-05 12:04:18 +08:00
Chih-Yi Leu
79a2c67587
Bug 1347866 - Part3: ANGLE patch uplift for bug1325733; r=jgilbert
...
MozReview-Commit-ID: F9QiJ3hDuoZ
--HG--
extra : rebase_source : bce9e62497c8699ac65d81e0cc2d101a36743d7a
2017-04-05 11:45:11 +08:00
Chih-Yi Leu
4fe7b922d9
Bug 1347866 - Part2: Revert "translator: remove code related to for-loop unrolling" r=jgilbert
...
This reverts commit 1b896c62934be40cf8a37dc28fabc15590c89a5d; r?jgilbert
MozReview-Commit-ID: BFypWbjiCVF
--HG--
extra : rebase_source : 64b9b9d387ece6adfa87c2c2395bb605cad5863b
2017-04-10 16:38:03 +08:00
Chih-Yi Leu
43aae04f44
Bug 1347866 - Part1: Update ANGLE to chromium/2950; r=jgilbert
...
MozReview-Commit-ID: 5vfdprnqLnA
--HG--
extra : rebase_source : 464573f9f8c76de0883334a5d636956baada9281
2017-04-10 16:26:52 +08:00
Kearwood Gilbert
8cedccb89e
Bug 1341423 - Integrate OpenVR binding library r=daoshengmu
...
MozReview-Commit-ID: GaUnfbXgh9L
--HG--
rename : gfx/vr/openvr/openvr.h => gfx/vr/openvr/headers/openvr.h
extra : rebase_source : e7a0983371c1ed381ddf431e2d5a814c510d4967
2017-02-27 16:59:30 -08:00
Iris Hsiao
05ad633169
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Miko Mynttinen
d5c1995700
Bug 1345849 - Part 2: Remove unused Triangle::width and height r=jrmuizel
...
MozReview-Commit-ID: QfOaZcv2uu
--HG--
extra : rebase_source : 12d1f458156e62aab56834d83e1951db3554f43a
2017-03-27 16:22:35 -04:00
Miko Mynttinen
9f15e545a5
Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
...
MozReview-Commit-ID: H11vFsMlIaA
--HG--
extra : rebase_source : 56da41251925d335f8ba80f1a302e9a9a92ac972
2017-03-27 13:59:15 -04:00
David Anderson
bc9324f621
Make finer-grained decisions about whether to update hit testing trees. (bug 1352918
, r=kats)
...
Updating hit testing trees is very expensive for many layers, and often
layer properties that change don't necessitate hit testing tree updates.
While layer tree structure changes do, we can be smarter about
individual layer attributes.
2017-04-13 21:25:16 -07: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
Gerald Squelart
63dbe37188
Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: IWCgL9aCusW
--HG--
extra : rebase_source : 31d901f99105224ac7445b487813b010fd643bb9
2017-04-12 09:37:35 +12:00
Kartikaya Gupta
cce9ee69dc
Bug 1345355 - Allow pinch gestures with a zero span change but a nonzero focus change to scroll. r=botond
...
It appears that some touchpad devices send us "touch" events (i.e. WM_TOUCH on
Windows) but with all touch points having the same coordinates. This ends up
getting detected as a zero-span pinch gesture in APZ, which short-circuits early
and doesn't really get processed. Therefore even if the focus point changes we
don't do any corresponding scroll. This patch shifts things around a little so
that the short-circuit doesn't happen quite so early, and we still scroll when
the focus point changes, even if the span is zero.
MozReview-Commit-ID: 3CaQN1MsM8y
2017-04-06 16:17:54 -04:00
Kartikaya Gupta
dc8c89efa4
Bug 1353735 - Fix repr(C) on enums to repr(u32). r=jrmuizel
...
MozReview-Commit-ID: FQ6U48xMiRe
2017-04-05 11:19:00 -04:00
Kartikaya Gupta
452cd0c0a2
Bug 1353735 - Fix return value of binding function. r=jrmuizel
...
MozReview-Commit-ID: 3COc4L4J5Y2
2017-04-05 11:18:52 -04:00
Kartikaya Gupta
ebd34c8deb
Bug 1353735 - Fix missing ABI declaration. r=jrmuizel
...
MozReview-Commit-ID: IZkitQliVma
2017-04-05 11:18:43 -04:00
Sotaro Ikeda
fe30e9db69
Bug 1323612
(Part 2) - Add runtime fixups for WebRender on Android. r=kats
...
MozReview-Commit-ID: 2fWRPkRM52e
2017-04-05 10:12:11 -04:00
Kartikaya Gupta
c32c70abe2
Merge m-c to graphics
...
MozReview-Commit-ID: JgUpOHlFfrP
2017-04-05 09:41:01 -04:00
Kartikaya Gupta
8335081baa
Merge m-c to graphics
...
MozReview-Commit-ID: DenuOx3ztpy
2017-04-04 22:47:56 -04:00
Ryan Hunt
7ab0cb366b
Bug 1351480 - Update bindings for gradients. r=jrmuizel
...
MozReview-Commit-ID: 48bjXH4ZCBi
2017-03-31 19:18:44 -04:00
Kartikaya Gupta
7490c35078
Bug 1351480 - Update calls to add_image to include the ImageData::External wrapper. r=Jerry
...
MozReview-Commit-ID: 7C1qXLtqCbG
2017-04-04 22:46:31 -04:00
Kartikaya Gupta
7ef76c0e9d
Bug 1351480 - Update webrender to 7463ae5908ca1d4065763a8753af5d72a6f78b85. r=jrmuizel
...
In addition to updating gfx/webrender and gfx/webrender_traits, as well as the
Cargo.toml/Cargo.lock files and third-party rust dependencies, this updates
webrender_bindings for the following API changes:
- Update call to update_image for change in 086f912ea86d053d95e5f4eec00cae0d82ee5dba
- Update request_blob_image for new parameter added in 086f912ea86d053d95e5f4eec00cae0d82ee5dba.
- set_root_display_list got renamed to set_display_list, so update call sites.
2017-04-04 22:46:17 -04:00
Kartikaya Gupta
868642f10c
Merge m-c to graphics
...
MozReview-Commit-ID: KJoBJaTnxoC
2017-04-02 22:46:53 -04:00
Kartikaya Gupta
acefdfbab2
Merge m-c to graphics
...
MozReview-Commit-ID: Gmms6PhTr8U
2017-03-31 10:37:00 -04:00
JerryShih
15fde99d2c
Bug 1347062 - P5: use texture handle directly with webrender. r=nical,sotaro
...
MozReview-Commit-ID: 1XLiFcpFEeu
2017-03-31 22:29:15 +08:00
JerryShih
b0ffca2f70
Bug 1347062 - P4: create RenderBufferTextureHost and RenderMacIOSurfaceTextureHostOGL. r=nical,sotaro
...
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost.
2) create a base class RenderTextureHostOGL for all texture handle base texture.
3) create RenderBufferTextureHost for buffer texture at render thread.
4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread.
--HG--
rename : gfx/webrender_bindings/RenderBufferTextureHost.h => gfx/webrender_bindings/RenderTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
f8987906e1
Bug 1347062 - P3: rename from RenderTextureHost to RenderBufferTextureHost for further updating. r=sotaro
...
We will have a class RenderTextureHost as the base-class and its sub-class RenderBufferTextureHost in next patch. Use "rename" to preserve the file history.
MozReview-Commit-ID: KiqaO616AHc
--HG--
rename : gfx/webrender_bindings/RenderTextureHost.cpp => gfx/webrender_bindings/RenderBufferTextureHost.cpp
rename : gfx/webrender_bindings/RenderTextureHost.h => gfx/webrender_bindings/RenderBufferTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
9e90247f7f
Bug 1347062 - P2: use WrImageDescriptor for wr_api_add_external_image_handle(). r=nical,sotaro
...
MozReview-Commit-ID: 1dNQRZGeKaA
2017-03-31 22:29:14 +08:00
JerryShih
55f4c680b1
Bug 1347062 - P1: add WrExternalImage binding utility function. r=nical,sotaro
...
MozReview-Commit-ID: 4oJvybXRuTX
2017-03-31 22:29:14 +08:00
Kartikaya Gupta
f480fd6ca6
Bug 1352393 - Bulk import everything in webrender_traits. r=jrmuizel
...
MozReview-Commit-ID: 6LKDcPvIrBz
2017-03-31 09:43:18 -04:00
Iris Hsiao
98b769cf18
Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
...
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst
2374426ebe
Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout
2017-03-31 10:08:21 +02:00
Mason Chang
96cc223a05
Bug 1347727 - Enable outer box shadows by default in WR. r=rhunt
2017-03-27 16:32:55 -07:00
Kartikaya Gupta
618a729ba9
Merge m-c to graphics
...
MozReview-Commit-ID: IhFmzYDQJte
2017-03-30 08:55:36 -04:00