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

26150 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Ryan VanderMeulen 6cb217315a Backed out 12 changesets (bug 1366502) for causing intermittent QuantumRender debug crashtest crashes on a CLOSED TREE.
Backed out changeset 42350bacb0bc (bug 1366502)
Backed out changeset 7f98b7f60e58 (bug 1366502)
Backed out changeset 265e39153027 (bug 1366502)
Backed out changeset cf598918bb1b (bug 1366502)
Backed out changeset e2f21ee861e5 (bug 1366502)
Backed out changeset f7fcc15d8f90 (bug 1366502)
Backed out changeset 22408b6a1ad1 (bug 1366502)
Backed out changeset 8846dac9ee35 (bug 1366502)
Backed out changeset d5225d81b832 (bug 1366502)
Backed out changeset 82f5a21b53a6 (bug 1366502)
Backed out changeset 2b20aebef47d (bug 1366502)
Backed out changeset 95f4d82e3d79 (bug 1366502)
2017-06-06 18:06:42 -04:00
Sebastian Hengst ff1767bcb6 Backed out changeset f09499d7310c (bug 1359527) for Android bustage while processing gfx/2d/moz.build. r=backout 2017-06-06 18:40:32 +02:00
Mason Chang 52834cd6f7 Bug 1359527 Part 1 Add DrawTarget::IntoLuminance. r=jrmuizel 2017-06-02 11:13:36 -07:00
Martin Robinson 7d937678f4 Bug 1365972 - Add initial WebRender support for nsDisplayFilter. r=rhunt, r=mattwoodrow 2017-06-06 06:28:00 -04:00
Kartikaya Gupta 9455874723 Bug 1370526 - Fix new[]/delete mismatch. r=jrmuizel
MozReview-Commit-ID: H7J8BK7regw

--HG--
extra : rebase_source : d7bc3004a0ed48d0204424c829f7bbde28afc826
2017-06-06 09:43:43 -04:00
JerryShih 148f24bb56 Bug 1366502 - Make sure all wrapped textureHosts doesn't use TextureFlags::DEALLOCATE_CLIENT flag. v2. r=sotaro
MozReview-Commit-ID: KjZIGRzRomT
2017-06-06 19:18:41 +08:00
JerryShih 719611f82b Bug 1366502 - Update the thread model for RegisterExternalImage(), UnregisterExternalImage() and GetRenderTexture() call. v2. r=sotaro
If we call UnregisterExternalImage() at non-render-thread and decrease the RenderTextureHost's ref-count to zero, the RenderTextureHost will be released in non-render-thread.
That will cause some problems if we use some thread-specific functions in ~RenderTextureHost().
This patch uses a message loop in UnregisterExternalImage() to resolve this problem.

MozReview-Commit-ID: CDazxGkE1cK
2017-06-06 19:18:40 +08:00
JerryShih 3c7cfd03af Bug 1366502 - Make sure the RenderTextureHost is released in render thread. r=sotaro.
The RenderTextureHost might calls some thread-specific functions(e.g. OpenGL calls) in ~RenderTextureHost(). Add a checking here to prevent this problem.

MozReview-Commit-ID: 62QlavmXOig
2017-06-06 19:18:40 +08:00
JerryShih ef71dedff2 Bug 1366502 - Update WebRenderTextureHost for video pipeline. r=sotaro
MozReview-Commit-ID: 8ODLYyXzHjO
2017-06-06 19:18:40 +08:00
JerryShih 5d9cc402f0 Bug 1366502 - Update TextureD3D11 for video pipeline. v2. r=sotaro
Update for DXGITextureHostD3D11 and DXGIYCbCrTextureHostD3D11.

MozReview-Commit-ID: CQqzHK3jqz7
2017-06-06 19:18:39 +08:00
JerryShih 2b0dbd66c3 Bug 1366502 - Update MacIOSurfaceTextureHostOGL for video pipeline. r=sotaro
MozReview-Commit-ID: 5cu8cYoTMxT
2017-06-06 19:18:39 +08:00
JerryShih 620a1df76e Bug 1366502 - Update BufferTextureHost and RenderBufferTextureHost for video pipeline. r=sotaro
WR supports the planar-ycbcr image format. We turn to use the planar-ycbcr image to get rid of the software-ycbcr-to-rgb color format conversion(using libyuv) in gecko.

The BufferTextureHost will use 3 image keys for SurfaceFormat::YUV format.
The RenderBufferTextureHost will also use 3 DataSourceSurfaces to represent the 3 channel data in planar-ycbcr format.

