Commit Graph

29153 Commits

Author SHA1 Message Date
Kartikaya Gupta
b90ff6039c Bug 1435022 - Make a couple of functions private. r=sotaro
MozReview-Commit-ID: G6qC9TbIChQ

--HG--
extra : rebase_source : 53df609ead6de35621f923388d062f95042807d2
2018-02-01 16:28:52 -05:00
Kartikaya Gupta
2a7ee5280c Bug 1435022 - Inline a one-line function with a confusing name. r=sotaro
This function is exposed as public but only ever called from two places,
both of which are inside the class. It's confusing to have it as a
separate function because it just makes it harder to trace through the
code.

MozReview-Commit-ID: BC7mvOc9wo

--HG--
extra : rebase_source : 56e2c69e158685c106e01e78e31d2df67ea6128c
2018-02-01 16:28:52 -05:00
Kartikaya Gupta
28f8d7953e Bug 1435022 - Remove the ResumeComposition function from the vsync scheduler. r=sotaro
Having a resume function without a corresponding pause function seems
silly. And the implementation of the function is the same as doing a
force-compose, which is what the call site is intending to do. So we can
just remove this function and do a force-compose instead.

MozReview-Commit-ID: LimMYQhAuEk

--HG--
extra : rebase_source : f10e43c4c4a6f67162b1b473de6c23d8dbdc7a8f
2018-02-01 16:28:50 -05:00
Kartikaya Gupta
4a13ef1ec7 Bug 1435022 - Make ScheduleTask private and drop a useless argument. r=sotaro
MozReview-Commit-ID: 4bRjv1L7DLF

--HG--
extra : rebase_source : ccd8eea10a677681aed24c45ba69cf3eee93d657
2018-02-01 16:28:50 -05:00
Kartikaya Gupta
a4734bc1f0 Bug 1435022 - Inline OnForceComposeToTarget and clarify the comment. r=sotaro
This function has only one call site and there's no need to make it
public.

MozReview-Commit-ID: 5o7B9KMyVqy

--HG--
extra : rebase_source : 38a915c19d48784ce086ebecd66b9f872ae03327
2018-02-01 16:28:49 -05:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Csoregi Natalia
5a9ee59e75 Merge inbound to mozilla-central. a=merge 2018-02-01 20:11:41 +02:00
Jonathan Kew
c4f709831b Bug 1434697 - patch 2 - Implement variation font support in the Android (gfxFT2Fonts) backend. r=lsalzman 2018-01-31 17:07:49 +00:00
Jonathan Kew
5b9b689254 Bug 1434699 - Don't use dlsym() to look up FreeType functions when building with MOZ_TREE_FREETYPE. r=lsalzman 2018-02-01 15:28:09 +00:00
Ryan Hunt
43118373ed Enable parallel painting on OSX and cap the amount of paint workers to 4. (bug 1430793, r=milan)
--HG--
extra : rebase_source : 9d5c853f84b160819540cc062fb84f4bea8fcb02
2018-01-25 14:12:39 -06:00
Martin Stransky
bdd7d89f6c Bug 1434574 - Build wayland with EGL OpenGL backend, r=glandium
MozReview-Commit-ID: LpGmUVOYqRI

--HG--
extra : rebase_source : f26825fedcf66b6bdb2bcb32093b1d4451fe60e7
2018-01-31 13:13:50 +01:00
Jan Steffens
62442dc97a Bug 1424648 - Provide proper face index to FreeType FontDescriptorOutput; r=lsalzman
OpenType font collections (*.ttc) contain multiple faces in a single file,
identified via index. When creating a font descriptor for a FreeType or
Fontconfig font, we mistakenly set the index to zero, always.

This bug became visible when layout and WebRender would disagree on the face in
use, rendering text with the metrics from the proper face but the outlines of
another. Unless, of course, the selected face was the first (or only) in the
font file.

MozReview-Commit-ID: 73qcPOD0HIr

--HG--
extra : rebase_source : b5784ff547bae99186d646dbb92b31660beb3970
2018-01-31 21:42:18 +01:00
Cameron McCormack
2cea1ba7c1 Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro
MozReview-Commit-ID: B9TaVJFak26

--HG--
extra : source : 820eed2682b6a6cda892d091ee037ff1eeacd69f
2018-02-01 15:04:04 +11:00
Cameron McCormack
d02e54b79b Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
MozReview-Commit-ID: CIHyPdF7Exl

--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Alexis Beingessner
291824030e Bug 1432309 - ensure the GL context is current when updating wr. r=sotaro
To avoid future issues, this is done by combining the Render and Update methods
into a single call. As a minor side-effect, timing in the parent method now
includes the time to run update.

