Граф коммитов

10902 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 4fd0cbda6e Bug 1421187 - P3. Optimize pixels data copy and remove extra loop. r=mattwoodrow
There's no need to perform the format test within the loop, so we can separate the different cases as needed.
Also copy the entire pixel data in one go, by using C types.

The skip value definition doesn't specify if it's in bytes, or in "pixels". We will assume the later. There are currently no decoders returning HDR content with a skip value different than zero anyway.

MozReview-Commit-ID: KTwYuNKJq3R

--HG--
extra : rebase_source : 3f1989c37ebdab6a60605815a961eda7286c423c
2017-11-28 16:29:49 +01:00
Jean-Yves Avenard 5166929d97 Bug 1421187 - P2. Properly set bytesPerPixel in MappedYCbCrTextureData. r=mattwoodrow
MozReview-Commit-ID: 891mPTv2Npj

--HG--
extra : rebase_source : 774360db3b03d8e57f5563cce2eb79421e17cd14
2017-11-28 15:53:54 +01:00
Jean-Yves Avenard f61bc130f1 Bug 1421187 - P1. Don't use fast path copy when CbCr channel interleaved. r=mattwoodrow
MozReview-Commit-ID: 6lZVoIiViEn

--HG--
extra : rebase_source : 4f056ffed386a6c3b921ab38aba14e1892b68142
2017-11-28 14:53:16 +01:00
Csoregi Natalia 8a2bcaea6d Backed out 5 changesets (bug 1420674) for Build Bustage. r=backout on a CLOSED TREE
Backed out changeset 89e84473d524 (bug 1420674)
Backed out changeset 22e1aa958dd2 (bug 1420674)
Backed out changeset 7f416f3bbacd (bug 1420674)
Backed out changeset 5af1da25ee57 (bug 1420674)
Backed out changeset eeb25dc98529 (bug 1420674)
2017-11-29 06:03:31 +02:00
David Anderson ce6acee07d Add high-res tiling support to Advanced Layers. (bug 1420674 part 5, r=mattwoodrow) 2017-11-28 18:34:59 -08:00
David Anderson 6bfb90d614 Override PaintedLayerMLGPU::AssignToView in preparation for supporting TiledContentHost. (bug 1420674 part 4, r=mattwoodrow) 2017-11-28 18:34:59 -08:00
David Anderson 49c3410c44 Use TextureSourceProvider instead of Compositor in TiledContentHost. (bug 1420674 part 3, r=mattwoodrow) 2017-11-28 18:34:58 -08:00
David Anderson cf981e7ff0 Fix ComponentAlphaPass for painted layers with multiple textures. (bug 1420674 part 2, r=rhunt). 2017-11-28 18:34:58 -08:00
David Anderson af51bf9ed7 Don't hardcode ContentHostTexture in PaintedLayerMLGPU. (bug 1420674 part 1, r=rhunt) 2017-11-28 18:34:58 -08:00
Tiberius Oros 18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Ethan Lin 24e38c2bb3 Bug 1421196 - Set default draw target to basic layer manager so that we won't have different backend. r=kats
MozReview-Commit-ID: IWzzPvAcwQ5

--HG--
extra : rebase_source : 28359fdfca721b29a93de5d0cc88d1c5ecc59a06
2017-11-28 17:25:49 +08:00
Ryan Hunt 9e12def723 Don't update content client if all we do is buffer operations. (bug 1419539, r=bas)
PaintOffMainThread uses didUpdate to track whether we queued work on the paint
thread and also if we painted new content into the buffer and need to update
the content client. These are independent and should have different flags. We
may flip the buffers incorrectly if we don't do this.

This is also important because ContentClient can return a BufferState even if
there are no operations and no backing buffer, causing a crash in Updated().

MozReview-Commit-ID: C6OW3jDJ3B4

--HG--
extra : rebase_source : 4545b70db1a608fdf736c6ff4c02836c00c80e93
2017-11-27 11:26:49 -05:00
JerryShih 81f7ebd06b Bug 1415754 - try to use egl stream instead of CreatePbufferFromClientBuffer() for d3d rgb format texture. r=jgilbert
MozReview-Commit-ID: Bydbxtx3oGU
2017-11-28 20:04:00 +08:00
Ryan Hunt 96a3a743e2 Allow painted layers with ancestor mask layers to use OMTP (bug 1419586, r=dvander)
MozReview-Commit-ID: 1Ru3lxaKUbl

--HG--
extra : rebase_source : df2fc3ecf68f8792945e4a3b72c23b7c9cfcc6fe
2017-11-21 19:22:27 -05:00
Kartikaya Gupta 35dbf0dfaf Bug 1418541 - Remove HitTestResult and use CompositorHitTestInfo instead. r=botond
MozReview-Commit-ID: KkBriZl7CEL

--HG--
extra : rebase_source : f307f6ab29ea8ec511c25fd859fd17fba6562a28
2017-11-25 10:53:38 -05:00
Ethan Lin 65814283ca Bug 1416995 - Enable retained mode for the basic layer manager in WR fallback. r=jrmuizel,kats
MozReview-Commit-ID: InYJSiKGqQE

