Sebastian Hengst
7f85daeb2a
Backed out changeset e9985564e081 (bug 1388162) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout
2017-08-10 14:40:20 +02:00
Matt Woodrow
95f2e31f88
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
2017-08-07 16:07:43 +12:00
Mason Chang
cddef9fa41
Bug 1386966. Coalesce OMTP drawtarget flushes until finished painting a layer. r=dvander
2017-08-09 08:24:15 -07:00
Jeff Muizelaar
eb11415d0a
Bug 1387298. wr: Remove items that we waited for from the table. r=nical
...
Otherwise we end up hitting assert in request()
2017-08-09 14:53:41 -04:00
Mason Chang
ce7bf90ba4
Bug 1386965
- Support async painting component-alpha layers. r=dvander
2017-08-09 09:39:07 -07:00
Ryan VanderMeulen
0668040c4e
Bug 1388551
- Update harfbuzz to version 1.4.8. r=jfkthame
...
--HG--
extra : rebase_source : ed754f01ec7503c17218c6ccc52009d76ea98098
2017-08-09 08:57:22 -04:00
vincentliu
ab39d5cc75
Bug 1386487 - Add checking mechanism if ID3D11Buffer created fail. r=rhunt, dvander
2017-08-09 23:23:18 +08:00
Ami
a0d49a5b2d
Bug 1386218 - remove unused function gfxContext::HasComplexClip; r=jrmuizel
2017-08-02 02:12:00 +02:00
Carsten "Tomcat" Book
c329d562fb
merge mozilla-inbound to mozilla-central a=merge
2017-08-09 11:37:08 +02:00
sotaro
481dd4d078
Bug 1380979 - Enable DXGITextureHostD3D11 usage with WebRender r=nical
2017-08-09 14:28:15 +09:00
sotaro
5ae793d1a7
Bug 1388254 - Fix borrowed DrawTarget's transform of DXGITextureData r=nical
2017-08-09 10:38:18 +09:00
Mason Chang
fa082bb902
Bug 1386080 - Make DrawTarget thread safe refcountable. r=bas
2017-08-08 15:11:11 -07:00
Eric Rahm
fe18bf0131
Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
...
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
Joel Maher
0003b91c8f
Bug 1388356
- add pref apz.test.fails_with_native_injection for windows to allow touch based events to work in windows 10 tests. r=kats
...
MozReview-Commit-ID: 3QJ1aFpxGxY
2017-08-08 15:08:04 -04:00
David Anderson
dbe6ce6a3f
Bug 1385101
Part 2 Hold TextureClients alive during async painting. r=mattwoodrow,mchang
2017-08-05 11:54:11 -07:00
David Anderson
8ac742dba7
Bug 1385101
Part 1 - Create CapturedPaintState in ContentClient rather than ClientPaintedLayer. r=mchang
2017-08-05 11:25:45 -07:00
Carsten "Tomcat" Book
0f16d437cc
merge mozilla-inbound to mozilla-central a=merge
2017-08-08 13:18:14 +02:00
Ethan Lin
80ffba5a9e
Bug 1387455 - Add nullptr check for the draw target in WebRenderLayerManager::GenerateFallbackData. r=kats
...
MozReview-Commit-ID: Dk8WiqOmA1y
--HG--
extra : rebase_source : 91f66b56b70e7cf6401baed1a84fa63bc422dc8b
2017-08-07 10:10:58 +08:00
cku
cb45f01e1b
Bug 1385929 - Part 2. Remove unecessary gfxContext::Save/Restore found by Part 1. r=mattwoodrow
...
gfxContext::PushGroupAndCopyBackground & PushGroupForBlendBack do not change the
content of AzureState, we should remove gfxContext::Save in these two functions.
MozReview-Commit-ID: LUuC7bkqFba
--HG--
extra : rebase_source : bed69fa8544e389f4ac13a63489a215a6c86d632
2017-08-01 20:38:15 +08:00
cku
7c4f63dc88
Bug 1385929 - Part 1. Check whether the content of the persisted state change. r=mattwoodrow
...
Since gfxContext::Save keep appear on my screen when I did profile, so I think
we should find a way to prevent unecessary usage of this function.
By this patch, an assertion message will be dump if we save and restore an
unchanged AzureState.
MozReview-Commit-ID: 5lH1Y5T5K7t
--HG--
extra : rebase_source : 3fe0bb72ad78273687008cdf87692090cf3fe931
2017-08-01 16:33:08 +08:00
Wes Kocher
223f322400
Merge m-c to autoland a=merge
...
MozReview-Commit-ID: 2qLtb79Nlhs
2017-08-08 15:26:30 -07:00
Daosheng Mu
53021c2bb8
Bug 1386664 - Add Knuckles string id for SteamVR Knuckles controllers; r=kip
...
MozReview-Commit-ID: H8fX21j0u6F
--HG--
extra : rebase_source : f3d3b2ccf62559fabc8a1bc112322b3fa7c1078f
2017-08-04 14:52:01 +08:00
Daosheng Mu
ea78826dc4
Bug 1382114 - Update openvr to 1.0.9; r=kip
...
MozReview-Commit-ID: BthbIIWFywD
--HG--
extra : rebase_source : 6dfa9c4c93e39acc4a2c74691ee389d4e0a0c166
2017-08-01 16:03:26 +08:00
Wes Kocher
6211964f2b
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Wes Kocher
cf8f3268a1
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 5tBON9YUdAO
2017-08-07 15:23:46 -07:00
Jonathan Kew
5d323919b9
Bug 1388059 - Ignore font size tolerance when selecting faces from a font family during global fallback. r=lsalzman
2017-08-07 17:27:33 +01:00
Jonathan Kew
7f081f0d06
Bug 1385462 - Ensure GlyphRunIterator::NextRun returns false immediately if the textrun's only glyphrun does not have a valid font. r=lsalzman
2017-08-07 17:26:08 +01:00
Lee Salzman
24cb8efdec
Bug 1385029 - remove virtual from gfxFont::GetCairoScaledFont. r=jfkthame
...
MozReview-Commit-ID: FNXL9aKtlKa
2017-08-07 16:20:48 -04:00
Lee Salzman
a21ad6d19e
Bug 1385029 - require implementation of gfxFont::GetScaledFont and remove unnecessary gfxPlatform::GetScaledFontForFont. r=jfkthame
...
MozReview-Commit-ID: GP1Aekecb0s
2017-08-07 16:20:44 -04:00
Lee Salzman
2276117381
Bug 1385029 - remove redundant CairoScaledFont accessor from gfxFont subclasses. r=jfkthame
...
MozReview-Commit-ID: BjcKkCgSZdG
2017-08-07 16:20:40 -04:00
Lee Salzman
79f42cf9ec
Bug 1385029 - get rid of gfxFontconfigUtils.h since gfxFontconfigFontBase is unnecessary. r=jfkthame
...
MozReview-Commit-ID: FTXjgmRYBxI
2017-08-07 16:20:37 -04:00
Lee Salzman
62bf3ccf48
Bug 1385029 - make ScaledFont::SetCairoScaledFont virtual so it can be accessed from outside Moz2D. r=jrmuizel
...
MozReview-Commit-ID: 1RrXqJeJJ2Y
2017-08-07 16:20:32 -04:00
Carsten "Tomcat" Book
a24b9505f9
Merge mozilla-central to autoland
2017-08-07 13:16:54 +02:00
sotaro
9be589ac3c
Bug 1387352 - Avoids falling into the fallback codepath for async ImageContainers in layers-free mode r=kats
2017-08-07 11:09:50 +09:00
Sylvestre Ledru
a85265140e
Bug 1387376 - Reserve memory before using push_back with vector r=nical
...
MozReview-Commit-ID: BOyPShEVfzt
--HG--
extra : rebase_source : 2564c80f5ac593927d9b104199e0b747f9ab887b
2017-08-04 11:35:33 +02:00
JerryShih
5d101602fb
Bug 1357299 - P12: Add SyncObject in RendererOGL. v2. r=nical
...
With DXVA2 hardware-video-decoding, the RendererOGL should have a
synchronization mechanism to prevent the flickering of video texture.
Create a SyncObject in RendererOGL to do the texture synchronization.
The WebRenderAPI also exposes the RendererOGL's SyncHandle to
WebRenderBridgeParent. Then, the WebRenderBridgeParent could pass this SyncHandle
to the video decoding module for texture synchronization.
MozReview-Commit-ID: toQ2mO5fzG
2017-08-07 18:15:25 +08:00
JerryShih
061742e951
Bug 1357299 - P11: Update layers, dxva and vr module to use SyncObjectChild. v3. r=mattwoodrow,dvander
...
MozReview-Commit-ID: 4HTPz0YcYHq
2017-08-07 18:15:24 +08:00
JerryShih
3d8f544df7
Bug 1357299 - P10-1: Update MLGDeviceD3D11 and CompositorD3D11 to use SyncObjectHost. r=dvander
...
From bug 1163440, there is an additional AcquireSync() call around the swapChain::Present(). Export the KeyedMutex from SyncObjectD3D11Host for this synchronization.
MozReview-Commit-ID: 8mPs4jKj67W
2017-08-07 18:15:24 +08:00
JerryShih
e60ceae85f
Bug 1357299 - P10: Update MLGDeviceD3D11 and CompositorD3D11 to use SyncObjectHost. v2. r=mattwoodrow,dvander
...
MozReview-Commit-ID: 1a0Ho7smkAx
2017-08-07 18:15:24 +08:00
JerryShih
50bd333891
Bug 1357299 - P9: Do the refactoring for SyncObject. v2. r=mattwoodrow,dvander
...
The MLGDeviceD3D11, CompositorD3D11 and TextureClient use the same synchronization mechanism.
Create the new SyncObjectClient/Host types for reusing code.
Add SyncObject.cpp/h and create two new data types: SyncObjectClient and SyncObjectHost.
The SyncObjectClient is used for the TextureClient synchronization at client side.
The SyncObjectHost is used for the TextureHost synchronization in renderers such
as MLGDeviceD3D11 and CompositorD3D11.
MozReview-Commit-ID: 3l56WK1aZ15
2017-08-07 18:15:23 +08:00
JerryShih
339fc2e58c
Bug 1357299 - P7: Fix unified-build build break. r=mattwoodrow
...
MozReview-Commit-ID: GSUxyWUfBVt
2017-08-07 18:15:23 +08:00
JerryShih
54c85f4bbb
Bug 1357299 - P4: Get the gl handle from d3d shared texture handle. v2. r=jgilbert
...
MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00
JerryShih
f488575a07
Bug 1357299 - P3: Support DXGI texture type for WR. v2. r=nical
...
Create the corresponding RenderTextureHost type and WR commands for DXGI texture type.
The DXGITextureHostD3D11 will use 1 or 2 image keys for non-nv12 and nv12 texture format.
The DXGIYCbCrTextureHostD3D11 is a special case. The WR uses ANGLE in windows platform,
but the ANGLE doesn't support A8 format directx texture directly. So, we use libyuv to
convert the DXGIYCbCrTextureHostD3D11 texture buffer into RGBA format buffer and use
WR::AddImage() for that image. This is a slow code path. We will refine this case later.
The whole RenderD3D11TextureHostOGL implementation is in the next patch.
MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00
JerryShih
9fdb7a255f
Bug 1357299 - P2: Remove the unused IsWrappingNativeHandle() function in WebRenderTextureHost. r=nical
...
All WR texture related codes are move into GetWRImageKeys(), AddWRImage() and PushExternalImage().
Each texture type could generate its WR commands individually. So, this "mIsWrappingNativeHandle" flag is not used anymore.
MozReview-Commit-ID: 1TITkGRemAr
2017-08-07 18:15:21 +08:00
JerryShih
0081892f19
Bug 1357299 - P1-1: Fix the wrong return value for DestroyStreamKHR(). r=jgilbert
...
MozReview-Commit-ID: 4OMHJka03Kd
2017-08-07 18:15:21 +08:00
JerryShih
866d845e94
Bug 1357299 - P1: Fix the wrong ext string for QueryDisplayAttribEXT. v2. r=jgilbert
...
MozReview-Commit-ID: 3lZG2GrxXHF
2017-08-07 18:15:21 +08:00
David Anderson
783e6ecfd6
Add diagnostics for the crash in bug 1387467. r=milan
2017-08-05 01:32:25 -07:00
Sebastian Hengst
39ccebaf18
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Milan Sreckovic
56c2b6e6f7
Bug 1386277: Add set methods for width and height that change nothing else, as well as the Swap method r=bas
...
MozReview-Commit-ID: 6TZ977mvH5C
--HG--
extra : rebase_source : 3f124c682ac914f3fde27c396c2fb21b324ed521
2017-08-03 15:29:35 -04:00
Sebastian Hengst
765cc1b925
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JhesEg4Bxjy
2017-08-04 19:28:27 +02:00