MozReview-Commit-ID: GJ0l049eFRj

--HG--
extra : rebase_source : f9b4ee6f34bc45d87b3df40e5a25f3bfb2ec8068
2018-01-31 21:34:43 -05:00
Martin Roinson
e82c2f1d5c Bug 1434288 - Update gecko for API changes in WR PR 2315. r=kats
MozReview-Commit-ID: 7NfZMXOPaDY

--HG--
extra : rebase_source : 782784b5f01fccd7c22286c6fa7e6ee16bf20be0
2018-01-22 19:29:06 +01:00
Kartikaya Gupta
e8fb82d672 Bug 1434288 - Update webrender to commit e772c3cb8ea0a35e6477e9dc8dd2144e2de87b56. r=jrmuizel
MozReview-Commit-ID: 4VM5EAtkjNt

--HG--
extra : rebase_source : 5c1b5da5a99fe9405f9810030b8e3422ac82e519
2018-01-31 16:03:25 -05:00
Ryan Hunt
f1fc54c0cd Reuse existing DrawingCommand for SetTransform and SetPermitSubpixelAA (bug 1431813, r=bas)
--HG--
rename : gfx/2d/DrawCommand.h => gfx/2d/DrawCommands.h
extra : rebase_source : b4b2a4d8b73413c56dbaa55dc3bd200f126c060a
2018-02-02 09:59:35 -06:00
Ryan Hunt
b502551a00 Deduplicate unneeded SetTransform and SetPermitSubpixelAA calls from DrawTargetCapture (bug 1431813, r=bas)
--HG--
extra : rebase_source : 30b2051494aa247df922e87779a1f866e1b45e97
2018-02-02 09:24:10 -06:00
Ryan Hunt
6250b4ca48 Be sure to preserve the current transform when restoring an SkCanvas (bug 1431813, r=lsalzman)
--HG--
extra : rebase_source : 3fba5160051e86f477a32ca8880d9e341177b995
2018-02-02 09:22:20 -06:00
Andrea Marchesini
8cdf705535 Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
sotaro
ae34263b07 Bug 1419293 - Create SwapChain with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL if possible in ANGLE r=jgilbert 2018-02-01 21:39:31 +09:00
Brindusan Cristian
7b43ef6086 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 12:19:39 +02:00
sotaro
a5acc968ad Bug 1434524 - Add more check to D3D11Checks::DoesNV12Work() r=mattwoodrow 2018-02-01 18:00:09 +09:00
Kartikaya Gupta
bb553f0d58 Bug 1433579 - Allow recursively holding the APZ tree lock. r=botond
MozReview-Commit-ID: DzLgqb2wMN9

--HG--
extra : rebase_source : 6d7ba7bf5d574fefdd9e17a2c54ff2a48671701f
2018-01-31 12:00:19 -05:00
Bogdan Tara
1f15df5f24 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-01-31 12:11:39 +02:00
Bogdan Tara
1a6614b8b5 Merge inbound to mozilla-central. a=merge 2018-01-31 12:00:14 +02:00
Dzmitry Malyshau
04332d008f Bug 1434410: Move the WebRender revision to a separate file and include it in captures. r=kats
MozReview-Commit-ID: 9ZgALwny1p2
2018-01-30 23:24:55 -05:00
Andrea Marchesini
26352bfee1 Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
Andrea Marchesini
2c7c69af24 Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Andrea Marchesini
063723a1f0 Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug 2018-01-31 08:23:44 +01:00
Andrea Marchesini
c4b257cdc6 Bug 1432963 - Fixing workers headers - part 12 - WorkerRunnable without workers namespace, r=smaug 2018-01-31 08:22:56 +01:00
arthur.iakab
c4dd80eca3 Merge mozilla-central to autoland 2018-01-31 00:41:58 +02:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kartikaya Gupta
8db17de82f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 21102068e9eca65f56bafb76cb623dbdbf0bfb3a
2018-01-29 16:35:10 -05:00
Kartikaya Gupta
7f809749df Bug 1421380 - Don't do a composite of WR rendered frames unless a composite is requested. r=nical
We sometimes render frames for hit-testing consistency requirements but
those frames don't need compositing. This goes with webrender PR 2358.

MozReview-Commit-ID: D6DRF040D5a

--HG--
extra : rebase_source : fd5dadc35a6f6a54b385f535d4ae9c6e34f3a779
2018-01-29 16:35:10 -05:00
Jim Chen
7d4fb3fff9 Bug 1428182 - 10. Add <stdlib.h> include in pixman patch; r=lsalzman
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.

MozReview-Commit-ID: 9fAuSano36N