--HG--
extra : rebase_source : 1e9ae74bac79209fa6f5c7758695c89ac17cbf52
2017-11-15 13:48:48 +08:00
Botond Ballo 297dd5355d Bug 951793 - Add overscroll-behavior to the layer dump. r=kats
MozReview-Commit-ID: 629DKmrbVIi
2017-11-25 01:29:17 +01:00
Botond Ballo 1b91441c7c Bug 951793 - Obey overscroll-behavior for swipe navigation. r=mstange
MozReview-Commit-ID: i2BuiAfG71
2017-11-25 01:29:15 +01:00
Botond Ballo e120e4e115 Bug 951793 - Obey overscroll-behavior for any overscroll effect. r=kats
MozReview-Commit-ID: HyATx3aCmmm
2017-11-25 01:29:13 +01:00
Botond Ballo 7a8b2f99d3 Bug 951793 - Obey overscroll-behavior for wheel and pan gesture events. r=kats
MozReview-Commit-ID: EmbsMu9Esww
2017-11-25 01:29:11 +01:00
Botond Ballo 6aaf9d8b94 Bug 951793 - Obey overscroll-behavior for fling handoff. r=kats
MozReview-Commit-ID: 9i2AgmW3Inm
2017-11-25 01:29:09 +01:00
Botond Ballo ba097e7549 Bug 951793 - Light refactoring to the fling handoff code. r=kats
Passing FlingHandoffState around as an in-out parameter was making
the next change (respecting overscroll-behavior) messy.

MozReview-Commit-ID: 4wuoll20Jt7
2017-11-25 01:29:08 +01:00
Botond Ballo 0f12d12993 Bug 951793 - Obey overscroll-behavior for immediate scroll handoff. r=kats
MozReview-Commit-ID: JPJOK8A1PQ
2017-11-25 01:29:05 +01:00
Botond Ballo df8a5f5637 Bug 951793 - Add a few utility functions to expose the overscroll behavior in relevant places in APZ. r=kats
MozReview-Commit-ID: 4wFfUY5p6J5
2017-11-25 01:29:03 +01:00
Botond Ballo 41aac0b97c Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
MozReview-Commit-ID: J7Vkd941QxK
2017-11-25 01:29:01 +01:00
Sebastian Hengst 6d4637aebb Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo 15fa114637 Bug 951793 - Add overscroll-behavior to the layer dump. r=kats
MozReview-Commit-ID: 629DKmrbVIi

--HG--
extra : rebase_source : 930e5c558a7bef5b1a816a9b8c37b271cc4f155b
2017-10-25 13:21:49 -04:00
Botond Ballo 3ddd46e5f1 Bug 951793 - Obey overscroll-behavior for swipe navigation. r=mstange
MozReview-Commit-ID: i2BuiAfG71

--HG--
extra : rebase_source : 9fd9b60db5c6e5f01033f6dca934024ce488cedb
2017-10-23 18:27:24 -04:00
Botond Ballo c956e489bc Bug 951793 - Obey overscroll-behavior for any overscroll effect. r=kats
MozReview-Commit-ID: HyATx3aCmmm

--HG--
extra : rebase_source : 43f8d69a8e10f778179e77679cb7581b95d25b87
2017-11-03 16:07:46 -04:00
Botond Ballo bfb1cd4ddd Bug 951793 - Obey overscroll-behavior for wheel and pan gesture events. r=kats
MozReview-Commit-ID: EmbsMu9Esww

--HG--
extra : rebase_source : f681f55f274757be4965e6c912e514e81e8b1c8f
2017-11-17 18:52:58 -05:00
Botond Ballo 15d10c1b0d Bug 951793 - Obey overscroll-behavior for fling handoff. r=kats
MozReview-Commit-ID: 9i2AgmW3Inm

--HG--
extra : rebase_source : 429438b26c2ab0b75690f87bd6b9b0b9187a4567
2017-11-03 16:03:38 -04:00
Botond Ballo 2f514da8d8 Bug 951793 - Light refactoring to the fling handoff code. r=kats
Passing FlingHandoffState around as an in-out parameter was making
the next change (respecting overscroll-behavior) messy.

MozReview-Commit-ID: 4wuoll20Jt7

--HG--
extra : rebase_source : c5d843254a38196547119419d1a2ad1fd0f3ef09
2017-11-03 13:07:48 -04:00
Botond Ballo d561386618 Bug 951793 - Obey overscroll-behavior for immediate scroll handoff. r=kats
MozReview-Commit-ID: JPJOK8A1PQ

--HG--
extra : rebase_source : 6603bb5e524bfb5cca5a9b4d23ebec2151d8bfb4
2017-10-20 19:16:44 -04:00
Botond Ballo 5d380ebb1c Bug 951793 - Add a few utility functions to expose the overscroll behavior in relevant places in APZ. r=kats
MozReview-Commit-ID: 4wFfUY5p6J5

--HG--
extra : rebase_source : 6e1e0fe0b3975bdd60b5cb13af950d74ea849d2f
2017-10-20 19:31:02 -04:00
Botond Ballo 69d3063396 Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
MozReview-Commit-ID: J7Vkd941QxK

