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
Dorel Luca
79499f4044
Merge mozilla-central to autoland r=merge on a CLOSED TREE
2017-11-29 12:31:25 +02:00
Dorel Luca
be78e6ea9b
Merge inbound to mozilla-central r=merge a=merge
2017-11-29 12:26:15 +02:00
sotaro
5c61ce035d
Bug 1421199 - Use EGL_EXPERIMENTAL_PRESENT_PATH_FAST_ANGLE for WebRender r=jgilbert
2017-11-29 13:13:40 +09: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
Jean-Yves Avenard
424a8ff8a0
Bug 1417973 - Always use the AMD GPU decoder. r=mattwoodrow
...
High resolution, high framerate was disabled by default on old AMD cards on the provisio that it was bad. But this assumes that the CPU decoder could do it better.
This assumption appears fragile at best, as CPU with those old adapter are likely to be old and underpower to start with.
Chrome doesn't appear to restrict use of those cards to a given resolution.
So we disable this restriction, while making it user configurable.
MozReview-Commit-ID: HhADHNR0FdJ
--HG--
extra : rebase_source : ece39cd9b84c6e372d1002ee12e72523cee3d04d
2017-11-22 20:58:09 +01:00
Mark Banner
099e4fa549
Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop
...
MozReview-Commit-ID: 4nbTuNNnAdZ
--HG--
extra : rebase_source : 7131f0ddad79d28615a5799c657972bd84a69180
2017-11-28 22:57:08 +00: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
Jeff Gilbert
6c3abcde6a
Bug 1390386 - Use uintptr for the thread-local. - r=daoshengmu
...
We're just doing a value comparison, so there's no reason this needs to be a pointer.
MozReview-Commit-ID: 6ck2s2fsdq5
2017-11-28 17:13:45 -08:00
Jeff Gilbert
4ff360b4cd
Bug 1390386 - Allow null EGLSurfaces. - r=daoshengmu
...
MozReview-Commit-ID: 4dnmJ9H3RGJ
2017-11-28 17:13:35 -08:00
Jeff Gilbert
fc61254cca
Bug 1390386 - fGetError should use BEFORE_GL_CALL. - r=jrmuizel
...
MozReview-Commit-ID: B8sR38Bzjb5
2017-11-28 17:13:26 -08:00
Jeff Gilbert
ea479cbf60
Bug 1390386 - Remove duplicate IsCurrent checks in MakeCurrentImpls. - r=jrmuizel
...
MozReview-Commit-ID: LZeLbciWnic
2017-11-28 17:13:17 -08:00
Jeff Gilbert
fbf8b4797b
Bug 1390386 - IsCurrent should understand mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 7vMRUPMc3nN
2017-11-28 17:13:07 -08:00
Jeff Gilbert
2bc1cf06c1
Bug 1390386 - Remove old TLS current-context check. - r=daoshengmu
...
MozReview-Commit-ID: 18GSNztjkTM
2017-11-28 17:12:58 -08:00
Jeff Gilbert
41f0a05667
Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Jeff Gilbert
9c2ba78435
Bug 1390386 - Make MakeCurrent const. - r=daoshengmu
...
MozReview-Commit-ID: 3m3T6iMgZOc
2017-11-28 17:12:39 -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
Kartikaya Gupta
d3c9541764
Bug 1420163 - Update for API change in WR PR 2105. r=jrmuizel
...
MozReview-Commit-ID: AYTN74RZfTQ
--HG--
extra : rebase_source : 281699cfe536e6d2adb18f2fafa2e4d7a592f8ce
2017-11-28 09:40:32 -05:00
Kartikaya Gupta
de3cbeca0a
Bug 1420163 - Update webrender to commit e30886d78c91bdd433fd978a39c511ef9416608e. r=jrmuizel
...
MozReview-Commit-ID: 1HI5MrCCdn4
--HG--
extra : rebase_source : d2ec8a1adbbe075636b73467a87a5769ebfd0ff7
2017-11-28 09:40:01 -05: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
Cosmin Sabou
7d7b59dd0b
Backed out changeset 423f4e43a975 (bug 1417751) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE
2017-11-28 13:50:59 +02: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
Ryan VanderMeulen
aac3a947d7
Bug 1417131 - Update HarfBuzz to 1.7.1. r=jfkthame
2017-11-28 10:14:22 -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
JerryShih
f0fef8ac17
Bug 1415754 - check the mHandle status before using in RenderDXGITextureHostOGL::EnsureLockable(). r=jgilbert
...
MozReview-Commit-ID: AkyStTSjS8F
2017-11-28 20:04:00 +08:00
JerryShih
de06fec4cc
Bug 1415754 - check the surface status before use in RenderDXGITextureHostOGL::EnsureLockable(). r=jgilbert
...
MozReview-Commit-ID: 4e0lyXsVOgT
2017-11-28 20:04:00 +08:00
JerryShih
01092dde40
Bug 1415754 - make OpenSharedResource() call become fallible in SwapChain11::resetOffscreenColorBuffer(). r=jgilbert
...
MozReview-Commit-ID: 8jr9ls3jx7D
2017-11-28 20:04:00 +08:00
Daosheng Mu
87c982950e
Bug 1419344 - Adjust OpenVR input mapping for Microsoft Mixed Reality controllers. r=kip
...
MozReview-Commit-ID: 2NzaDM9iXrB
2017-11-27 21:55:50 -05:00
Margareta Eliza Balazs
f0400e7e4c
Merge inbound to mozilla-central r=merge a=merge
2017-11-27 23:57:42 +02: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
Bob Owen
af20a22dd8
Bug 1420922: Remove orphaned TARGET_SANDBOX_EXPORTS defines. r=dmajor
2017-11-27 16:07:15 +00:00
Ciure Andrei
ce43f5fe52
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-11-27 11:51:40 +02:00
Bas Schouten
62909856db
Bug 1416862: Ensure mSnapshot access is always protected by mSnapshotlock. r=mattwoodrow
...
MozReview-Commit-ID: 8qkFde46WPQ
2017-11-27 03:12:09 +01:00
Robert Longson
059b5600cf
Bug 584623 - fix cairo bounds calculation for zero length lines. r=jmuizelaar
2017-11-26 14:47:25 +00: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
Gerald Squelart
91a021aeb0
Bug 1420298 'layout.display-list.retain.verify' to debug retained-dl - r=mattwoodrow
...
Setting the 'layout.display-list.retain.verify' gfxPrefs implies
'layout.display-list.build-twice', and then compares the retained-built tree
to the non-retained one, and outputs differences&trees to the terminal.
MozReview-Commit-ID: 3dnyIUTbtH8
--HG--
extra : rebase_source : 36a6b8f029d0bd1339557e7c630906311ecf1254
2017-11-20 17:15:08 +11: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