--HG--
extra : rebase_source : de9a1f1c4676df9ed724ae7264ca1170b77aac52
2018-01-30 14:08:24 -05:00
Jim Chen
5aa4623e3f Bug 1428182 - 9. Apply Skia upstream commit to support NDK r16; r=lsalzman
Apply Skia upstream commit 592c225b03ca677a1217eabdbc38eede6afcdb14 to
support building with NDK r16.

MozReview-Commit-ID: B6popOoPTni

--HG--
extra : rebase_source : 7d846431f9de12a2ffa270ead93c33cae602c58e
2018-01-30 14:08:23 -05:00
Jim Chen
ee3fc0952a Bug 1428182 - 4. Fix a gfx warning; r=jchen
MozReview-Commit-ID: L5NclHmqCE2

--HG--
extra : rebase_source : 3573f3138133e52000d192bace5aadf6f2242a72
2018-01-30 14:08:22 -05:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Andrew Osmond
8a37b15344 Bug 1389759 - Fix GPUProcessManager::EnsureGPUReady how did not guarantee the GPU process state is consistent. r=rhunt
GPUProcessManager::EnsureGPUReady promises that its state will be
consistent after returning. Either the GPU process is ready to be used,
or there is no GPU process at all. In the case it is attempted to
synchronously initialize the GPUChild with the device data and failed,
it broke that promise. This is because the GPU process was still setup,
but we weren't going to use it. This became a problem with the
CompositorManagerChild because it uses the process token as an
identifier, and it should have been reset to 0 in this case.

Now if GPUChild::EnsureGPUReady (the initialization step) fails, we
disable the GPU process entirely. This ensures our internal state is
consistent and the callers expectations are upheld.
2018-01-30 12:58:57 -05:00
Jonathan Kew
2a3cf53f91 Bug 1426146 - patch 2 - Support the paint-order property for HTML text (in addition to SVG); currently preffed-off by default. r=jwatt 2018-01-30 14:41:51 +00:00
Jonathan Kew
0ff35ea68b Bug 1426146 - patch 1 - Support GLYPH_STROKE_UNDERNEATH in the gfxFont painting code. r=jwatt 2018-01-30 14:41:30 +00:00
Gurzau Raul
afe10a4af5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 12:12:34 +02:00
Jonathan Kew
8ddd714a33 Bug 1280162 - patch 1 - Implement gfxFontEntry method to query font feature info for OpenType fonts. r=dholbert 2018-01-30 09:57:39 +00:00
Cosmin Sabou
c6a0d55423 Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE
Backed out changeset 84c767de6202 (bug 1428182)
Backed out changeset 429433caa78c (bug 1428182)
Backed out changeset c576e9d1f68f (bug 1428182)
Backed out changeset 092662eab5eb (bug 1428182)
Backed out changeset 4dd7eaff3ab5 (bug 1428182)
Backed out changeset fbbb0745b139 (bug 1428182)
Backed out changeset 1d1278b289b7 (bug 1428182)
Backed out changeset 55891ffb3768 (bug 1428182)
Backed out changeset 4655e1b1b237 (bug 1428182)
Backed out changeset 377eada51b3c (bug 1428182)
Backed out changeset 17c0e373d921 (bug 1428182)

--HG--
rename : ipc/chromium/src/third_party/libevent/patches/android-api-level.patch => ipc/chromium/src/third_party/libevent/patches/android-arc4random-buf.patch
2018-01-30 01:22:33 +02:00
Jim Chen
2d6e9928cb Bug 1428182 - 10. Add <malloc.h> include in pixman patch; r=lsalzman
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.

MozReview-Commit-ID: 9fAuSano36N

--HG--
extra : rebase_source : 92c1e729c41cebf320ef5d5b2de5d3fa14c8e121
2018-01-29 17:38:17 -05:00
Jim Chen
7ab02178ec Bug 1428182 - 9. Apply Skia upstream commit to support NDK r16; r=lsalzman
Apply Skia upstream commit 592c225b03ca677a1217eabdbc38eede6afcdb14 to
support building with NDK r16.

MozReview-Commit-ID: B6popOoPTni

--HG--
extra : rebase_source : bfdf40f6542c4c9dae0ef19379fb650107cf8077
2018-01-29 17:38:15 -05:00
Jim Chen
d2f6bcce0c Bug 1428182 - 4. Fix a gfx warning; r=jchen
MozReview-Commit-ID: L5NclHmqCE2

