sotaro
35956656da
Bug 1414727 - Change AsyncImagePipeline::mIsChanged flag handling as to reduce DisplayList update r=nical
2017-11-15 10:14:06 +09:00
sotaro
a15823ac76
Bug 1416614
- Add checks to ImageBridgeParent::NotifyImageComposites r=nical
2017-11-15 09:08:18 +09:00
sotaro
56c2f9bf58
Bug 1412249 - Fix DidComposite timing for EmptyTransaction r=nical
2017-11-15 08:00:57 +09:00
sotaro
03a781381b
Bug 1416594 - Add SurfaceFormat::R8G8B8A8 handling to SurfaceFormatToImageFormat() r=nical
2017-11-15 07:15:11 +09:00
btara
d95e1d710b
Merge inbound to mozilla-central r=merge a=merge
2017-11-14 22:37:02 +02:00
Ryan Hunt
0814b42b38
Only return a valid RotatedBuffer in ContentClientBasic::CreateBuffer (bug 1416790, r=dvander)
...
MozReview-Commit-ID: C5l4OHAWBLL
--HG--
extra : rebase_source : 720a4a458753cc27b9c2269b7da59e5712e47a22
2017-11-13 12:52:31 -05:00
Ryan Hunt
f881288e3b
Don't use CompositorBridgeChild in PrepareBuffer if sync OMTP is enabled (bug 1416782, r=dvander)
...
MozReview-Commit-ID: DMbKcDEkkeP
--HG--
extra : rebase_source : 20608d09f18549816b10fd63d0879cfb409e8219
2017-11-13 12:51:19 -05:00
dluca
a662f122c3
Merge Inbound to mozilla-central r=merge a=merge
2017-11-14 16:56:05 +02:00
Sebastian Hengst
31bab6f683
Backed out changeset 32958aa32cb5 (bug 1415485) for frequently failing for failing reftest layout/reftests/async-scrolling/position-fixed-in-scroll-container.html on Linux x64 QuantumRender. r=backout a=backout on a CLOSED TREE
2017-11-14 14:47:14 +02:00
Sebastian Hengst
53f71049ff
Backed out 2 changesets (bug 1416620) for failing own reftest. r=backout a=backout on a CLOSED TREE
...
Backed out changeset 3b45218edc2e (bug 1416620)
Backed out changeset c48580e1f535 (bug 1416620)
2017-11-14 13:04:52 +02:00
Coroiu Cristina
6a04305b5d
Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE
2017-11-14 12:31:45 +02:00
Nicolas Silva
7199975a93
Bug 1377595 - Don't use blob images for items that must be painted on the content side. r=kats
2017-11-10 13:44:58 +01:00
David Anderson
d177a5accc
Fix bogus assert. (bug 1416369, r?=mattwoodrow)
2017-11-14 12:01:42 +02:00
Csoregi Natalia
8f1a81caad
Merge inbound to mozilla-central r=merge a=merge
2017-11-14 00:57:47 +02:00
dluca
1904de3e5e
Merge mozilla-central to Autoland r=merge a=merge on a CLOSED TREE
2017-11-14 17:00:43 +02:00
Sebastian Hengst
57fd5c3c24
merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
2017-11-14 14:48:43 +02:00
Morris Tseng
78bddf84f9
Bug 1342762 - Remove pipeline in RemovePipelineIdForCompositable. r=nical
...
MozReview-Commit-ID: 29NrWHCGR5V
--HG--
extra : rebase_source : 25a4fc2f1abef15dbf5515516a45a34079acc8dd
2017-11-13 17:32:23 +08:00
Kartikaya Gupta
92c112278f
Bug 1416540 - Convert a bunch of scaling code to avoid unnecessary double conversion. r=mattwoodrow
...
The code in ComputeSuitableScaleForAnimation feeds its double-based
computation results into GetSuitableScale, which takes and returns
floats. Also the double-based computation that it's doing involves
calling UpdateMinMaxScale a bunch which explicitly uses the float
variant of std::min and std::max. And all of this is used from
ChooseScaleAndSetTransform which does other things like call a
"RoundToFloatPrecision" function, and casts the final values to
floats before setting the layer's prescale. So let's just use
floats all the way through.
MozReview-Commit-ID: BE3WC5hv89d
--HG--
extra : rebase_source : 987d9d69ec2a200ed68c59bae5fae1115713a94c
2017-11-12 18:37:33 -05:00
Ting-Yu Lin
dfca359d6e
Bug 1416699 - Add a space between #include and comment. r=jeremychen
...
Skip files under intl/icu/ because they're imported from third party.
DONTBUILD because this is a whitespace-only change.
MozReview-Commit-ID: GSd6oeFSTO7
--HG--
extra : rebase_source : 38c20bf6099c18b2fcb4c324d470b279addf8891
2017-11-13 17:54:18 +08:00
Ryan Hunt
c81dd046a2
Remove flush from RotatedBuffer::UpdateDestinationFrom (bug 1410919, r=nical)
...
MozReview-Commit-ID: AKuz0sUj8Jf
--HG--
extra : amend_source : 5021d2dbc5d1386205eb198379dd9c81550cf78c
2017-10-23 12:23:57 -04:00
Margareta Eliza Balazs
798dabeb2c
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-11-13 00:04:57 +02:00
shindli
0d157e6e2e
Merge inbound to mozilla-central r=merge a=merge
2017-11-12 23:48:36 +02:00
JerryShih
9d834c457f
Bug 1416543 - use the gecko profiler macro to register/unregister the thread name. r=me
...
MozReview-Commit-ID: 3ueSAuNCbGp
2017-11-12 22:21:22 +08:00
Coroiu Cristina
230207fe30
Merge inbound to mozilla-central r=merge a=merge
2017-11-12 00:05:11 +02:00
Jonathan Kew
49c97adb4e
Bug 1411625 - Remove the constructor from gfxShapedText::CompressedGlyph to make it a trivial class, and provide a couple of convenience "factory" methods to create simple and complex glyph values. r=andi
2017-11-11 15:32:58 +00:00
JerryShih
c061f3959d
Bug 1371838 - set the window_id as renderer_id to WR. r=jrmuizel
...
MozReview-Commit-ID: 7YbQNzTNpmE
2017-11-11 18:57:31 +08:00
JerryShih
4eb77c1992
Bug 1371838 - add a custom thread listener to WR. r=jrmuizel
...
MozReview-Commit-ID: yyFwBr21F3
2017-11-11 18:57:31 +08:00
JerryShih
56d6261465
Bug 1371838 - register the WR thread pool's thread to gecko profiler. r=jrmuizel
...
MozReview-Commit-ID: BUyTq2vz3cO
2017-11-11 18:57:31 +08:00
JerryShih
8b031732c0
Bug 1371838 - export the gecko profiler registering function to WR. r=jrmuizel
...
MozReview-Commit-ID: 2gVAmU2xomP
2017-11-11 18:57:31 +08:00
Andreea Pavel
7fb4cc447c
Merge inbound to mozilla-central r=merge a=merge
2017-11-11 11:59:20 +02:00
Jonathan Kew
8de8fef958
Bug 1412090 - patch 4 - Also adopt the ContentParent::NotifyUpdatedFonts method on macOS, so that only the parent process needs to register with CFNotificationCenter for font-changed notifications. r=lsalzman
2017-11-09 16:54:37 +00:00
Jonathan Kew
d3412dc6b0
Bug 1412090 - patch 3 - Check the sandbox policy to verify font files will be readable by the content process before including them in the system font list. r=gps
2017-11-09 16:54:30 +00:00
Jonathan Kew
fe4d2e8b97
Bug 1412090 - patch 2.1 - Work around FcNameParse bug in fontconfig versions around 2.11.0, by escaping any leading space in the encoded charset element. r=lsalzman
2017-11-12 21:35:25 +00:00
Chih-Yi Leu
80c342950f
Bug 1412554 - Return GL_OOM if memory counter in ResourceManager11 overflow r=jgilbert
...
MozReview-Commit-ID: AgDd95NlNZq
--HG--
extra : rebase_source : 8e5818d186aa151f9ba0cb1a6569de8f9211b049
2017-11-08 10:36:18 +08:00
Ethan Lin
beaea27dc3
Bug 1415989 - Do not use 'ShouldUseAdvancedLayer' for button type display items. r=jrmuizel
...
MozReview-Commit-ID: 83qOTfTRUY0
--HG--
extra : rebase_source : 560f285f3092cd75d14d27cae4adcb8e9dca0e3a
2017-11-10 11:41:15 +08:00
Ethan Lin
e9e332b74c
Bug 1414264 - Check invalidation region when we use layer system to paint items. r=jrmuizel
...
MozReview-Commit-ID: Dc5e13NQmP5
--HG--
extra : rebase_source : e4f96edcd5e6dcc75d916aad28c3507ee8bdc7b6
2017-11-07 14:40:08 +08:00
Ryan Hunt
3a2498f61a
Flush any buffer operations that may be running after EndEmptyTransaction before EndTransaction (bug 1416308, r=dvander)
...
MozReview-Commit-ID: CpdtwW2JNip
--HG--
extra : rebase_source : 20e46df173896d5d4fef7f0a9c0989096cd14daa
2017-11-10 13:12:15 -05:00
Milan Sreckovic
639eb384ce
Bug 1416306 - Make the function argument a const& instead of passing by value. r=mstange
2017-11-10 10:29:00 -05:00
Nathan Froyd
68ce6c6d2a
Bug 1415961 - construct {Blur,Gradient}CacheData more efficiently; r=jrmuizel
...
We pass in `const {Blur,Gradient}CacheKey&` to these functions. There's
no need to copy the cache keys here; we can just Move() the existing
objects in instead. Doing this saves unnecessary allocations and/or
refcounting.
2017-11-10 16:43:54 -05:00
Ryan VanderMeulen
b16410f51c
Merge inbound to m-c. a=merge
2017-11-10 16:13:15 -05:00
Ryan VanderMeulen
f09d55fcf6
Backed out changeset f296220f4117 (bug 1415762) for frequently crashing with mozilla::BlockingResourceBase::CheckAcquire(), RtlEnterCriticalSection and _pthread_mutex_lock.
2017-11-10 16:06:34 -05:00
Jeff Muizelaar
0d413c707d
Bug 1415326. Tolerate slight changes in scale for fallback items. r=ethlin
...
This helps us avoid rerasterizing the blob images every frame. This makes a
huge difference in performance. Our score goes from approx 75 to 380. Current
Firefox gets about 200.
2017-11-10 13:19:11 -05:00
Kartikaya Gupta
c13feff999
Bug 1415150 - Update webrender to commit f58ed651b47f47382b63dd2bce6e4ed10ee18c78. r=jrmuizel
...
MozReview-Commit-ID: 8wGfwYlhJ1N
--HG--
extra : rebase_source : 4554d38e38c76902ffdb27a4b773d31ccf8868c2
2017-11-10 10:55:05 -05:00
Jonathan Kew
a889197da2
Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman
2017-11-02 20:29:33 +00:00
Jonathan Kew
c28cae074c
Bug 1412090 - patch 1 - Wrap the font family record used to pass font info from chrome to content on macOS in a union, in preparation for using the same mechanism with a different type of font record on Linux. (No functional change here, just the added union type and some renamings from 'font family list' to 'font list' to be more generic.) r=lsalzman
2017-11-02 17:23:16 +00:00
Chris Peterson
0e8425b401
Bug 1416164 - Replace NS_ABORT with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
MozReview-Commit-ID: DRdYlOYqZpN
--HG--
extra : rebase_source : b20fb24abf0f2ce648c12a827532c0dbeefb6c63
2017-10-24 23:52:56 -07:00
Kartikaya Gupta
00ef028ed3
Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel
...
The core of this change is in gfxContext.*:
- change gfxContext::CurrentMatrix() and gfxContext::SetMatrix() to
return and take a Matrix respectively, instead of converting to
and from a gfxMatrix (which uses doubles). These functions therefore
will now match the native representation of the transform in gfxContext.
- add two new functions CurrentMatrixDouble() and SetMatrixDouble() that
do what the old CurrentMatrix() and SetMatrix() used to do, i.e.
convert between the float matrix and the double matrix.
The rest of the change is just updating the call sites to avoid round-
tripping between floats and doubles where possible. Call sites that are
hard to fix are migrated to the new XXXDouble functions which preserves
the existing behaviour.
MozReview-Commit-ID: 5sbBpLUus3U
2017-11-10 21:14:09 -05:00
Ethan Lin
58b09d8e57
Bug 1416620 - Part2. Add a reftest for button border with inset shadow and empty border. r=kats
...
MozReview-Commit-ID: Jr3rm6fpgg8
--HG--
extra : rebase_source : 934fe71290ea4f51163b776efb559e0de72a0ae9
2017-11-13 13:55:33 +08:00
Miko Mynttinen
b7715ba593
Bug 1415485 - Make the pref layout.display-list.retain live again r=mattwoodrow
...
MozReview-Commit-ID: 6QFc4Sq3WiC
--HG--
extra : rebase_source : 946f69b611544671556aaab66654d2e30c59b4ef
extra : intermediate-source : 7ee9657574a2ee223b6184d1657803a0d382be59
extra : source : 558439637eba09eaae8a653ffc77d5830b16ff42
2017-11-09 16:10:21 +01:00
Jonathan Kew
7036cc5f85
Backed out changesets 75e7f32c3365, eec946b59360, 72a6f5f3512c, ea8ee40ed426 (bug 1412090) for apparently breaking all system-installed fonts on some Linux systems. r=backout
2017-11-10 16:05:33 +00:00