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
Paul Bignier
bc0c1045c5
Bug 1352848 - Fix spelling of 'settings' in comment. r=MattN
...
MozReview-Commit-ID: J6PjvNRKhEm
--HG--
extra : rebase_source : 09e4d07f42767e63a604015d18871ae1fb92bac7
2017-04-03 15:24:46 -07:00
David Anderson
c10c9d57eb
Don't synchronously send the initial layer tree mapping list to the GPU process. (bug 1350660 part 2, r=rhunt)
2017-04-03 15:13:38 -07:00
David Anderson
0f3b97ed9c
When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm)
2017-04-03 15:13:37 -07:00
David Anderson
dfbf7fe0d0
Add crash reporter annotations for the GPU process status. (bug 1343650, r=billm)
...
--HG--
extra : rebase_source : 28e0d023e99f66f518047f1a468c899ff52c590a
2017-04-03 15:11:27 -07:00
Wes Kocher
53dde6a1d2
Merge inbound to central, a=merge
2017-04-03 14:50:18 -07:00
Jonathan Kew
3e217c19d1
Bug 1349308 - Ensure we get glyph metrics via Core Text for variation fonts such as faces of SFNSText/Display. r=jrmuizel
2017-04-03 15:45:52 +01:00
Botond Ballo
9ebdb4f7f0
Bug 1352564 - Add a method to invert a Matrix4x4 if it's invertible. r=botond
...
Use it in HitTestingTreeNode::Untransform.
MozReview-Commit-ID: 1JkLh99FD0h
--HG--
extra : rebase_source : ca9836c1999a2af3cac5287a9efa875c415634f7
2017-04-02 17:20:23 -04:00
Bas Schouten
1949ab75e0
Bug 1352547: Do not use IsWindows10OrGreater() on older SDKs. r=mattwoodrow
...
MozReview-Commit-ID: C0uOAKy0bOr
2017-04-02 18:45:08 +00:00
Masayuki Nakano
59a906fb1a
Bug 1344990 part.3 Implement nsIFontEnumerator::GetDefaultFont() as returning first available font in font.name-list.* r=jfkthame
...
nsIFontEnumerator::GetDefaultFont() returns always nullptr. However, it's used in font setting UI at creating drop down list of available fonts. So, if we implement this as returning first available font of "font.name-list.*", it's what is the necessary UI for "default" font when "font.name.*" is empty string.
So, with this patch, the top item of font list becomes "Default (%s)" if there is available font.
MozReview-Commit-ID: cRU8gixgdF
--HG--
extra : rebase_source : beca7b7d2d423f08d35358fc84b731e817724835
2017-04-03 21:00:14 +09:00
Masayuki Nakano
28770793c6
Bug 1344990 part.1 gfx and layout should refer "font.name-list.*" when "font.name.*" is empty r=jfkthame
...
When "font.name.*" is empty, it means "default", i.e., use the first font of "font.name-list.*".
In most cases, we don't need to change existing "font.name.*" handlers which refer "font.name-list.*". However, handlers which refer only "font.name.*", we need to add the code to refer "font.name-list.*" too.
MozReview-Commit-ID: B37y1Ld9Azg
--HG--
extra : rebase_source : f944893ff38d5f2072b5014dccf455045ddafd19
2017-03-29 23:21:47 +09:00
Masayuki Nakano
99a1135919
Bug 1351332 gfxDWriteFontList and gfxGDIFontList should ignore italic face of Meiryo for using synthetic italic style r=jfkthame
...
Meiryo has same glyph for both normal style and italic/oblique style. Therefore, if we will use it as default Japanese font, italic/oblique style won't be used in Japanese text. It's too bad for <em>, <i> and backward compatibility with MS PGothic.
This patch makes gfxDWriteFontList and gfxGDIFontList ignore italic style face(s) of Meiryo at creating Meiryo's font face list.
Note that in GDI mode, font names are localized. Therefore, we need to compare with both English name and Japanese name. However, in DirectWrite mode, face names are not localized. Therefore, it's enough to compare only with English face names.
MozReview-Commit-ID: 60tFxB0jcd
--HG--
extra : rebase_source : 45eb61403f97cd765de1b81c290c29632d8174e5
2017-03-29 18:38:41 +09:00
Jamie Nicol
3661bae08d
Bug 1339575 - Add pref to create color layers for nsDisplaySolidColor. r=mstange
...
Switched off for now as it causes reftest failures.
MozReview-Commit-ID: EzU8fhncppS
2017-03-13 16:02:09 +00:00
Kartikaya Gupta
317d304694
Merge m-c to graphics
...
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Sotaro Ikeda
d4d0425579
Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
...
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Jeff Muizelaar
d4b306abb2
Bug 1351506. Remove display list copy from wr_api_finalize_builder. r=nical
...
The takes advantage of some new webrender api to eliminate a copy of the
displaylist
2017-03-29 09:07:07 -04:00
Mason Chang
e08bd7cbdb
Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow
2017-03-28 22:37:11 -07:00
Kartikaya Gupta
25748395e5
Bug 1349692 - Update webrender to dafe3579e8dc886e6584116dc52a9362b543c169. r=jrmuizel
...
In addition to updating gfx/webrender and gfx/webrender_traits, this updates
gfx/webrender_bindings for:
- API changes to update_image and push_stacking_context.
- Version bumps needed in Cargo.toml
Also, since offscreen_gl_context is no longer a dependency, this patch removes
that crate and various other crates it depends on.
2017-03-28 17:49:11 -04:00
Kartikaya Gupta
cbf426c332
Merge m-c to graphics
...
MozReview-Commit-ID: GvQyuOvxr8o
2017-03-28 09:12:16 -04:00
Ethan Lin
bb6943a029
Bug 1349497 - Add pref to create color layer for nsDisplayBackgroundColor. r=mchang
2017-03-28 16:48:14 +08:00
Kearwood Gilbert
220a8666bf
Bug 1350794 - Avoid dereferencing aProvider when null in DataTextureSourceD3D11 constructor
...
- Require bug 1350247 patch to land first to fix WebVR crash
MozReview-Commit-ID: fEsjE22mPc
2017-03-27 21:33:53 -04:00
Mason Chang
3b2070933d
Bug 1350182 - Enable button border display items by default. r=ethlin
2017-03-27 13:09:55 -07:00
Kartikaya Gupta
ec69fdebcf
Merge m-c to graphics
...
MozReview-Commit-ID: I4ehbSXNLmS
2017-03-27 09:18:34 -04:00
Nicolas Silva
4a5a35a9a2
Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel
2017-03-27 13:44:52 +02:00
Nicolas Silva
96f05a89cc
Bug 1347641 - Add MutByteSlice to pass mutable u8 slices across ffi. r=jrmuizel
2017-03-27 13:44:43 +02:00
Nicolas Silva
c95461e37f
Bug 1347641 - Add ByteSlice to pass constant u8 slices across ffi. r=jrmuizel
2017-03-27 13:44:22 +02:00
Ethan Lin
adb68a37f8
Bug 1348755 - Part2. Turn the pref on by default and set fuzzy for some reftests. r=mattwoodrow
2017-03-27 16:17:45 +08:00
Ethan Lin
caa395107a
Bug 1348755 - Part1. Handle clipping region for nsDisplayOutline. r=mattwoodrow
2017-03-27 16:17:45 +08:00
Kartikaya Gupta
07d2a35e4a
Bug 1349949 - Convert another pref to an override pref as part of merging m-c to graphics. r=me
...
MozReview-Commit-ID: DvIXvd2NxAb
2017-03-24 10:12:22 -04:00
Kartikaya Gupta
3956a6bca3
Merge m-c to graphics
...
MozReview-Commit-ID: FT418lFT961
2017-03-24 10:10:11 -04:00
Kartikaya Gupta
2f4b68419d
Bug 1349643 - Loosen thread assertion slightly. r=nical
...
When changing the webrender profiler enabled/disabled state, the change propagates
to webrender via the main thread. This violates a thread assertion. However,
the thread assertion is mostly for documentation, so we can loosen it a little
to allow for this scenario.
MozReview-Commit-ID: FWfAchQUEUq
2017-03-24 10:07:00 -04:00
Kartikaya Gupta
0fee7584e7
Merge m-c to graphics
...
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
Carsten "Tomcat" Book
492970c342
merge mozilla-inbound to mozilla-central a=merge
2017-03-23 13:44:09 +01:00
Carsten "Tomcat" Book
9b6d088496
merge autoland to mozilla-central a=merge
...
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
sotaro
249f8f9784
Bug 1349232 - Add destroyed check to CompositorVsyncScheduler::ScheduleComposition() r=kats
...
WebRenderBridgeParent works independently, if root WebRenderBridgeParent is destroyed
without CompositorBridgeParent::StopAndClearResources() call,
non-root WebRenderBridgeParent are still active and could trigger ScheduleComposition().
The change prevents to trigger ScheduleComposition() in this case.
2017-03-23 15:07:02 +09:00
sotaro
6499e3b68e
Bug 1349465 - Ensure we don't enable WebRender if the GPU process is disabled r=kats
...
gfxWindowsPlatform overrides InitAcceleration, and the override calls
InitGPUProcessSupport, which may disable the GPU process. Therefore, in
order to capture this scenario, we need to initialize WebRender after
the subclass implementation has run, rather than at the end of the base
class implementation, which is before InitGPUProcessSupport has run.
2017-03-23 11:26:24 +09:00
Wes Kocher
b31e9e6a39
Merge inbound to central, a=merge
...
MozReview-Commit-ID: EQ7w1Gld1K2
2017-03-22 17:10:01 -07:00
Mason Chang
b8ac3c92fc
Bug 1348913 - Update webrender to 0794911f97cae92496fca992d7430da696fa24eb. r=kats
2017-03-22 14:26:52 -07:00
Lee Salzman
aa429c08b7
Bug 1347262 - fix Skia's round_asymmetric_to_int to bias all sides. r=jrmuizel
...
MozReview-Commit-ID: AMDi6YF0zn
2017-03-22 15:03:03 -04:00
Jeff Muizelaar
da3210576b
Bug 1119128. Eliminate gfxPangoFontGroup and gfxFontconfigUtils. r=lsalzman
2017-03-22 14:58:19 -04:00
Jeff Muizelaar
49eb5ba0b6
Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
...
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Lee Salzman
baebc83432
Bug 1347632 - make RecordedSourceSurfaceCreation fallible. r=tobytailor
...
MozReview-Commit-ID: G4x3zTluGb4
2017-03-22 14:57:25 -04:00
Kartikaya Gupta
e0d4c1bfb3
Bug 1347811 - Fix build bustage due to unified builds and missing include. r=bustage
...
MozReview-Commit-ID: KHDOBrRqhVU
2017-03-22 11:10:52 -04:00
Kartikaya Gupta
9608ac4946
Merge m-c to graphics
...
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Carsten "Tomcat" Book
62f6c37109
merge mozilla-inbound to mozilla-central a=merge
2017-03-22 14:26:27 +01:00
sotaro
cc4d383fff
Bug 1347811 - Share WebRenderCompositableHolder between WebRenderBridgeParent r=nical
2017-03-22 10:27:38 +09:00
Carsten "Tomcat" Book
534f3aebc6
Merge mozilla-central to mozilla-inbound
2017-03-22 16:13:03 +01:00
Kartikaya Gupta
7fc02188d8
Merge m-c to graphics
...
MozReview-Commit-ID: AxmKwI9dnre
2017-03-21 09:21:34 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
sotaro
8d50f9ae87
Bug 1348209 - Make wr_renderer_readback() as to handle both GL and GLES r=kats
2017-03-21 11:27:27 +09:00
Wes Kocher
4f5262444c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Petr Cerny
89ce732573
Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
...
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
Kartikaya Gupta
f3f86c130e
Bug 1346856 - Update webrender to dab674d09a51ff5253da0797d129bf29b25896e5. r=jrmuizel
2017-03-20 13:41:23 -04:00
KuoE0
399d6c086f
Bug 1348221 - Implement NewNamedTimerCallback to create named timer callback. r=kats
...
MozReview-Commit-ID: IcEVkfB3puW
--HG--
extra : rebase_source : 45e3f28325d5e6da41fb65688d518170eb5764bb
2017-03-21 00:38:11 +08:00
Sotaro Ikeda
ece294bef8
Bug 1325911 - Update Gleam to v0.4. r=kats
...
MozReview-Commit-ID: 6QghwNrEC9V
2017-03-20 12:10:40 -04:00
Kartikaya Gupta
0a0a696241
Merge m-c to graphics
...
MozReview-Commit-ID: 2CbNs260zlf
2017-03-20 10:07:29 -04:00
Carsten "Tomcat" Book
d61e0b9ced
merge mozilla-inbound to mozilla-central a=merge
2017-03-20 13:10:48 +01:00
Ethan Lin
c6f971413b
Bug 1343450 - Keep gfxPrefs sorted alphabetically. r=me
2017-03-20 14:52:28 +08:00
Ethan Lin
58f9109c72
Bug 1343450 - Convert nsDisplayCanvasBackgroundColor to WebRenderDisplayItemLayer. r=mattwoodrow
2017-03-20 14:41:55 +08:00
Mason Chang
f47b17cdff
Bug 1347727. Detect box shadow outer cases that WR doesn't support and don't enable a layer for it in WR. r=rhunt
2017-03-17 15:06:57 -07:00
Kartikaya Gupta
99947c2a87
Merge m-c to graphics
...
MozReview-Commit-ID: 3MU0IxcKSwo
2017-03-17 15:37:52 -04:00
Kartikaya Gupta
0485af4853
Merge m-c to graphics
...
MozReview-Commit-ID: 5m04vXUTlsy
2017-03-17 11:03:02 -04:00
Carsten "Tomcat" Book
3e0a5441c6
Merge mozilla-central to mozilla-inbound
2017-03-17 14:55:15 +01:00
Jeremy Chen
9a60f77d80
Bug 1343516 - clean up the mess of PropertyProvider and its implementations. r=jfkthame
...
The cleanup work includes:
part 1: make all methods 'const' for the abstract class of PropertyProvider.
part 2: make nsFontMetrics's StubPropertyProvider final.
part 3: make nsTextFrame's PropertyProvider final.
Make some methods 'const' and some variables 'mutable', so we could let all the
overridden methods stay const.
We also need to make the pass-in parameter of gfxFontGroup's GetHyphenWidth const.
Note that the comment of GetHyphenWidth seem outdated, so I fixed it as well.
part 4: make the member variables in nsTextFrame's PropertyProvider to be 'const'.
Make all the member variables 'const' except mStart, mLength,
mJustificationArrayStart, and mJustificationSpacings.
The static function AdvanceToNextTab is fixed since we only use 2 of the 4 parameters.
part 5: coding style fix for nsTextFrame's PropertyProvider.
MozReview-Commit-ID: 1kbWPwx27aQ
2017-03-17 18:53:15 +08:00
Miko Mynttinen
6e4add711b
Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
...
MozReview-Commit-ID: H3YmadD8sFz
--HG--
extra : rebase_source : 8bd9f9b58d8e50fd925299fec6fc464ee50886c0
2017-03-16 21:51:54 +01:00
Kartikaya Gupta
5041aa0404
Merge m-c to graphics
...
MozReview-Commit-ID: 6JFx7MHUHgW
2017-03-15 08:55:17 -04:00
sotaro
8f6c141289
Bug 1347443 - Fix IsAccelAngleSupported() for RenderThread r=nical
2017-03-15 21:14:17 +09:00
Carsten "Tomcat" Book
f807b332df
merge mozilla-inbound to mozilla-central a=merge
2017-03-15 13:12:42 +01:00
sotaro
a6bf6f2a63
Bug 1347050 - Remove unused workarond from ProcessWebRenderCommands r=nical
2017-03-15 16:28:13 +09:00
Carsten "Tomcat" Book
c3b7907400
Backed out changeset a6780188f669 (bug 1314543
) for suspicion this cause perma windows 7 xpcshell failures
2017-03-17 10:57:41 +01:00
Martin Robinson
0b2914c22c
Bug 1347155 - WebRender clips should not share ServoScrollRootIds. r=jrmuizel
...
MozReview-Commit-ID: JVqe0IWqpJs
2017-03-14 15:26:10 +01:00
Kartikaya Gupta
2f22c78913
Merge m-c to graphics
...
MozReview-Commit-ID: 10errEhAlqw
2017-03-14 11:42:39 -04:00
Kartikaya Gupta
8904708de7
Bug 1346915 - Update webrender to 7da345684dc29ca60f29cb79acc8d99c474ec477. r=me
...
This picks up a fix for a bug introduced in a previous update.
MozReview-Commit-ID: JAPml5JTVJi
2017-03-14 08:37:54 -04:00
Mats Palmgren
2feec4025d
Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
...
* * *
[mq]: sssssssss
MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Mats Palmgren
eeffa0c3eb
Bug 1333482 part 1 - [css-ui] Introduce the 'appearance: auto | none' property. r=dholbert
...
MozReview-Commit-ID: 3itCDTKuYQ9
2017-03-23 22:11:17 -07:00
Kartikaya Gupta
b6566b9f0c
Bug 1349949 - Turn some advanced layers prefs into override prefs. r=mchang
...
This allows us to remove the #ifdef MOZ_ENABLE_WEBRENDER for the advanced layers
prefs from all.js. As additional advanced layers are turned on for webrender (or
non-webrender) they can be converted into override prefs without affecting the
call sites.
MozReview-Commit-ID: F9tMc23ow8A
--HG--
extra : rebase_source : 2244cb000711496ce5b7f1b50ef0314e1c312d94
2017-03-23 16:29:54 -04:00
Kartikaya Gupta
7a77ecd448
Bug 1349949 - Add the notion of an "override pref" to gfxPrefs.h. r=mchang
...
An override pref is one that is stored as a tri-state int32_t pref in the gecko
preferences system (with values 0, 1, or 2), but is exposed as a bool via the
gfxPrefs API. The int32_t value defaults to 2, which means that gfxPrefs will
take the value from somewhere else (which can be customized per-pref). If the
int32_t value stores 0 or 1, those correspond to force-disabled and force-enabled
respectively, and the gfxPrefs API will return false or true.
This allows the default value of a pref to be conditional upon other features
(e.g. webrender being enabled or not), but still allows the user or code to
override it into the enabled or disabled state.
MozReview-Commit-ID: KaihVyHrw2q
--HG--
extra : rebase_source : 053adc51a982f48e56035f453801d5987884a052
2017-03-23 16:29:52 -04:00
sotaro
489d43d47c
Bug 1348936 - Fix BasicPlanarYCbCrImage::CopyData() r=nical
2017-04-05 11:45:13 +09:00
Eric Rahm
89708e6a2a
Bug 1353143 - Part 5: Replace direct usage of PR_LogPrint. r=froydnj
...
This replaces the usage of |PR_LogPrint| with either |printf_stderr| or
|MOZ_LOG| where appropriate. |printf_stderr| is used where a logger is not
actually available or if log levels are not being used as expected.
2017-04-04 14:36:21 -07:00
Brendan Dahl
a1f2e12af8
Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
...
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
cku
e2d44c26bf
Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
...
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.
I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.
All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.
I also filed bug 1346124 for handle the returning value of PaintMarkers.
[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415
MozReview-Commit-ID: Iq9RPQ6Omz0
--HG--
extra : rebase_source : bc338b1a33f1dbf209706577b2455315dfb855e2
2017-03-16 12:17:19 +08:00
Mason Chang
516a3654f4
Bug 1346451 - Delete WebRenderBorderLayer. r=ethlin
2017-03-11 10:04:26 -08:00
Kartikaya Gupta
916f12ed8f
Merge m-c to graphics
...
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta
ca0d33d72c
Bug 1344947 - Update webrender to e30fb2914928c0e596d8632ed234647c0fd1492e. r=jrmuizel
...
This also updates calls to push_scroll_layer in webrender_bindings to go with
a change in the API.
2017-03-13 13:03:06 -04:00
sotaro
90e35e2b18
Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel
2017-03-13 23:55:39 +09:00
Carsten "Tomcat" Book
c1edc7067d
merge mozilla-inbound to mozilla-central a=merge
2017-03-13 15:22:26 +01:00
sotaro
a7e80b153d
Bug 1345712 - Fix rebasing failure r=jrmuizel
2017-03-13 15:46:05 +09:00
Morris Tseng
11f13fedeb
Bug 1341156 - Modify webrender_ffi and add OpDPPushBorderImage. r=kats r=ethlin
...
MozReview-Commit-ID: Ct63gy6nk3q
2017-03-13 11:46:03 +08:00
vincentliu
115a96aa36
Bug 1314543
- Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander
2017-03-17 09:49:13 +08:00
Kartikaya Gupta
0ea7443517
Merge m-c to graphics
...
MozReview-Commit-ID: 3GcCKcscfkz
2017-03-10 09:58:01 -05:00
Carsten "Tomcat" Book
2aa23b0487
Backed out changeset 5a0c4791eef5 (bug 1291483) for causing start up crashes like bug 1346215
2017-03-10 15:47:53 +01:00
Carsten "Tomcat" Book
cc77b844e8
Backed out changeset c8bfaf1927b6 (bug 1291483)
2017-03-10 15:47:28 +01:00
Carsten "Tomcat" Book
1a363b7fe3
merge mozilla-inbound to mozilla-central a=merge
2017-03-10 11:38:18 +01:00
Ethan Lin
4aef499dc0
Bug 1341565 - Use external image to handle mask layer. r=jrmuizel
2017-03-10 17:51:47 +08:00
sotaro
68f1724050
Bug 1345712 - Add ScaleMode handling to WebRenderImageLaye r=jrmuizel
2017-03-10 17:48:22 +09:00
sotaro
7277c12244
Backout Bug 1345712
2017-03-10 15:56:26 +09:00
sotaro
61dd0b4f9c
Bug 1345712 - Add ScaleMode handling to WebRenderImageLayer r=jrmuizel
2017-03-10 14:14:43 +09:00
Ehsan Akhgari
dcb0bf572d
Bug 1345497 - Remove the unused PVRManager::GetControllers sync IPC; r=kip,billm
2017-03-09 23:26:47 -05:00
Jeff Gilbert
19d2cbc4c8
Bug 1339256 - Don't assert on unrecognized context reset strategy - r=daoshengmu
...
MozReview-Commit-ID: CITo6W0FLQS
2017-03-09 18:57:49 -08:00
Jeff Gilbert
5ef33e1ddb
Bug 1339256 - Only request robustness if requested on EGL - r=daoshengmu
...
MozReview-Commit-ID: GlMpalFwS2U
2017-03-09 18:57:47 -08:00
Jeff Gilbert
08f8399fe5
Bug 1339256 - Double-check robustness. - r=daoshengmu
...
MozReview-Commit-ID: 20csUTf7q6e
2017-03-09 18:57:45 -08:00
Jeff Gilbert
e63fc0df83
Bug 1339256 - Detect robust_buffer_access_behavior. - r=daoshengmu
...
MozReview-Commit-ID: 4w5D9bOQbY8
2017-03-09 18:57:41 -08:00
Iris Hsiao
554a65e406
Backed out 6 changesets (bug 1343814) for bustage
...
Backed out changeset 64c73abd4190 (bug 1343814)
Backed out changeset 3bf615dfeba0 (bug 1343814)
Backed out changeset d55f871c503d (bug 1343814)
Backed out changeset 11811b48bbbe (bug 1343814)
Backed out changeset 53c6fa699fa7 (bug 1343814)
Backed out changeset 4768fe2f6131 (bug 1343814)
2017-03-10 10:25:22 +08:00
Ethan Lin
9b04b94de9
Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow
...
--HG--
extra : rebase_source : 347513138d518b6f331ae6130c74bc250ccda4be
2017-03-10 09:57:07 +08:00
David Anderson
117bdbcd68
Attach Compositables to TextureSourceProviders instead of Compositors. (bug 1343814 part 5, r=mattwoodrow)
...
--HG--
extra : rebase_source : 323b92ae955a55879ce547a6e131e1900a0102d9
2017-03-09 17:35:14 -08:00
David Anderson
689f898870
Propagate the compositor through CompositableHost::Composite. (bug 1343814 part 4, r=mattwoodrow)
...
--HG--
extra : rebase_source : 31b056537526e51192feeebf8a29e8d22d1ad88d
2017-03-09 17:35:14 -08:00
David Anderson
a73b2f32a3
Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 39795baf0206c5e93509278b50ce2fda9f780542
2017-03-09 17:35:13 -08:00
David Anderson
33f3757bd2
Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 972d28b91d7de8dd884de6f4b38490e0639b619a
2017-03-09 17:35:13 -08:00
David Anderson
ffcc4aab30
Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 0227bb9055ef1fd5a89645dbc2b6a4e13d81c469
2017-03-09 17:35:13 -08:00
David Anderson
cdc76620a2
Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 7e0773b97536f8418f12fa00ac82dd4166b5ab25
2017-03-09 17:35:12 -08:00
vincentliu
8b4e18d1e6
Bug 1343851 - Add nullptr check for SurfaceFactory in StartVRPresentation. r=mtseng
2017-03-10 09:30:49 +08:00
Ryan Hunt
c929394332
Bug 1345975 - Run WebRender bindings through rustfmt r=kats
...
MozReview-Commit-ID: 6v8MLG9WsDE
--HG--
extra : rebase_source : 051f220bcf499c3b53ac721c2fb01e822ca750ed
extra : histedit_source : 6a1550bc1f2e70cc29a18343f9893041f0a255bf
2017-03-09 17:54:17 -05:00
Ryan Hunt
ce3aaba06a
Bug 1345975 - Use some enums with repr(u32) directly r=kats
...
MozReview-Commit-ID: Hbr2aNTUhDA
--HG--
extra : rebase_source : 538894f620a4523d6968055a775b0cbcfc57c7ac
extra : histedit_source : 1ff190b22dbe3b5d16c487c210e82c5de352b6a9
2017-03-09 17:39:40 -05:00
Ryan Hunt
602d7e6e42
Bug 1345975 - Sort WebRender binding definitions r=kats
...
MozReview-Commit-ID: B1Z5IcAq8Qm
--HG--
extra : rebase_source : 2fd5eef5295c3191b07a52164f40aada5bcc41ca
extra : histedit_source : 93c2cdaf1b9310b0a2218a9f255fe4d2ecae6499
2017-03-09 17:39:19 -05:00
Ryan Hunt
4b5a38195a
Bug 1345975 - Rename WrLayoutSize to WrSize r=kats
...
MozReview-Commit-ID: JY9YyoypFym
--HG--
extra : rebase_source : c98514af0e2ed1deb5a7a7c9dc74dd77bb536d3e
extra : histedit_source : 748ca189b70aece54cabd179877ec3852042e355
2017-03-09 16:58:33 -05:00
Lee Salzman
7fed4b26a7
Bug 1345815 - fix BasicLayers OOM with recording playback by avoiding copies. r=tobytailor
...
MozReview-Commit-ID: 1r5sOZv0Gp6
2017-03-09 16:08:40 -05:00
Jeff Gilbert
4cce4a821f
Bug 1345648 - Add BREAK_ON_D3D_ERROR to DeviceManagerDx - r=kvark
...
MozReview-Commit-ID: DgHPXgjOi3f
2017-03-09 12:55:01 -08:00
Jeff Gilbert
5b899ebc2d
Bug 1345648 - Use ID3DDeviceContextState to support NV_dx_interop2 on D3D11 on AMD - r=kvark
...
MozReview-Commit-ID: AzUbKzQp9lT
2017-03-09 12:54:58 -08:00
Ryan Hunt
d6f7d08e28
Bug 1345975 - Clean up WebRenderLayer code r=kats
...
MozReview-Commit-ID: DWlAaJwuxlD
--HG--
extra : rebase_source : 3e8e49f1afb301063d8ab84f34181adf19a540d5
extra : histedit_source : ff74cc203ab0c5ac1289fe85403d78a60f404b2b
2017-03-09 12:35:33 -05:00
sotaro
202715bd8b
Bug 1345749 - Apply RelativeToVisible r=jrmuizel
2017-03-10 07:49:53 +09:00
Ryan Hunt
4450cd3bae
Bug 1345907 - Use clip region instead of clip rect r=kats
...
--HG--
extra : rebase_source : 23506430d8aa7b2097de208a3415d8597a1e13cd
2017-03-09 11:57:06 -05:00
Ryan Hunt
f940d903d8
Bug 1345907 - Add bindings for ClipRegion r=kats
...
--HG--
extra : rebase_source : ef7e188eee29e2d2abc069940c84e4e3769948ed
2017-03-09 11:54:16 -05:00
Kartikaya Gupta
8f54e2114e
Merge m-c to graphics
...
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Samael Wang
dbb9457981
Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow
2017-03-09 18:35:50 +08:00
Jason Kratzer
3fc774a96c
Bug 1056516 - add crashtest. r=jfkthame
...
MozReview-Commit-ID: 8jJkVG7uzmH
2017-03-13 12:54:06 +08:00
Jeremy Chen
0316fede8c
Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
...
MozReview-Commit-ID: F3ALAJRHned
2017-03-13 12:54:05 +08:00
Jeremy Chen
2e09040e6e
Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
...
MozReview-Commit-ID: AX3NNDS4hxP
2017-03-13 12:54:05 +08:00
Jeremy Chen
17dca35346
Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
...
MozReview-Commit-ID: 2sFqlGdoCcm
2017-03-13 12:54:04 +08:00
Ethan Lin
1928c02454
Bug 1344622 - Part2. Add webrender support for nsDisplayButtonForeground. r=mattwoodrow
2017-03-09 16:58:39 +08:00
sotaro
6a06e56c91
Bug 1345344 - Pass stride for ExternalImageBuffer r=nical
2017-03-09 11:10:09 +09:00
Mason Chang
8704f07a03
Bug 1345523 - Clean up duplicated WebRenderLayer code. r=kats
2017-03-08 10:32:53 -08:00
Mason Chang
2289ed06ba
Bug 1343979 - Add webrender support for ButtonBorderBackground. r=ethlin
2017-03-08 08:31:46 -08:00
Kartikaya Gupta
b17625cf2c
Bug 1339433 - Fix an inconsistent name (capitalize R in WebRender). r=jrmuizel
...
MozReview-Commit-ID: FdPDm28VTXl
2017-03-08 10:14:49 -05:00
Kartikaya Gupta
a45bb3a916
Merge m-c to graphics
...
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
Ryan Hunt
c34aafb126
Bug 1341101 part 6 - Build WR gradients for nsDisplayBackgroundImage when supported r=jrmuizel
...
MozReview-Commit-ID: 3VKLZQZWyrG
--HG--
extra : rebase_source : c4dcfcff043b0f1b83a274e63a1aae32890bc968
2017-03-15 02:51:16 -04:00
Ryan Hunt
cfc9025674
Bug 1341101 part 3 - Support building WR gradients in nsCSSGradientRenderer r=mattwoodrow
...
MozReview-Commit-ID: HLSmseHj5Si
--HG--
extra : rebase_source : b8e39ba51c6ab28a2c9ed7b694e5098e50bf022c
2017-03-15 03:20:02 -04:00
Wes Kocher
914dd4b76c
Merge inbound to m-c a=merge
2017-03-28 13:30:56 -07:00
Jeff Muizelaar
f55b504a1b
Bug 1345140. Remove unused WebRenderCommand infrastructure. r=kats
2017-03-07 15:50:55 -05:00
Kearwood Gilbert
4e410934af
Bug 1346923 - Remove PVRManager::GetDisplays sync IPC r=daoshengmu,kanru
...
- PVRManager::GetDisplays was a sync IPC that was part of an optimization
for a use case that has been eliminated by changes to the WebVR spec.
- This was an optimization for Navigator.activeVRDisplays that would allow
enumeration of displays active in any content process without powering
on any additional VR hardware. This will no longer be necessary as the
activeVRDisplays has been restricted to returning only the displays
active in the current javascript context.
MozReview-Commit-ID: F6sOtM9nups
--HG--
extra : rebase_source : bd8967fab9677206d998eea922c8d1640551de1c
2017-03-15 16:40:57 -07:00
Kearwood Gilbert
d6adf366f6
Bug 1344393 - Add StageParameters for Oculus r=daoshengmu
...
MozReview-Commit-ID: 9OkleewwS2b
--HG--
extra : rebase_source : 75bffc843ba9a3d869700334c41ceb910707e5f4
2017-03-17 13:33:56 -07:00
Botond Ballo
fde5b63146
Bug 1346632 - Add a mochitest. r=kats
...
MozReview-Commit-ID: 2o3cpTaGG1V
--HG--
extra : rebase_source : 25dc7749225bab57ebcce79533c105f3ff164dff
2017-03-15 17:49:50 -04:00
Botond Ballo
4acfa9a890
Bug 1346632 - On desktop platforms, do not ignore the root scroll frame when hit-testing in PrepareForSetTargetAPZCNotification. r=kats
...
Doing so produces incorrect hit testing results in some scenarios, e.g. when
dragging the scrollbar on certain pages.
MozReview-Commit-ID: AA0nu042U00
--HG--
extra : rebase_source : d84849d5bd22eee7fb837e8c717d202ce1bc5c86
2017-03-15 17:52:13 -04:00
Kartikaya Gupta
90db7c5460
Merge m-c to graphics
...
MozReview-Commit-ID: DbHqbxaKedC
2017-03-07 10:30:42 -05:00
Carsten "Tomcat" Book
087da3f0d9
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
sotaro
1d710a54ef
Bug 1343764 - Add ExternalBuffer handling r=nical
2017-03-07 19:37:28 +09:00
Jeff Gilbert
f6e6e9870e
Bug 1347289 - Remove GL context sharing support except on EAGL - r=snorp
...
MozReview-Commit-ID: FUGSsQ9r7Bd
2017-03-14 19:59:10 -07:00
Lee Salzman
f942812710
Bug 1347147 - fix DrawTargetD2D1::GetImageForSurface to support uploads in device-space. r=mchang
...
MozReview-Commit-ID: 2galhKidxca
2017-03-14 22:17:47 -04:00
Jeff Gilbert
74573e136b
Bug 1347249 - Fallback to simpler attribs on EGL context creation failure. - r=snorp
...
MozReview-Commit-ID: LtuhxfdVLdk
2017-03-14 14:43:52 -07:00
Bas Schouten
f500c10597
Bug 1345814: Don't use mutices when the decoding device is the compositor device anyway. r=mattwoodrow
...
MozReview-Commit-ID: GOwyVKFSkRa
2017-03-13 12:29:22 +00:00
Jonathan Kew
d48350696a
Bug 1345461 - Adjust vector allocation. r=jrmuizel
...
--HG--
extra : rebase_source : 952dc8c19548913d77db77f4ad5c2fe036167794
2017-03-09 21:07:05 +00:00
Jeff Muizelaar
5fef9e7fdb
Bug 1346585. Only call describe when we're actually going to do the logging r=kats
...
Element::Describe() was taking 238ms on
https://bevasarlas.tesco.hu/groceries/en-GB .
We definitely don't want to be doing it if we don't have to.
2017-03-15 17:54:56 -04:00
Jeff Muizelaar
900393a0dc
Bug 1344396. Build the display lists directly. r=kats
...
This is a largely uninteresting patch that just uses the DisplayListBuilder
directly. A wonderful cleanup patch will come after this. One of the more
interesting pieces is the use of PushBuiltDisplayList. This is needed for
handling empty transactions. See https://github.com/servo/webrender/pull/934
for more info.
2017-03-06 23:16:30 -05:00
Daosheng Mu
62781e3b7d
Bug 1299937 - Part 6: Handle Stop vibrating when the window defoucses; r=qdot
...
MozReview-Commit-ID: Kvd40jnSPvK
--HG--
extra : rebase_source : f9ce4c68fd07376b8e18cbab08718c49d6fed455
2017-03-07 10:17:57 +08:00
Jeff Muizelaar
724ef940ac
Bug 1343019 - Call set_window_parameters as appropriate. r=kats
...
MozReview-Commit-ID: 14f4vetRM98
2017-03-06 17:41:51 -05:00
Kartikaya Gupta
cc2056e901
Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
...
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.
MozReview-Commit-ID: 6dRHvAmIQ40
--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
Kartikaya Gupta
d1c0646e94
Merge m-c to graphics
...
MozReview-Commit-ID: 61tTUPMawYc
2017-03-06 09:45:02 -05:00
jeremychen@mozilla.com
2cb71eafe4
Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
...
MozReview-Commit-ID: BWzg3pb2lDH
--HG--
extra : rebase_source : 069dc3091bf7600d4675fe9ea5d0b41bc70744ba
2017-03-10 00:30:11 +08:00
jeremychen@mozilla.com
f4ac16bb05
Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
...
MozReview-Commit-ID: 22ICYSaY1I2
--HG--
extra : rebase_source : 05e0a442dec8a8ac7f1b663808fc016ee3385aa2
2017-03-10 00:30:11 +08:00
jeremychen@mozilla.com
68ca87317f
Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
...
MozReview-Commit-ID: 1fQGiosLYG
--HG--
extra : rebase_source : cdca8fa9f308d3676a09b2735a98c13bd2a2e2ef
2017-03-10 00:30:10 +08:00
Manish Goregaokar
6a31ced725
Bug 1329093 - Part 5: Update test expectations; r=bz
...
MozReview-Commit-ID: 4mfC99WEQFG
2017-03-09 17:47:45 -08:00
Daniel Holbert
9a0f32abc3
Bug 1291483 part 2: Use UniquePtr/MakeUnique more thoroughly in chain-of-custody for gfxFont::mVerticalMetrics. r=jfkthame
...
This member-var has type 'UniquePtr', but (up until this patch) its value
is set up using "new" and raw pointers. This patch improves that codepath by
using UniquePtr & MakeUnique, for stronger ownership guarantees.
MozReview-Commit-ID: KWZVpvr9bYj
--HG--
extra : rebase_source : 4e46d355078c7da6ae750f3ca06586dc8703e8a7
2017-03-09 16:38:58 -08:00
Daniel Holbert
e15e061bcc
Bug 1291483 part 1: Use 'MakeUnique' instead of 'new' to allocate gfxFont::mGlyphChangeObservers. r=jfkthame
...
MozReview-Commit-ID: 7FO1HAukp5j
--HG--
extra : rebase_source : f87450b6b0627ac615ec5e4850308e4b0e159df7
2017-03-09 16:38:56 -08:00
Carsten "Tomcat" Book
d0bd960945
merge mozilla-inbound to mozilla-central a=merge
2017-03-06 10:53:27 +01:00
Iris Hsiao
f55fc8d7c5
Backed out 3 changesets (bug 1311802) for mochitest failures in test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
...
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 14:35:43 +08:00
Daosheng Mu
7365b64923
Bug 1306493
- Part 6: disable require gesture when running VR tests; r=kip
...
MozReview-Commit-ID: EGTumxkgcDW
--HG--
extra : rebase_source : f9448d700c6b58c7aaa865e5f73e9265240f5569
2017-03-16 11:46:22 +08:00
Daosheng Mu
66f6566530
Bug 1306493
- Part 5: Make we only have one VRMockDisplay in tests; r=kip
...
MozReview-Commit-ID: ACIszhHGUiQ
--HG--
extra : rebase_source : 66addde807ff29315c903506439eed39b900b52e
2017-03-15 13:50:34 +08:00
Daosheng Mu
1785cdc8c9
Bug 1306493
- Part 4: Make timestamp to be a monotonically increasing value in VRMockDisplay; r=kip
...
MozReview-Commit-ID: COR9n3fQBTX
--HG--
extra : rebase_source : 373621c4f46ad438b7ba2ae5555965025e46ce23
2017-03-15 13:49:39 +08:00
Daosheng Mu
f09c777451
Bug 1306493
- Part 1: Fix bug of getting frame data from VRPuppet; r=kip
...
MozReview-Commit-ID: L8gPVjxELtV
--HG--
extra : rebase_source : 1790c8970e5401c1e0c4431c947f9bdad2fa2c34
2017-03-13 13:07:48 +08:00
sotaro
99e7d5243f
Bug 1342833 - WebRenderBridgeParent::ClearResources() does not clear DisplayList r=jrmuizel
2017-03-06 10:42:17 +09:00
Masatoshi Kimura
5bd0d3df16
Bug 1345222 - Fix user-set ClearType params detection. r=mchang
...
MozReview-Commit-ID: B7bCPbZ9id9
--HG--
extra : rebase_source : c7c7a1c55fb28c415315fc1c820e2192a222d224
2017-03-10 00:47:44 +09:00
Kartikaya Gupta
48fb1c4b1e
Merge m-c to graphics
...
MozReview-Commit-ID: GK8bGynKhO5
--HG--
rename : browser/components/extensions/ext-theme.js => toolkit/components/extensions/ext-theme.js
rename : browser/components/extensions/schemas/theme.json => toolkit/components/extensions/schemas/theme.json
rename : browser/components/extensions/test/browser/browser_ext_themes_chromeparity.js => toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js
rename : browser/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js => toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js
rename : browser/components/extensions/test/browser/browser_ext_themes_lwtsupport.js => toolkit/components/extensions/test/browser/browser_ext_themes_lwtsupport.js
2017-03-03 08:28:21 -05:00
Carsten "Tomcat" Book
cf269a43bd
merge mozilla-inbound to mozilla-central a=merge
2017-03-03 13:03:48 +01:00
Jeff Muizelaar
033a5b26a9
Bug 1343770. Separate out Parent commands from Child commands. r=kats
...
This basically just splits the enum in two and does the necessary plumbing. The
worst part is that now DisplayItemLayers need to have two arrays of commands.
Fortunately, this will be going away in the future.
This makes it so we don't send the child side commands to the parent.
2017-03-02 16:33:25 -05:00
Kartikaya Gupta
da21c649df
Bug 1343984 - Turn on warnings-as-errors for webrender_bindings. r=jrmuizel
...
MozReview-Commit-ID: C8r1IwbQP7g
2017-03-02 16:26:27 -05:00
Kartikaya Gupta
0b39a30695
Bug 1343984 - Comment out the unused WrExternalImageIdType stuff as it produces hard-to-remove webrender_bindings warnings. r=jrmuizel
...
MozReview-Commit-ID: 3CGCGPAVBNn
2017-03-02 16:26:17 -05:00
Kartikaya Gupta
59016d2bf3
Bug 1343984 - Fix trivial webrender_bindings warnings. r=jrmuizel
...
MozReview-Commit-ID: 4jJu1ERRIz6
2017-03-02 16:26:07 -05:00
Mason Chang
bc8f4ec5ff
Bug 1343253 - Enable AA and Subpixel AA in Webrender. r=milan
2017-03-02 08:37:59 -08:00
Kartikaya Gupta
036b81ce75
Merge m-c to graphics
...
MozReview-Commit-ID: 2ILLtbCmQL3
2017-03-02 10:27:31 -05:00
Carsten "Tomcat" Book
1bff8bff6d
Merge mozilla-central to autoland
2017-03-28 13:06:52 +02:00
cku
a55d02afd1
Bug 1345853 - Part 4. Pass sync decode flag down to nsSVGPatternFrame::PaintPattern. r=tnikkel
...
MozReview-Commit-ID: 1bHMINhs121
--HG--
extra : rebase_source : 8da9c0d77dd9a32be392f43d3be266d365894b3a
2017-03-25 03:19:18 +08:00
cku
148bb081ca
Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
...
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.
I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.
All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.
I also filed bug 1346124 for handle the returning value of PaintMarkers.
[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415
MozReview-Commit-ID: Iq9RPQ6Omz0
--HG--
extra : rebase_source : ca7a35bb9f5e27880d5dc62e03feb91b6ac3435d
2017-03-21 10:12:23 +08:00
Wes Kocher
ed79d988f0
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 4DDSNU4ABBB
2017-03-27 17:03:30 -07:00
Bobby Holley
ffdc76986b
Bug 1351026 - Followup build bustage fix. rpending=froydnj CLOSED TREE
...
MozReview-Commit-ID: FnzU7d5Emq1
2017-03-27 14:34:46 -07:00
Kartikaya Gupta
e69fbe4b0d
Bug 1338347 - Add code to measure the maximum number of contiguous frame drops in a compositor animation. r=botond
...
This value is computed directly from the longest frame length using the vsync
interval.
MozReview-Commit-ID: 9ALXBqAVyb8
--HG--
extra : rebase_source : 4798fa4e5734db98338fa9fcccb5e64b2c3354c4
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
a6036c3329
Bug 1338347 - Refactor to group fields into a per-animation data structure. r=botond
...
No functional changes here, just creating a struct that we will expand in the
next patch.
MozReview-Commit-ID: HlSSvtIuYU5
--HG--
extra : rebase_source : fca9ec13018f77fae97c6907a188ecbfb5104921
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
dc857723e6
Bug 1338347 - Record frame throughput ratio for APZ animations r=botond
...
MozReview-Commit-ID: 7Ljaya9RFeo
--HG--
extra : rebase_source : 13e92c1077cc5f257cce58ab193758395c133292
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
c58659d822
Bug 1338347 - Record frame throughput ratios for compositor animations r=botond
...
This augments the AnimationMetricsTracker to also track compositor animations
triggered by chrome and content layers separately. During the animation, the
tracker keeps a count of frames composited, and once the animation ends, it
uses the wall-clock time and vsync interval to compute the expected number of
composited frames. It then submits a ratio of actual/expected to telemetry.
A score of 1000 (because the ratio is scaled up to an integer between 0 and 1000)
indicates a perfect score with no frames dropped. Lower values are worse, and
values significantly above 1000 indicate abnormal behaviour. Values may be slightly
above 1000 due to rounding error or vsync jitter.
MozReview-Commit-ID: 30Vw0j3dm9G
--HG--
extra : rebase_source : a35c764549c3441f89521629acfa11be82c004ae
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
e459ecb293
Bug 1338347 - Have the animation-sampling code track which process the animations are in. r=botond
...
This allows the AsyncCompositionManager to know whether compositor animations
are coming from chrome layers or content layers (using the rootmost RefLayer
as the boundary). This information is needed to have the compositor animation
telemetry probes separate information by chrome/content.
MozReview-Commit-ID: GqHczgrzXE5
--HG--
extra : rebase_source : da0a279f3f09687133c4dea7c28b6bfebcc66cac
2017-03-20 11:41:05 -04:00
Kartikaya Gupta
3a0ad46db3
Bug 1350986 - Add some gfxCriticalNote messages for WebRender startup failure codepaths. r=jrmuizel
...
MozReview-Commit-ID: 7VHA8QBMvJ8
--HG--
extra : rebase_source : e90a2a9f5d89e417e02b1a6cc67fcc3e6973c115
2017-03-27 14:32:39 -04:00
Jeff Muizelaar
6baef7cadb
Bug 1341064. Send child side built display lists over gecko ipc to compositor.
2017-03-01 20:37:59 -05:00
sotaro
2fef961bd1
Bug 1343457 - Update external image adding api r=kats
2017-03-02 10:22:40 +09:00
Wes Kocher
8f1654d5da
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: FnlgTDNtM67
2017-03-14 17:24:12 -07:00
Daosheng Mu
14584d2aa7
Bug 1346680 - Duplicate refcount on VRLayerParent/Child when the construction; r=kip
...
MozReview-Commit-ID: BpEmUkgmPA3
--HG--
extra : rebase_source : 2f235d5dbbb8204de3c9baaee27b3fccccc7896d
2017-03-14 12:40:19 +08:00
Kartikaya Gupta
0525357947
Bug 1343977 - Ensure that synthetic mouseclicks generated from touch gestures don't reopen rollups. r=botond,enndeakin+6102
...
Synthetic mouseevents generated from touch gestures are dispatched asynchronously
from the touch events. This means that the nsAutoRollup that the widget puts on
the stack during the dispatching of the touch events is no longer in scope when
we get around to firing the mouse events. As a result, the mouse events can end
up reopening rollups that got closed by the touch events and that shouldn't be
reopened. We fix this by stashing the rollup that was in scope while the touch
events were being dispatched, and make sure we keep that in scope for the
synthetic mouse events.
MozReview-Commit-ID: HjteKHfAqvD
--HG--
extra : rebase_source : 46217b1ba610ef193963ccab454a6f584af61a2b
2017-03-13 10:44:59 -04:00
L. David Baron
8d8382d9ed
Bug 1348894 - Use CheckedInt more. r=jgilbert
...
MozReview-Commit-ID: G5edsCAvRix
--HG--
extra : transplant_source : %E6%FB%C4R%E3%86%1728%E9%D4%1Br%FEs%E5%E9%90%B8%96
2017-03-29 22:52:12 -04:00
vincentliu
67a283ef9a
Bug 1314543
- Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander
2017-03-30 09:23:24 +08:00
Wes Kocher
3c0c112ff9
Merge m-c to inbound, a=merge
2017-03-29 15:47:46 -07:00
Wes Kocher
8e0bc97954
Merge inbound to central, a=merge
2017-03-29 15:41:57 -07:00
Lee Salzman
11961c7776
Bug 1343813 - make NativeFontResourceGDI send the LOGFONT as scaled font instance data. r=bobowen
...
MozReview-Commit-ID: F4UCQSXScHz
2017-03-29 18:22:06 -04:00
Wes Kocher
d6c321a6a9
Merge autoland to central, a=merge
2017-03-29 15:20:43 -07:00
Daosheng Mu
22ebee8da0
Bug 1305892 - Support Oculus Touch Haptic Feedback; r=kip
...
MozReview-Commit-ID: 7V931IAcbbx
--HG--
extra : rebase_source : 3423aa7a99b79293783cb1572f8ad3d7a257c7c7
2017-03-29 17:58:11 +08:00
Lee Salzman
a10fddc8eb
Bug 1350783 - support bitmaps fonts in gfxFcPlatformFontList. r=jfkthame
...
MozReview-Commit-ID: 4VQkyhx4IJE
2017-03-29 13:47:46 -04:00
Kartikaya Gupta
31557b53e5
Merge m-c to graphics
...
MozReview-Commit-ID: 6TMc1hGNQVA
2017-03-01 09:45:49 -05:00
Jeff Muizelaar
f854a142b9
Bug 1342558. Change SetRootDisplayList to consume built display lists. r=nical
2017-03-01 09:10:53 -05:00
Carsten "Tomcat" Book
3b3f4c17a2
merge mozilla-inbound to mozilla-central a=merge
2017-03-01 11:40:59 +01:00
JerryShih
cf4e2ef241
Bug 1340997
- add external image callback in RendererOGL. r=sotaro
...
MozReview-Commit-ID: 8aCSe1iu44C
2017-03-01 17:08:56 +08:00
JerryShih
72f82dbc84
Bug 1340997
- rename the external image related structure in webrender_ffi. r=sotaro
...
The name of "WrExternalImageIdId" is a little bit strange.
MozReview-Commit-ID: 8pfWxg5XuYS
2017-03-01 17:08:56 +08:00
Zibi Braniecki
f096c9aab9
Bug 1346674 - Migrate all uses of nsILocaleService::GetApplicationLocale to mozILocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: 2E7mj3yQnxB
--HG--
extra : rebase_source : 97ba5b1738b2f116ec75830ed1b23f279680035e
2017-03-12 20:39:22 -07:00
Ethan Lin
8b7fb662c7
Bug 1342356 - Remove validBufferRegion from OpAddExternalImage. r=sotaro
2017-03-01 14:11:13 +08:00
Daosheng Mu
83f1b993be
Bug 1229480: Implement Puppet VR Device; r=kip
...
MozReview-Commit-ID: hslhADrGs5
--HG--
extra : rebase_source : 8a0ead8f99f71fe36da428a4d4ead91d3ea02624
2017-03-02 00:04:12 +08:00
Lee Salzman
cebf845be0
Bug 1342571 - fix MaxStrokeExtents to account for partial pixel coverage properly. r=mstange
...
MozReview-Commit-ID: DS25AJKoVYo
2017-02-28 15:48:04 -05:00
Lee Salzman
4dfd1b6ac1
Bug 1342571 - shrink dashed DrawTargetSkia::StrokeRect where possible. r=mstange
...
MozReview-Commit-ID: 7vu9j8jCwQn
2017-02-28 15:47:46 -05:00
Bob Owen
8d80080897
Bug 1342395: Unwrap aPattern in DrawTargetRecording::FillGlyphs when calling wrapped DrawTarget. r=jrmuizel
2017-02-28 18:02:23 +00:00
Kartikaya Gupta
0839dfda73
Merge m-c to graphics
...
MozReview-Commit-ID: CAFMHywf3lQ
2017-02-28 09:16:03 -05:00
Kartikaya Gupta
a9e3ac0760
Bug 1343089 - Remove unnecessary crate dependencies from webrender_bindings. r=rhunt
2017-02-28 09:08:58 -05:00
Kartikaya Gupta
00385fa6ae
Bug 1341968
- Update webrender to commit 501e3d79c8a3019762bd8bd2d00eecf7811a84de. r=jrmuizel
...
This also updates webrender_bindings for a few API changes:
- new offset field in ImageDescriptor
- new tiling argument to add_image
- change in set_root_display_list
MozReview-Commit-ID: JUgPviRdekc
2017-02-27 10:36:49 -05:00
Matt Woodrow
ef5a44cc58
Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander
2017-02-27 16:12:12 +13:00
Sebastian Hengst
c9f5cc6b45
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 8nsStTZt40O
2017-03-18 16:24:53 +01:00
Jeff Gilbert
a0ef36e101
Bug 1347679 - Determine ContextProfile from driver and simplify version parsing. - r=daoshengmu
...
MozReview-Commit-ID: 4mBdJmsxQvD
2017-03-17 17:02:01 -07:00
Boris Chiou
06caf786e0
Bug 1348322 - Fix the initial values of gVelocityCurveFunction. r=kats
...
MozReview-Commit-ID: LDWCeRC4JBH
--HG--
extra : rebase_source : 3937add42e185d9c29f86d8626bb65e7172dcdd1
2017-03-17 23:54:46 +08:00
Kevin Chen
9347006c20
Bug 1160157 - Make AcquireSync RAII. r=bas
...
--HG--
extra : rebase_source : ac0843be287410b4fed48d7ab06cbba599735d0a
2017-03-17 00:18:00 -04:00
Jeff Muizelaar
67d7b8af2a
Bug 1345243. Remove support for building without DirectWrite. r=bas
...
Now that we don't support XP it's reasonable for us to drop support for GDI
fonts and rely solely on DirectWrite. We should start this process by removing
support for building without DirectWrite.
2017-03-17 15:39:14 -04:00
Daosheng Mu
4a4964014f
Bug 1346149 - Part 4: No longer need the index attribute in VRControllerHost; r=kip
...
MozReview-Commit-ID: 18KREzO4dy0
--HG--
extra : rebase_source : c1f711eaa4278d48e06ce18ccc6f2eedebb31345
2017-03-17 11:09:24 +08:00
Daosheng Mu
30464b7713
Bug 1346149 - Part 3: Adjust OpenVR controllers button and axis mapping to be more flexible; r=kip
...
MozReview-Commit-ID: 9qYzlgsWNXM
--HG--
extra : rebase_source : 52935ae64a0f35a8731017bc627fbb17ea659ffc
2017-03-16 15:57:04 +08:00
Daosheng Mu
a9b4ca18eb
Bug 1346149 - Part 2: Adjust Oculus Touch button and axis mapping; r=kip
...
MozReview-Commit-ID: H9FxkG0S5OL
--HG--
extra : rebase_source : d45ec0ccb7f4f0f9ca79df85b499a489983e4897
2017-03-16 15:54:00 +08:00
Daosheng Mu
ce4a76e405
Bug 1346149 - Part 1: Make button support value in VRSystemManager; r=kip
...
MozReview-Commit-ID: 72rqJZtIaDa
--HG--
extra : rebase_source : 393ad8033f656d8bd26dcf000764c51bc70f8c4f
2017-03-16 15:49:46 +08:00
Sebastian Hengst
e4de847b3c
Backed out changeset 836d16519edf (bug 1345853) for frequently failing its own test pattern-big-image.html. r=backout
2017-03-17 21:54:01 +01:00
Gregory Moore
4ecf8268a9
Bug 1204502 - Added a GTest to ensure that a nested-APZC overscroll handoff with opposing constrained axes will work properly (fixed by bug 1201098). r=botond
...
MozReview-Commit-ID: hZQQaeQBRT
--HG--
extra : rebase_source : 85539aa14502d7e38c88d0c5b358a1ae30be1606
2017-02-27 15:02:50 -08:00
Nicolas Silva
12f7354feb
Bug 1309200 - Expose the software backend in gfxVars. r=dvander
2017-03-28 16:35:55 +02:00
David Anderson
9b33134098
Fix not deallocating device data after changing OGL compositors. (bug 1350259, r=mattwoodrow)
...
--HG--
extra : rebase_source : 975ae741669600dde85ea7030252ba738c419e61
2017-03-27 14:03:59 -07:00
Nicolas Silva
70bbbf5ce9
Bug 1348291 - Call EndPaint when painting is skipped if BeginPaint was called. r=mattwoodrow
2017-03-28 14:28:45 +02:00
Boris Chiou
aa57157303
Bug 1248340 - Part 3: Implement Frames for OMTA. r=birtles
...
MozReview-Commit-ID: k3Wvl4ofe7
--HG--
extra : rebase_source : edbf827ffe102a5353c41078bd2b14c8b56eb23e
2017-02-26 15:34:02 +08:00