--HG--
extra : rebase_source : e029eec173f00d2d9afb810f18767beebd485d6d
2018-01-29 17:38:13 -05:00
Cosmin Sabou
37bb870512 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-30 00:47:39 +02:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Gerald Squelart
a2ff96a775 Bug 1433850 - layout.display-list.retain.verify.order to also check RDL ordering - r=mattwoodrow
MozReview-Commit-ID: 2foGnuSCwUX

--HG--
extra : rebase_source : a46779e0db3d4452561b52e047daa3716280fde4
2018-01-29 18:23:14 +11:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Csoregi Natalia
32df3a47a8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-30 18:22:51 +02:00
Kartikaya Gupta
c13256c877 Bug 1433567 - Update webrender to commit b6e69a8efbcd8dc3e0c0a8a9925e6a9355635de3. r=jrmuizel
MozReview-Commit-ID: BluxAJeXvrq

--HG--
extra : rebase_source : 21dedf788a7921c57962fe0e5b86a4bda106be2b
2018-01-30 10:21:30 -05:00
Nicolas Silva
082991a7bc Bug 1404477 - Merge ResourceUpdateQueue and TransactionBuilder. r=kats 2018-01-29 14:33:39 +01:00
Nicolas Silva
3f26befbbd Bug 1404477 - WebRender document API bindings. r=kats 2018-01-29 14:33:35 +01:00
Jonathan Kew
4755d882f1 Bug 1432552 - patch 3 - DirectWrite and macOS font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
c70ab6cef4 Bug 1432552 - patch 2 - Linux font back-end implementation of getVariationInstances. r=dholbert 2018-01-29 13:24:11 +00:00
Jonathan Kew
9de316c207 Bug 1432552 - patch 1 - Add a getVariationInstances() method to InspectorFontFace. r=dholbert,bz 2018-01-29 13:24:11 +00:00
Jonathan Kew
82f83b9470 Bug 1433402 - Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var. r=jrmuizel 2018-01-29 13:24:11 +00:00
Ethan Lin
a093db7182 Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats
MozReview-Commit-ID: 1lSu2phlXVH
2018-01-15 23:46:41 +08:00
Ethan Lin
b5433ccce5 Bug 1415563 - Use the correct app units conversion for nsDisplayZoom items. r=kats
MozReview-Commit-ID: 9Ml3mOFmooi
2018-01-17 10:22:39 +08:00
Masatoshi Kimura
6c38a639d3 Bug 685236 - Workaround Skia file path issue. r=jwatt
MozReview-Commit-ID: 7y3tNuOtWCv

--HG--
extra : source : 2bb5971b53139c4d2d40bf5b5a3d4a9136ab0233
extra : intermediate-source : 5799334bd14b096fc434ba198054f639e137413b
2017-12-17 00:19:51 +09:00
Kartikaya Gupta
78e4bd2c76 Bug 1437949 - Make the wake_up WR notification poke the renderer. r=kvark
MozReview-Commit-ID: HxMOW4EF6sn

--HG--
extra : rebase_source : f0e019368c362259388094e50647c39bf39c431e
2018-02-13 14:08:54 -05:00
Jonathan Kew
ad1143ff1a Bug 1435984 - patch 8 - Apply variation settings from the font entry in the Linux (fontconfig) back-end on a CLOSED TREE. r=lsalzman
--HG--
extra : source : 581ff0f6798ec68aca359c5d8cc6ca38e75801e4
extra : amend_source : 951df3de667a70f09485f62efc1d9e83e2036c51
2018-02-14 22:02:05 +11:00
Jonathan Kew
ee890ee757 Bug 1435984 - patch 7 - Apply variation settings from the font entry in the gfxFT2Fonts (Android) back-end. r=lsalzman
--HG--
extra : source : d4e3a21dc093c84530f28394089be13324915377
2018-02-14 22:02:05 +11:00
Jonathan Kew
b3d0efd4a7 Bug 1435984 - patch 6 - Apply variation settings from the font entry when instantiation fonts for DirectWrite. r=lsalzman
--HG--
extra : source : a6b5ddcc7114f50042f783766cabb545f912d8c4
2018-02-14 22:02:05 +11:00
Jonathan Kew
8fe372bf90 Bug 1435984 - patch 5 - Apply variation settings from the font entry when instantiating fonts on macOS. r=lsalzman
--HG--
extra : source : ec70fb9a28ac4952b15f1acd4890d727067788ca
2018-02-14 22:02:05 +11:00
Jonathan Kew
5bb5607380 Bug 1435984 - patch 3 - Store variation settings from the @font-face rule in the gfxFontEntry for user fonts. r=jwatt
--HG--
extra : source : 66947639ccc3236ff3e81b535e6a4e5173a8e05f
2018-02-14 22:02:05 +11:00
Nicolas Silva
b9bc9a2583 Bug 1436058 - Don't remove a WebRender pipeline if we re-created one with the same id. r=kats
Patch originally attached to - and reviewed by sotaro on - bug 1432708.