MozReview-Commit-ID: 3mMreSzKnMv
2017-06-06 19:18:39 +08:00
JerryShih 77ae26621d Bug 1366502 - Add GetWRImageKeys() and PushExternalImage() in textureHost. r=sotaro
These 2 functions are used for WR.
The GetWRImageKeys() will return the proper image keys according to the textureHost format.
The PushExternalImage() will put all necessary WR commands into DisplayListBuilder for the textureHost rendering.

MozReview-Commit-ID: FwCDxwsCMMy
2017-06-06 19:18:39 +08:00
JerryShih dc5be30b45 Bug 1366502 - Move the various of image key and WR command settings from WebRenderCompositableHolder into textureHosts. r=sotaro
It's awful to put all combination of image key and WR command settings in the same place. Make the settings go back to textureHosts.
Each textureHost should implement GetWRImageKeys() and PushExternalImage() function.

MozReview-Commit-ID: 5Bmiuv5HgmX
2017-06-06 19:18:38 +08:00
JerryShih c23ae2a1b2 Bug 1366502 - Update the thread checking for WR image functions. r=sotaro
With the video pipeline, we could call the WR image functions in compositor thread.

MozReview-Commit-ID: LtaihkLnbL3
2017-06-06 19:18:38 +08:00
JerryShih 8ed95790fb Bug 1366502 - Rename mImageClientTypeContainer into mImageClientContainerType. r=sotaro
MozReview-Commit-ID: LcSHVkBbM6G
2017-06-06 19:18:38 +08:00
Kartikaya Gupta 31a38cab53 Bug 1369152 - Update webrender to cset b2614e4eb58f9dee08b8c38f96bc3bac834c837b. r=jrmuizel
MozReview-Commit-ID: 5PRr2dZLTZ4

--HG--
extra : rebase_source : 234b8e9632cd02d9949cac761ca9523615b3d9a3
2017-06-05 16:42:02 -04:00
Botond Ballo 9e5ace4056 Bug 1369929 - Do not increase the indent twice in the TreeAutoIndent copy constructor. r=kats
MozReview-Commit-ID: BVudzxWZnQS

--HG--
extra : rebase_source : ff590dc7e5aa31f6d93baf91f8e8df2f27c95628
2017-06-05 12:42:28 -04:00
sotaro e19a847326 Bug 1359993 - Reduce invalidation of video r=nical 2017-06-05 20:55:14 +09:00
JerryShih b64d13e2ad Bug 1370117 - Update the external image status for reusing case. r=sotaro
When gecko go through the reusing case, the aUseExternalImage isn't set to the correct value. It is always false here.
Then, gecko will use the non-external-image code path later. Add a new data member "mUseExternalImage" to save the previous status.

MozReview-Commit-ID: KvzgIzYXNAB
2017-06-05 15:30:10 +08:00
sotaro d3ac7845d4 Bug 1370093 - Add mDestroyed checks r=nical 2017-06-05 15:41:21 +09:00
Kartikaya Gupta 10f514bb72 Bug 1369840 - Support content-side APZ test data in WebRenderLayerManager. r=botond
This mostly just copies the functional parts of the APZTestData code from
ClientLayerManager into WebRenderLayerManager, and propagates the paint sequence
number over to the compositor using the existing WebRenderScrollData machinery.

MozReview-Commit-ID: LHupFpqtWTX
2017-06-04 22:29:35 -04:00
Kartikaya Gupta 8b69d8d217 Bug 1369840 - Support getting the compositor-side APZ test data over PWebRenderBridge. r=botond
This is fairly straightforward plumbing. The webrender equivalent of PLayerTransaction
is PWebRenderBridge and we can use that to get the compositor-side APZTestData.

MozReview-Commit-ID: Bn8WjKW5GoI
2017-06-04 22:29:35 -04:00
Kartikaya Gupta 7b9aca62f5 Bug 1369840 - Modify CompositorBridgeParentBase::GetAPZTestData to take a layers id instead of a transaction parent. r=botond
This allows us to use it from WebRenderBridgeParent which doesn't have a
LayerTransactionParent instance.