--HG--
extra : rebase_source : f9d0f664f17f4efe34a21064cbbf259642fe3caf
2017-10-18 20:13:19 -04:00
Kartikaya Gupta dcc1822a45 Bug 1418387 - Find the appropriate scrollbar node in GetAPZCAtPointWR. r=botond
MozReview-Commit-ID: Fb4465Gaj7K

--HG--
extra : rebase_source : 647e617326d5e45dde0eb22b3ba9ac7cc03f7096
2017-11-24 16:23:06 -05:00
Kartikaya Gupta 4f10904eb2 Bug 1418387 - Add missing tree lock. r=botond
This is follow-up to bug 1417519, to fix an incorrect change in that bug.

GetAPZCAtPointWR calls things like FindRootApzcForLayersId which require
the tree lock to be held, so we should hold it. It makes more sense to
hold the lock across the whole GetTargetAPZC function since we don't want
tree mutations to happen while we're in this function.

It also means we can't call GetTargetAPZC inside GetAPZCAtPointWR
because that will recursively try to pick up the tree lock; instead we
can use GetTargetNode and get the APZC from that.

MozReview-Commit-ID: 7ZXQMMes8hV

--HG--
extra : rebase_source : 1c9650e6fb720ef26daf63151cd1f6b144aa8ffb
2017-11-24 16:23:05 -05:00
Kartikaya Gupta 0fab36e756 Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond
Most of this patch is just mechanical changes, but note that this patch
now makes the mFlags in scrollbar-container nsDisplayOwnLayer instances
have one of the direction bits set. As a result, this requires changing
the implementation of nsDisplayOwnLayer::IsScrollThumbLayer().

MozReview-Commit-ID: 2BLdbpz5Sa8

--HG--
extra : rebase_source : 27e7d90ce60c7f702fe77d8a3a0f7e3ae3e4a4ff
2017-11-24 16:23:05 -05:00
Kartikaya Gupta b799d00298 Bug 1418387 - Fix bugs that C++ should really catch for us. r=botond
MozReview-Commit-ID: EZWPBruZXdv

--HG--
extra : rebase_source : 89e2ed062dab713e6853be275fb248197c7ced03
2017-11-24 16:23:03 -05:00
Botond Ballo 42f0a3bac7 Bug 1420516 - Remove ScrollDirection::NONE. r=kats
ScrollDirection variables for which NONE was a valid value are replaced with
Maybe<ScrollDirection>.

I also took the opportunity to change the remaining ScrollDirection
enumerators to eTitleCase as per style guide.

MozReview-Commit-ID: GWejQR2HqH5

--HG--
extra : rebase_source : 6f8ad222caf73f9e02d772234f188eac4aac9301
2017-11-20 19:00:34 -05:00
peter chang e28fd08cee Bug 1375424 - Enable the GPU time out mechanism for WR, r=sotaro
MozReview-Commit-ID: JlsODvvdQiJ

--HG--
extra : rebase_source : bab4170b1e47652e33c5395342490d992735d713
2017-11-24 14:27:00 +08:00
peter chang f0d71f5a55 Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro
MozReview-Commit-ID: JJXYkF5PR5K

--HG--
extra : rebase_source : 86217890ee8a6e5d26b1b26cc063d42c6793c903
2017-11-23 16:31:55 +08:00
Kartikaya Gupta 86ac46d3f7 Bug 1412112 - Cache the view id on the ASR to speed up the ViewIDForASR operation. r=mstange
This also moves the function from nsLayoutUtils to be a function on the
ASR itself, which seems more appropriate.

MozReview-Commit-ID: 88lUmYi80P0

--HG--
extra : rebase_source : 3f7e4f875c3267f9f4c5c67e720912ceedb25719
2017-11-23 12:22:22 -05:00
Cosmin Sabou a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Kartikaya Gupta b7c06e062c Bug 1419926 - Remove virtual keyword from functions that already have override. r=mattwoodrow
The style guide (and linting tool) check for this, and these headers
have so many functions that it's better to just do a wholesale
conversion than to keep adding things and making the files more
inconsistent over time.

MozReview-Commit-ID: 1SFQv15bIxi

--HG--
extra : rebase_source : 177836ff47031d88da3682834ca96210e75f3f07
2017-11-22 16:05:10 -05:00
James Willcox e07d13a4a6 Bug 1413500 - Disable video surface readback (for page thumbnail) on Android r=jgilbert
MozReview-Commit-ID: IDGl7OzBY82
2017-11-22 12:28:15 -06:00
Ciure Andrei c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Ethan Lin e5621be884 Bug 1418374 - Discard blob image key when we create another new one. r=kats
MozReview-Commit-ID: FOa25SkYmdK

--HG--
extra : rebase_source : a04e8739df23c325d7026bfff714a9bddaea5b19
2017-11-21 11:49:42 +08:00
sotaro 8238c315e7 Bug 1418877 - Fix key reuse check in AsyncImagePipelineManager::UpdateImageKeys() r=nical 2017-11-22 09:52:22 +09:00
Coroiu Cristina 9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00