MozReview-Commit-ID: 300BOHFNrbe

--HG--
extra : rebase_source : b3e4228812b74313d441ef70b5f16da1d4563669
2018-02-12 11:43:08 -05:00
Nicolas Silva
f943a00bf6 Bug 1436058 - Remove async image pipelines when the renderer notifies pipelines removed. r=kats
Patch originally attached to - and reviewed by sotaro on - bug 1432708.

MozReview-Commit-ID: LNWHtuFTPG5

--HG--
extra : rebase_source : c1694476cb454d914f2cfe3ec7cf55aaa0aacd4c
2018-02-12 11:37:02 -05:00
Kartikaya Gupta
bd342342df Bug 1436058 - Update for log 0.4 bump in WR PR 2385. r=jrmuizel
MozReview-Commit-ID: Cxkecg2cTDW

--HG--
extra : rebase_source : 0b049ba3a95dda71f9d6df53ba8f636e30841fee
2018-02-12 11:32:50 -05:00
Kartikaya Gupta
dff724b60d Bug 1436058 - Update webrender to 342bc314db94aa439b2001249c5f24ccfcbccc22. r=jrmuizel
MozReview-Commit-ID: DoRq53eXv1Q

--HG--
extra : rebase_source : b53c4213567a5ae9a201ab5a9d5e135ac7a40891
2018-02-12 11:28:01 -05:00
Cosmin Sabou
9366900c12 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-01-27 11:58:35 +02:00
Dzmitry Malyshau
05561ae950 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Jonathan Kew
5b401bc09e Bug 1433098 - Don't rename downloaded fonts (replacing the original 'name' table) when using DirectWrite backend. r=jrmuizel 2018-01-26 17:26:19 +00:00
Kartikaya Gupta
b9bc1f73c5 Back out cset 75b5af791006 (bug 1433139) for OS X debug mochitest-chrome-3 failure. r=me 2018-01-26 11:31:34 -05:00
Jonathan Kew
4b80ef584f Bug 1323743 - patch 5.2 - Implement gfxFontEntry::GetVariationAxes for the DirectWrite backend. r=lsalzman 2018-01-18 17:45:27 +00:00
Jonathan Kew
1c6ff769a1 Bug 1323743 - patch 5.1 - Factor out a GetEnglishOrFirstName helper to simplify DirectWrite font-name code. r=lsalzman 2018-01-18 17:45:26 +00:00
Jonathan Kew
fbdc3ccec5 Bug 1323743 - patch 4 - Implement gfxFontEntry::GetVariationAxes for the Linux (fontconfig) backend. r=dholbert 2018-01-18 19:27:41 +00:00
Jonathan Kew
8b13b6b801 Bug 1323743 - patch 3 - macOS implementation of the gfxFontEntry::GetVariationAxes method. r=dholbert 2018-01-26 15:47:20 +00:00
Jonathan Kew
455fe3a96e Bug 1323743 - patch 1 - Add an API to gfxFontEntry to allow querying the available variation axes in a font face. (No actual implementation yet.) r=dholbert 2018-01-26 15:47:19 +00:00
Dzmitry Malyshau
90b1205b68 Bug 1433139 - WebRender capture integration on Nightly. r=mikedeboer
MozReview-Commit-ID: 6oIUlPSfLMg
2018-01-26 10:09:30 -05:00
Dzmitry Malyshau
a8e2dce594 Bug 1433139 - Enable the WR capture feature in webrender_bindings. r=kats
MozReview-Commit-ID: 2dJMVMto5Ly
2018-01-25 14:49:36 -05:00
Kartikaya Gupta
71c85d4c22 Bug 1432789 - Update webrender to 1d8157c71f88d5c673f5d084f02515ab74263814. r=jrmuizel
MozReview-Commit-ID: JakzOipPChe

--HG--
extra : rebase_source : 5f3db52bd59749bc79c0e5c530ae04ab19c03d1d
2018-01-26 15:54:36 -05:00
Kartikaya Gupta
69c3c5a3be Bug 1432541 - Don't reuse clips across a stacking context with a nonzero position. r=mstange
In bug 1426386, I made it so that in some cases, part or all of the
transform component of a stacking context got moved to the bounds
top-left. However I neglected to update the ScrollingLayersHelper, which
was relying on the transform to know if it could reuse clips across a
stacking context boundary. It now also needs to check the bounds
top-left as a result of the aforementioned change.

MozReview-Commit-ID: 7mDRSYqZ8bF