MozReview-Commit-ID: CyX5rmgOxgd
2017-06-04 22:29:34 -04:00
Sebastian Hengst 5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Wes Kocher 269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Randall Barker c7643066a3 Bug 1369298 - Prevent AndrodDynamicToolbarAnimator from getting Initialized if compositor is being shutdown r=botond
MozReview-Commit-ID: 5N7bKyaXzPH
2017-06-02 13:25:18 -07:00
Wes Kocher 0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Sebastian Hengst d4621624fb Backed out changeset 3fccc08e0486 (bug 1369840) for crashing in test_bug1151663.html on Android 4.3 api15+ debug. r=backout 2017-06-03 10:12:17 +02:00
Sebastian Hengst b523ccd931 Backed out changeset 4fe99b113fff (bug 1369840) 2017-06-03 10:11:25 +02:00
Sebastian Hengst ee709cb070 Backed out changeset b7bcbc5c1b92 (bug 1369840) 2017-06-03 10:11:17 +02:00
Joel Maher fcbe4fa277 Bug 1323238 - disable MOZ_GTEST_BENCH tests as we are not looking at the data. r=wlach
MozReview-Commit-ID: xYRHpWVaa7
2017-06-02 13:27:20 -04:00
James Willcox bd21ee4811 Bug 1367287 - Reference count GeckoSurfaceTexture r=jchen
MozReview-Commit-ID: 1JJVzCmANyH
2017-06-02 10:14:20 -05:00
Carsten "Tomcat" Book c63e6d4789 Merge mozilla-central to mozilla-inbound 2017-06-02 14:32:35 +02:00
Carsten "Tomcat" Book efccdfdb0a merge mozilla-inbound to mozilla-central a=merge 2017-06-02 14:22:17 +02:00
Ethan Lin 1927f89975 Bug 1358055 - Enable background color layer by default for webrender. r=kats 2017-06-02 18:21:07 +08:00
sotaro 064920e81e Bug 1345054 part 2 -Reduce DisplayList update and ImageKey generation r=nical 2017-06-02 16:11:53 +09:00
sotaro 807999b9d6 Bug 1345054 part 1 - Allocate pipleline for each video r=nical 2017-06-02 16:11:34 +09:00
Ethan Lin c0df57e679 Bug 1369264 - Part1. Enable column rule layer by default. r=pchang 2017-06-02 11:55:11 +08:00
Jean-Yves Avenard a9142498ec Bug 1360006: Whitelist VP9 decoder to intel GPU only. r=mattwoodrow
We enable by default the VP9 hardware decoder on intel GPU.

MozReview-Commit-ID: FzMzbpZErjQ

--HG--
extra : rebase_source : f34c969f7dda1ef24224e982f31d5e43cfae7cc0
2017-06-01 22:17:56 +02:00
Phil Ringnalda f3312efa43 Backed out changeset ca6881983573 (bug 1366941) for build bustage
CLOSED TREE

MozReview-Commit-ID: DgThUZ2RpU
2017-06-01 20:05:48 -07:00
Daosheng Mu e10b834325 Bug 1366941 - Checking LayersIPCChannel type when using recycled textureClient; r=nical
MozReview-Commit-ID: AJUJIC2tkHC

--HG--
extra : rebase_source : 259b8c9f63313dcb5c2291bacb4bcfdc04e757b1
2017-06-01 13:34:00 +08:00
Jeff Muizelaar 5fae3040ce Bug 1369490. Remove some backend type checks that aren't needed. r=lsalzman
This checks won't work with the forthcoming recording backend and don't
seem to really be accomplishing anything.
2017-06-01 16:58:24 -04:00
sotaro e155c862e7 Bug 1363958 - Fix WebRenderLayerManager::FlushRendering() r=nical 2017-06-02 08:07:59 +09:00
Ryan VanderMeulen de281f5bba Merge m-c to autoland. a=merge 2017-06-02 11:11:13 -04:00
Carsten "Tomcat" Book 5fba38b977 Merge mozilla-central to autoland 2017-06-02 14:33:40 +02:00
Mike Hommey b8847f17d0 Bug 1369615 - Avoid unnecessary struct field shorthand in webrender. r=kats
This applies the patch from https://github.com/servo/webrender/pull/1330
without pulling all the recent changes to webrender.

Bug 1321847 will ensure further updates don't break building with older
versions of rustc without meaning to.

--HG--
extra : rebase_source : 6b08ff312f596b56d31b444e670f442c47d7d110
2017-06-02 14:01:55 +09:00
Ryan VanderMeulen 0635a6f864 Merge m-c to inbound. a=merge
CLOSED TREE
2017-06-01 12:48:15 -04:00
Kartikaya Gupta f7afb5a21c Merge m-c to graphics, a=merge
MozReview-Commit-ID: COZj8Itgjcz
2017-06-01 09:56:23 -04:00