--HG--
extra : rebase_source : bdf433c772853d39e29c0288776db7a88129ac2f
2018-01-25 18:19:42 -05:00
Coroiu Cristina
44d458632a Backed out 1 changesets (bug 1421380) on request from kats
Backed out changeset 48cdd9ef5878 (bug 1421380)
2018-01-25 21:31:34 +02:00
Kartikaya Gupta
4af14dc29f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 0a5d21208c003a73dc83cf4dccca7ee5085f5604
2018-01-25 10:32:35 -05:00
Csoregi Natalia
6f5bb993b2 Merge inbound to mozilla-central. a=merge 2018-01-25 12:14:20 +02:00
Cosmin Sabou
7e6e71746a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-25 00:04:12 +02:00
Narcis Beleuzu
9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Andrew Osmond
f9a6aed383 Bug 1432472 - Do not assume CompositorBridgeChild is available for FlushAsyncPaints. r=rhunt
CompositorBridgeChild may be lost at any time due to a GPU process
crash. Additionally it may be already destroyed due to shutdown being
initiated. For FlushAsyncPaints, we can safely ignore the missing child
because the subsequent operations will generally fail and we will
recover when the GPU process is respawned (or switched to the UI
process).
2018-01-24 10:01:33 -05:00
Botond Ballo
ba97f3675e Bug 1429373 - If a perspective transform is excluded from an APZC's ancestor transform, include it in the ancestor transforms of its child APZCs. r=kats
MozReview-Commit-ID: 4EcTuD8otA7

--HG--
extra : rebase_source : 3b5b3e4c0a955ee515a5b16717c25db1d0113d57
2018-01-19 19:22:34 -05:00
Botond Ballo
2f32ec01a0 Bug 1429373 - During hit-testing, ignore clips on layers whose parent has a perspective transform. r=kats
This corresponds to the treatment of such layers in AsyncCompositionManager
added in bug 1168263.

MozReview-Commit-ID: 34IKk5TH9vV

--HG--
extra : rebase_source : 441d173e486b9be6557916219a849b2f9425d55b
2018-01-17 18:45:25 -05:00
Botond Ballo
287d543641 Bug 1429373 - Add a clarifying comment to the declaration of APZCTreeManager::SetTargetAPZC(). r=kats
MozReview-Commit-ID: CT1H5TH3UXn

--HG--
extra : rebase_source : 916c52d44857d93e6046d81c96a9716d32136fb6
2018-01-17 18:46:07 -05:00
Ethan Lin
3ebfc01b38 Bug 1419528 - Add a reftest for box shadow with zero attributes. r=kats
MozReview-Commit-ID: CwKzjv6pMF7
2018-01-16 17:15:44 +08:00
Sebastian Hengst
78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00
Kartikaya Gupta
b62f1b8765 Bug 1432637 - Schedule a composite when setting test properties on an APZC. r=botond
Scheduling a composition sets the mNeedsComposite flag in the compositor
scheduler, so that advancing the time via advanceTimeAndRefresh doesn't
do an early-exit.

MozReview-Commit-ID: KvldsCCY0SD

--HG--
extra : rebase_source : e661e430c36553ce95d7798b4bc95ffaab48ab90
2018-01-23 17:21:58 -05:00
Kartikaya Gupta
a48a892756 Bug 1432635 - When advancing the test time, trigger a rendering flush to WR. r=sotaro
MozReview-Commit-ID: UtqGoOnobm

--HG--
extra : rebase_source : e3f3f135138014a4ed8c4bed23cca18c146995c1
2018-01-23 17:20:23 -05:00
Dzmitry Malyshau
237e33208b Bug 1431776 - Update for API changes in WR PR 2326. r=jrmuizel
MozReview-Commit-ID: DNVLRmhcWFS

--HG--
extra : rebase_source : 949154d975ce9885c3b15473a5561a139c541ae3
2018-01-24 09:14:48 -05:00
Kartikaya Gupta
c39c71da56 Bug 1431776 - Update webrender to commit c0943271eb8c6440a61db37e2f1e84201dcac2e3. r=jrmuizel
MozReview-Commit-ID: 57ZV2mKiGm0

--HG--
extra : rebase_source : 18dc15c9dc915477f05d2ad0d24071f0f32cf453
2018-01-24 09:13:07 -05:00
Cosmin Sabou
6cfb14fd97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-25 00:07:47 +02:00
Ryan Hunt
bfcc9eea72 Add paint worker count to crash report notes. (bug 1432516, r=milan)
--HG--
extra : rebase_source : 2ab184a7b1bf757eb3b60c7e9c2433b99ad3d79e
extra : histedit_source : 03c859abbc704293af35049f330d31cd2454a0b1
2018-01-23 16:17:52 -06:00
Ryan Hunt
27c33e0bdf Add tiling and paint worker count information to about:support. (bug 1432516, r=milan)
--HG--
extra : rebase_source : f2ce10a284f53b21ce5eb94f039808ec92f40685
extra : histedit_source : d3bbb62e946fe32f601cc7753513d2d30f2aa294
2018-01-23 15:52:13 -06:00
Jonathan Kew
6856ae796f Bug 1431866 - Avoid risk of undefined behavior in gfxFontStyle::Hash() calculation. r=jrmuizel 2018-01-24 17:42:30 +00:00
Jonathan Kew
7ff4c1c33d Bug 1430446 - Prefer hinted glyph widths from FreeType, except when hinting is disabled or the font includes variations. r=lsalzman 2018-01-23 18:16:42 +00:00
sotaro
603fade55f Bug 1422288 - Do no add ExternalImage for d3d texture host when ANGLE is disable with WebRender r=nical 2018-01-24 13:17:06 +09:00
sotaro
9ee2dd9629 Bug 1422288 - Disable d2d for canvas when ANGLE is disable with WebRender r=nical 2018-01-24 13:16:35 +09:00
Dorel Luca
4b9ccdb392 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 12:02:17 +02:00
sotaro
d6f794fcb9 Bug 1431304 - Fix WebRenderLayerManager::ClearCachedResources() as to clear active animation ids r=nical 2018-01-23 10:57:20 +09:00
Gurzau Raul
9801931bda Merge inbound to mozilla-central. a=merge 2018-01-23 02:21:47 +02:00
Tom Ritter
40e0f3ea5e Bug 1432009 Fix MinGW build failure with d_write3.h r=jfkthame
Bump mingw version to get the newest commit and do not include the
un-needed dw-extras.h on MinGW (thanks Jacek!)

MozReview-Commit-ID: OjO93XHCxs

--HG--
extra : rebase_source : 933bbb385004988a23d1069c9cd3241b3a3b336e
2018-01-22 15:01:49 -06:00
Jamie Nicol
17afeef581 Bug 1430550 - Don't keep mutex locked if SourceSurfaceSkia::Map fails. r=bas
This was leading to a mutex never being unlocked, eventually causing a
crash when it was destroyed.

MozReview-Commit-ID: JzEDWzKxZ4S

--HG--
extra : rebase_source : c86ad738addbec55f33165d300876f4c675cf5f4
2018-01-18 16:48:08 +00:00
Gurzau Raul
76ec8a476e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-20 11:46:16 +02:00
Jonathan Kew
faf9bf0aac Bug 1430632 - Copy declarations of new DirectWrite interfaces into our code so it will build against the current Windows SDK and WINVER settings. r=lsalzman,froydnj 2018-01-18 17:45:25 +00:00
Jonathan Kew
483d8a0507 Bug 1430632 - Support OpenType variation fonts in the DirectWrite font back-end (on Win10 Fall Creators Update). r=lsalzman 2018-01-18 17:45:24 +00:00
Jonathan Kew
d477a069f3 Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato 2018-01-19 10:46:53 +00:00
Kartikaya Gupta
b9e6d272c0 Bug 1431787 - Followup to avoid the call to wr_api_get_namespace from the WebRenderAPI destructor. r=me a=RyanVM
Landing on a CLOSED TREE because this needs to go to beta to fix the build.

MozReview-Commit-ID: Askd7fgnn3E
2018-01-19 16:42:40 -05:00
Kartikaya Gupta
6f56b6c848 Bug 1431787 - Mark wr_dec_ref_arc safe to be called by the WebRenderAPI destructor when WR is not built. r=lsalzman a=RyanVM
Landing on a CLOSED TREE because this needs to go to beta to fix the build.

MozReview-Commit-ID: cSwZ2Bp242
2018-01-19 13:19:00 -05:00
Noemi Erli
1e1fdc2b3d Merge inbound to mozilla-central. a=merge 2018-01-19 12:10:24 +02:00
JerryShih
0f873b8e86 Bug 1431028 - Move the gfx warning to the correct position. r=mattwoodrow
We should only show the warning message when we have the on-white buffer.

MozReview-Commit-ID: 4gzo0reYIVL
2018-01-17 02:19:00 -05:00
JerryShih
138670043b Bug 1431028 - Don't discard the back buffer in ClientSingleTiledLayerBuffer. r=mattwoodrow
MozReview-Commit-ID: HHbqlAnSVmN
2018-01-17 02:19:00 -05:00
sotaro
2739f28b3d Bug 1429994 - Use ID3D11Query to wait previous frame completion r=nical 2018-01-18 18:01:04 -08:00
Andreea Pavel
b5e28b4ecd Backed out changeset 70c2890fb875 (bug 1429994) for static-analysis bustages on Windows 2018-01-19 01:38:11 +02:00
sotaro
376a1f40bd Bug 1429994 - Use ID3D11Query to wait previous frame completion r=nical 2018-01-19 07:49:08 +09:00
Lee Salzman
d7042b0a8f Bug 1400917 - render missing glyphs with WebRender. r=gankro 2018-01-18 16:10:14 -05:00
Hiroyuki Ikezoe
808d686c60 Bug 1431295 - Drop 'undef None' macro in gfx. r=botond
MozReview-Commit-ID: FGOEsZnu50u

--HG--
extra : rebase_source : 60ba20e9ab9f207ce6b69406973dd3f864b5e322
2018-01-18 14:12:51 +09:00
Kartikaya Gupta
3031985f8c Bug 1430829 - Update for removal of ImageFormat::Invalid in WR PR 2317. r=jrmuizel
MozReview-Commit-ID: 5TFM7B652qG

--HG--
extra : rebase_source : 8c5602ea2c8a7810da0ef1fb176c80016856210e
2018-01-19 12:33:58 -05:00
Kartikaya Gupta
c8626b8097 Bug 1430829 - Update webrender to commit e9269c7e06e20363be0b2a2a1be98d292ff7acca. r=jrmuizel
MozReview-Commit-ID: CLfV8OtVG7Z

--HG--
extra : rebase_source : b8b2e454ed84e177aac11db182bd1ed8ac7892ef
2018-01-19 12:32:00 -05:00
Andrew Osmond
6f5458a90b Bug 1431130 - Ensure we retain the lock when accessing sLayerIndirectTree off the compositor thread. r=botond
CompositorBridgeParent::GetIndirectShadowTree is meant to be a
compositor thread only method. This however was not enforced with an
assert and over time we began using it on the main thread for simple
accesses. These accesses should generally be safe on the main thread,
depending on the individual access, but not outside the lock
GetIndirectShadowTree holds. As such, a safer variant is provided to
execute a lambda inside the lock context, and the unsafe variant will
assert it is indeed in the compositor thread context.
2018-01-18 07:28:56 -05:00
Lee Salzman
7960a042d1 Bug 1431211 - clean up WR blob image renderer resources on API destruction. r=gankro
MozReview-Commit-ID: E7XuM7vpEXd
2018-01-18 06:28:09 -05:00
Dorel Luca
a066bff27d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-18 11:43:47 +02:00
sotaro
00c8806482 Bug 1430610 - Change nsIFrame::InvalidateLayer() as to check WebRender's async update r=mtseng 2018-01-18 13:28:49 +09:00
Kartikaya Gupta
8903b49768 Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
MozReview-Commit-ID: Vd5n5e7XuW

--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Tiberius Oros
0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros
92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Kartikaya Gupta
c017160218 Bug 1430660 - Move the APZ update of scroll layer positions into a transaction. r=nical
MozReview-Commit-ID: 45ijEtB1C0Z

--HG--
extra : rebase_source : b700ad68fdc44096dc0348bf1badf94dc993d36f
2018-01-17 11:19:39 -05:00
Lee Salzman
1a23b6eab1 Bug 1400384 - support text writing modes with WebRender. r=gankro 2018-01-17 07:51:20 -05:00
Andrew Osmond
a9eff43405 Bug 1430795 - Ensure certain gfx gtests are initialized properly. r=aosmond 2018-01-17 07:34:34 -05:00
Cosmin Sabou
1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
sotaro
952e915b38 Bug 1430694 - Check if RenderCompositor is created r=nical 2018-01-17 09:25:31 +09:00
Jeff Gilbert
d9815e3cac Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.

MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Nika Layzell
793a39c213 Bug 1424766 - Simplify HangStack and HangDetails by implementing using ipdl structs and unions, r=froydnj
MozReview-Commit-ID: qlBUnvYams
2018-01-16 14:07:38 -05:00
Noemi Erli
1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Andrew Osmond
da27a58fb3 Backed out changeset ca1b397bffcf bug 1388020 2018-01-16 08:07:51 -05:00
Andrew Osmond
8240965b0a Bug 1388020 r=nical 2018-01-16 07:50:58 -05:00
Morris Tseng
e29700e366 Bug 1424177 - Slightly enlarge drawtarget size when fallback. r=kats
MozReview-Commit-ID: Dam5l91Y93Y
2018-01-16 17:33:12 +08:00