Wes Kocher
b53f4d8806
Merge m-c to inbound, a=merge
2017-04-17 13:03:40 -07:00
Wes Kocher
228c755a80
Merge inbound to central, a=merge
2017-04-17 12:56:25 -07:00
Wes Kocher
0becaff588
Merge autoland to central, a=merge
2017-04-17 12:41:36 -07:00
Kearwood Gilbert
c944eed13a
Bug 1356387 - Add constructor to VRHMDSensorState
...
- Also removed some now redundant calls to VRHMDSensorState::Clear()
MozReview-Commit-ID: Kkbvkn3XAP4
--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Kartikaya Gupta
7a4b7a370e
Bug 1356695 - Ensure gfxPrefs is initialized if gfxPlatform::AsyncPanZoomEnabled is called early in startup. r=milan
...
MozReview-Commit-ID: CnHHcuZRPTc
2017-04-17 11:56:26 -04:00
Jeff Muizelaar
67e82cd2a7
Bug 1356689. Add pref to highlight painted layers. r=mchang
...
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Lee Salzman
03ed17e42f
Bug 1357009 - add missing UnscaledFontGDI::GetFontInstanceData. r=jrmuizel
...
MozReview-Commit-ID: 21EoCWhkDDu
2017-04-17 10:59:31 -04:00
Masatoshi Kimura
48a997a3cb
Bug 1356218 - Fix nsDeviceContext::GetDepth to use the information from the correct monitor. r=jfkthame
...
MozReview-Commit-ID: BQpm6y3Ayo4
--HG--
extra : rebase_source : c798db446d28c0621d38fb65a5345300ace8cca7
2017-04-14 20:50:13 +09:00
Mason Chang
25d7f57213
Bug 1351733. Reuse D2D Source Surfaces with Draw Target Dual. r=bas
2017-04-17 08:41:42 -07:00
peter chang
82b62cfc18
Bug 1344079 - Convert ColumnRule to WebRenderDisplayItemLayer, r=mattwoodrow
...
MozReview-Commit-ID: AmAVYi4P7nl
--HG--
extra : rebase_source : a2c7196cca088ed44e3c1dadd7ba599348ffbd29
2017-03-24 17:35:35 +08:00
Kevin Chen
4e82c4bafe
Bug 1352376 - Update device data while processing device reset; r=dvander
...
MozReview-Commit-ID: 9sqdRhsX5HU
--HG--
extra : rebase_source : 00ce838008d20546f1f096d690455117efa9000d
2017-04-05 15:17:36 +08:00
Kartikaya Gupta
5e82717849
Bug 1350638 - Remove the GetCompositorOptions IPC message as it is no longer used. r=dvander
...
MozReview-Commit-ID: 18uiWGA9eJy
--HG--
extra : rebase_source : 217697a0e63d8c02d78de894ff7f33850924e50c
2017-04-09 17:31:59 -04:00
Kartikaya Gupta
a13700a7ce
Bug 1350638 - Remove sync GetCompositorOptions call added in the last patch. r=dvander
...
This call should be a no-op in the real world, and should be safe to
remove. The patch also adds an assert to ensure that the call is
effectively a no-op.
MozReview-Commit-ID: BXdcnHULWW2
--HG--
extra : rebase_source : 03c57d2d6dbfb1d330ce7eab6d842d8375d33208
2017-04-09 17:31:06 -04:00
Kartikaya Gupta
1bfa62105b
Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
...
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.
The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.
MozReview-Commit-ID: AtdYOuXmHu4
--HG--
extra : rebase_source : 5b80831cf84d3a4b57b2214a12ccf8a896cfa3a7
2017-04-09 17:30:27 -04:00
Bob Owen
3f14ad38c2
Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor
2017-04-08 22:47:51 +01:00
Kevin Chen
8dc292c901
Bug 1350828 - Label CompositorForwarder; r=bevistseng,kats
...
MozReview-Commit-ID: 714oc4O8MNs
--HG--
extra : rebase_source : fa07e6cc6daf1e51818cdc9dabcceb39f7bc90c8
2017-03-29 13:49:20 +08:00
Ben Tian
cda6ed446d
Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
...
MozReview-Commit-ID: 8vjyVrfa3xT
--HG--
extra : rebase_source : d63942141b562e0e69611f3cbc1da4e9ee522efc
2017-04-14 10:40:03 +08:00
Hiroyuki Ikezoe
c8b56985f8
Bug 1354876 - Add variables for represents 'normal' value for font-variant-{alternates, east-asian, numeric, ligatures}. r=heycam
...
MozReview-Commit-ID: 2ofk4h8fN6Z
--HG--
extra : rebase_source : d99bef63145b92d70815a3f8b40bc752df79f546
2017-04-14 10:41:21 +09:00
Hiroyuki Ikezoe
23622d782f
Bug 1354876 - Use literal numbers to shift bit for macros of font-variant-{alternates, east-asian, numeric, ligatures}. r=heycam
...
rust-bindgen does not support this kind of constants macro.
MozReview-Commit-ID: DxR65I08N53
--HG--
extra : rebase_source : dc7d16ce6eb1855595e5fdadb201939b75a4d919
2017-04-14 10:41:21 +09:00
Phil Ringnalda
5376aa11d4
Merge m-c to a CLOSED TREE autoland
2017-04-13 20:17:27 -07:00
Gregory Moore
41c5615de3
Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond
...
--HG--
extra : rebase_source : 32f6c2eb545febde577d1739d5903008116a65f6
2017-03-25 18:36:35 -07:00
Manish Goregaokar
91da4afd2b
Bug 1341102 - Fix stylo bustage ; r=bustage
...
MozReview-Commit-ID: 381FV2GDvWu
2017-04-10 17:27:16 +08:00
Manish Goregaokar
6be22491bd
Bug 1341724 - Part 4: stylo: Make font metrics usage threadsafe; r=heycam
...
MozReview-Commit-ID: 3EqpUy09UuI
2017-04-10 17:06:19 +08:00
Gerald Squelart
2b9e3638a2
Bug 1337062 - Transfer initial gfxVars with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: EUnwXkDwBTZ
--HG--
extra : rebase_source : b02164c0b681d8cc389a2c493630aebd63069474
2017-04-11 15:36:56 +12:00
Milan Sreckovic
2a121b2491
Bug 1356091: Allow the compositor process with the software compositor. r=dvander
...
MozReview-Commit-ID: Ljt73heC0k4
--HG--
extra : rebase_source : 17e4d6300a0dcb39e1cbea2fa01aed4c50377b3a
2017-04-13 00:08:09 -04:00
Daosheng Mu
44629c133a
Bug 1336003 - Oculus Touch button touched support; r=kip
...
MozReview-Commit-ID: 95RViosiVXO
--HG--
extra : rebase_source : 4a3b714e3abd18fccf526392210477d63ae6dc26
2017-04-13 14:06:07 +08:00
Carsten "Tomcat" Book
f053c5e039
Merge mozilla-central to mozilla-inbound
2017-04-11 10:22:53 +02:00
Bob Owen
ab1587da50
Bug 1355011: Remove DrawEventRecorderMemory as it can too easily cause OOMs. r=lsalzman
2017-04-11 08:20:41 +01:00
Jonathan Kew
21b1570eb8
Bug 1352977 - Factor out helpers to construct the names for generic- and language-dependent font/font-list preferences. r=masayuki
2017-04-12 11:32:19 +01:00
Jonathan Kew
6f0d451756
Bug 1352528 - Hoist call to GetRoundOffsetsToPixels out of the inner loop of text shaping. r=jrmuizel
2017-04-03 17:49:17 +01:00
Iris Hsiao
d13a81eccb
Merge mozilla-central to mozilla-inbound
2017-04-12 11:24:24 +08:00
Bill McCloskey
ff14bfe5f0
Bug 1349699 - Close GPU channel unconditionally (r=dvander)
...
MozReview-Commit-ID: 4Ge2ib9p1i
2017-04-11 13:15:05 -07:00
Bill McCloskey
30b9639c6e
Bug 1333968 - Label the DidComposite message (r=dvander)
...
MozReview-Commit-ID: 7cW7apxUJu0
2017-04-11 12:59:13 -07:00
Kearwood Gilbert
9466b8b744
Bug 1350076 - Add a preference to allow proximity sensor triggering of vrdisplayactivate and vrdisplaydeactivate r=daoshengmu
...
MozReview-Commit-ID: CIPwXAofYhD
--HG--
extra : rebase_source : ed592a84b721fdba407175ada1abf831eb785357
2017-04-04 11:28:56 -07:00
Daosheng Mu
031d7a70be
Bug 1349895 - Vive Tracker support in OpenVR; r=kip
...
MozReview-Commit-ID: Gug4SUenhtU
--HG--
extra : rebase_source : 744bc90aa210466eb4a78b4fc63c7ddf79ea9bc2
2017-04-06 09:45:55 +08:00
Carsten "Tomcat" Book
3a762886de
Merge mozilla-central to mozilla-inbound
2017-04-07 15:33:03 +02:00
sotaro
44c4c93a0a
Bug 1354031
- Add IPC open check to TextureClientRecycleAllocator::CreateOrRecycle() r=mattwoodrow
2017-04-07 09:23:40 +09:00
Wes Kocher
7da1f4c235
Merge m-c to inbound a=merge
2017-04-06 15:30:43 -07:00
Wes Kocher
0c3144c6f6
Merge inbound to central, a=merge
2017-04-06 15:01:34 -07:00
Lee Salzman
22fb7629b8
Bug 1348980 - use UnscaledFont to track WebRender font keys. r=jrmuizel
2017-04-06 17:41:24 -04:00
Lee Salzman
a168dcdbf3
Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame
2017-04-06 17:41:02 -04:00
Kartikaya Gupta
eb2583d29f
Bug 1345355 - Add a gtest for a pinch with zero span but changing focus. r=botond
...
MozReview-Commit-ID: 8AstF1QmBzw
2017-04-06 17:41:01 -04:00
Jonathan Watt
00f3a6ca88
Bug 828240, part 1 - Add an IsRectilinear method to gfxMatrix. r=longsonr
...
For parity with mozilla::gfx::Matrix
2017-03-15 16:59:32 +00:00
Miko Mynttinen
5a0186840b
Bug 1351426 - Part 5: Cleanup style and comments r=kip
...
MozReview-Commit-ID: HOPY8v4UWKo
--HG--
extra : rebase_source : 3af5c5ed3cabc39a6ecd122f961aba16309518b1
2017-04-04 03:59:31 +02:00
Miko Mynttinen
9ee1c2deba
Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
...
MozReview-Commit-ID: ASusoTqZxuY
--HG--
extra : rebase_source : 1967c11e76853297a2ce405e598b3db2b2b0c112
2017-04-04 04:51:29 +02:00
Miko Mynttinen
ec2807c91a
Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
...
MozReview-Commit-ID: F4ezRzbGihI
--HG--
extra : rebase_source : 85c91cac817a733e5b062285d4951996270feabf
2017-04-10 16:35:56 +02:00
Miko Mynttinen
496fccc821
Bug 1351426 - Part 2: Only use 4D points in gfx::Polygon r=kip
...
MozReview-Commit-ID: 1osQrpwH0WZ
--HG--
extra : rebase_source : e5fef3d096a7780a4a502ca2a7c20ce9d3482d13
2017-04-04 03:15:48 +02:00
Miko Mynttinen
0b813a9c27
Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
...
MozReview-Commit-ID: BgSAgBECTui
--HG--
extra : rebase_source : 8a22f67163fd62d547f415ca20a5fe5bbe41e1ad
2017-04-04 03:09:06 +02:00
Iris Hsiao
bf9a6182a2
Backed out changeset f97fd860c168 (bug 1355763)
2017-04-13 14:46:43 +08:00
Iris Hsiao
d9a7bab6de
Backed out changeset f71e84602f68 (bug 1355763) for assertion failures at ImageBitmap.cpp
2017-04-13 14:46:38 +08:00
Jeff Gilbert
3ab253476f
Bug 1355763 - Handle UNPACK_ state for ConvertPlanarYCbCr, and reject blits with _SKIP_* for now. - r=daoshengmu
...
MozReview-Commit-ID: JsDF66DwTfZ
2017-04-12 22:03:45 -07:00
Jeff Gilbert
95c5ba8077
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Ehsan Akhgari
3b93e5ad89
Bug 1354412 - Remove nsIDOMWindowUtils.beginTabSwitch(); r=jrmuizel
2017-04-12 23:31:39 -04:00
sotaro
6a13c9b7ac
Bug 1355743 - Fix empty Image case handling of ImageClientSingle::UpdateImage() r=mattwoodrow
2017-04-13 11:01:08 +09:00
Kearwood Gilbert
5c1b11f1db
Bug 1355654 - VRManager will now wait for 30 seconds of inactivity before releasing VR displays, rather than doing it instantaneously. r=daoshengmu
...
- This corrects link traversal and improves performance when
entering and exiting VR very often.
MozReview-Commit-ID: D30NQdnpzMF
--HG--
extra : rebase_source : 4f2486d98e6d0912185cd93537ea248a1ad876c5
2017-04-11 22:12:22 -07:00
Miko Mynttinen
8b381c5851
Bug 1351426 - Part 5: Cleanup style and comments r=kip
...
MozReview-Commit-ID: HOPY8v4UWKo
--HG--
extra : rebase_source : 7ad62ab33ba21996adaa81d8152ea73d3073f6aa
2017-04-04 03:59:31 +02:00
Miko Mynttinen
e0b243a92d
Bug 1351426 - Part 4: Refactor gfx::Polygon to avoid unnecessary work and memory allocations r=kip
...
MozReview-Commit-ID: ASusoTqZxuY
--HG--
extra : rebase_source : f9968b6993fdfd0ff62afcae35ec2ad805d37042
2017-04-04 04:51:29 +02:00
Miko Mynttinen
6bb26910a0
Bug 1351426 - Part 3: Refactor BSPTree to use list instead of deque and use arena for memory allocations r=kip
...
MozReview-Commit-ID: F4ezRzbGihI
--HG--
extra : rebase_source : 56ce1572ed0c4f6ee41bc91d90cf6978e5016792
2017-04-10 16:35:56 +02:00
Miko Mynttinen
9efe7dfe60
Bug 1351426 - Part 2: Only use 4D points in gfx::Polygon r=kip
...
MozReview-Commit-ID: 1osQrpwH0WZ
--HG--
extra : rebase_source : d04408b9b7ad7b4600ecd800a97b39fd729d40c1
2017-04-04 03:15:48 +02:00
Miko Mynttinen
375eabdac6
Bug 1351426 - Part 1: Move the layer geometry instead of copying r=mattwoodrow
...
MozReview-Commit-ID: BgSAgBECTui
--HG--
extra : rebase_source : 79a8441109c1d1c41c8903b087d16cfe8d0c5171
2017-04-04 03:09:06 +02:00
Kartikaya Gupta
035b0aa65f
Bug 1354924
- Fix mousewheel multiplier prefs for external mouse devices on OS X. r=botond
...
The code in the OS X widget was calling ReceiveInputEvent on IAPZCTreeManager
with a ScrollWheelInput, which would bypass the multiplier code. This modifies
the widget to use a WidgetWheelEvent instead, so that it goes through the
IAPZCTreeManager multiplier handling for wheel inputs. Other platforms already
send wheel events in WidgetWheelEvent format so they don't have this problem.
MozReview-Commit-ID: 5gOOGnfD87W
--HG--
extra : rebase_source : f13c6e13a89ce450fa4f287eb30f054fe3fc326a
2017-04-11 09:39:06 -04:00
Carsten "Tomcat" Book
023be17063
Merge mozilla-central to autoland
2017-04-11 10:24:02 +02:00
Chih-Yi Leu
8aea1c1b28
Bug 1311802 - Part1 - Add SetMountState interface for VRMockDisplay; r=baku,daoshengmu
...
MozReview-Commit-ID: 7MFHIri2Bq7
--HG--
extra : rebase_source : 7c3c690d76d184c6bca8465e4b992ae0d8de7507
2017-03-27 11:26:19 +08:00
Chih-Yi Leu
ab9fcfb7ee
Bug 1347866 - Part4: ANGLE patch uplift for bug1325741; r=jgilbert
...
MozReview-Commit-ID: 7FNeSn5XGaZ
--HG--
extra : rebase_source : 754756827c1e245c20858223582dd8a0f7c4bc9e
2017-04-05 12:04:18 +08:00
Chih-Yi Leu
79a2c67587
Bug 1347866 - Part3: ANGLE patch uplift for bug1325733; r=jgilbert
...
MozReview-Commit-ID: F9QiJ3hDuoZ
--HG--
extra : rebase_source : bce9e62497c8699ac65d81e0cc2d101a36743d7a
2017-04-05 11:45:11 +08:00
Chih-Yi Leu
4fe7b922d9
Bug 1347866 - Part2: Revert "translator: remove code related to for-loop unrolling" r=jgilbert
...
This reverts commit 1b896c62934be40cf8a37dc28fabc15590c89a5d; r?jgilbert
MozReview-Commit-ID: BFypWbjiCVF
--HG--
extra : rebase_source : 64b9b9d387ece6adfa87c2c2395bb605cad5863b
2017-04-10 16:38:03 +08:00
Chih-Yi Leu
43aae04f44
Bug 1347866 - Part1: Update ANGLE to chromium/2950; r=jgilbert
...
MozReview-Commit-ID: 5vfdprnqLnA
--HG--
extra : rebase_source : 464573f9f8c76de0883334a5d636956baada9281
2017-04-10 16:26:52 +08:00
Kearwood Gilbert
8cedccb89e
Bug 1341423 - Integrate OpenVR binding library r=daoshengmu
...
MozReview-Commit-ID: GaUnfbXgh9L
--HG--
rename : gfx/vr/openvr/openvr.h => gfx/vr/openvr/headers/openvr.h
extra : rebase_source : e7a0983371c1ed381ddf431e2d5a814c510d4967
2017-02-27 16:59:30 -08:00
Iris Hsiao
05ad633169
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Miko Mynttinen
d5c1995700
Bug 1345849 - Part 2: Remove unused Triangle::width and height r=jrmuizel
...
MozReview-Commit-ID: QfOaZcv2uu
--HG--
extra : rebase_source : 12d1f458156e62aab56834d83e1951db3554f43a
2017-03-27 16:22:35 -04:00
Miko Mynttinen
9f15e545a5
Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
...
MozReview-Commit-ID: H11vFsMlIaA
--HG--
extra : rebase_source : 56da41251925d335f8ba80f1a302e9a9a92ac972
2017-03-27 13:59:15 -04:00
David Anderson
bc9324f621
Make finer-grained decisions about whether to update hit testing trees. (bug 1352918
, r=kats)
...
Updating hit testing trees is very expensive for many layers, and often
layer properties that change don't necessitate hit testing tree updates.
While layer tree structure changes do, we can be smarter about
individual layer attributes.
2017-04-13 21:25:16 -07:00
Phil Ringnalda
c582d2c9af
Backed out changeset e8efc3c5d61f (bug 1337062) for crashes in mozilla::gfx::gfxVars::ApplyUpdate(mozilla::gfx::GfxVarUpdate
...
CLOSED TREE
2017-04-11 18:49:21 -07:00
Gerald Squelart
b34950f944
Bug 1337062 - Transfer initial gfxVars with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: EUnwXkDwBTZ
--HG--
extra : rebase_source : 2641d987a6f7326dc07766ba6b06c223a513e313
2017-04-11 15:36:56 +12:00
Gerald Squelart
63dbe37188
Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: IWCgL9aCusW
--HG--
extra : rebase_source : 31d901f99105224ac7445b487813b010fd643bb9
2017-04-12 09:37:35 +12:00
Kartikaya Gupta
cce9ee69dc
Bug 1345355 - Allow pinch gestures with a zero span change but a nonzero focus change to scroll. r=botond
...
It appears that some touchpad devices send us "touch" events (i.e. WM_TOUCH on
Windows) but with all touch points having the same coordinates. This ends up
getting detected as a zero-span pinch gesture in APZ, which short-circuits early
and doesn't really get processed. Therefore even if the focus point changes we
don't do any corresponding scroll. This patch shifts things around a little so
that the short-circuit doesn't happen quite so early, and we still scroll when
the focus point changes, even if the span is zero.
MozReview-Commit-ID: 3CaQN1MsM8y
2017-04-06 16:17:54 -04:00
Kartikaya Gupta
dc8c89efa4
Bug 1353735 - Fix repr(C) on enums to repr(u32). r=jrmuizel
...
MozReview-Commit-ID: FQ6U48xMiRe
2017-04-05 11:19:00 -04:00
Kartikaya Gupta
452cd0c0a2
Bug 1353735 - Fix return value of binding function. r=jrmuizel
...
MozReview-Commit-ID: 3COc4L4J5Y2
2017-04-05 11:18:52 -04:00
Kartikaya Gupta
ebd34c8deb
Bug 1353735 - Fix missing ABI declaration. r=jrmuizel
...
MozReview-Commit-ID: IZkitQliVma
2017-04-05 11:18:43 -04:00
Sotaro Ikeda
fe30e9db69
Bug 1323612
(Part 2) - Add runtime fixups for WebRender on Android. r=kats
...
MozReview-Commit-ID: 2fWRPkRM52e
2017-04-05 10:12:11 -04:00
Kartikaya Gupta
c32c70abe2
Merge m-c to graphics
...
MozReview-Commit-ID: JgUpOHlFfrP
2017-04-05 09:41:01 -04:00
Kartikaya Gupta
8335081baa
Merge m-c to graphics
...
MozReview-Commit-ID: DenuOx3ztpy
2017-04-04 22:47:56 -04:00
Ryan Hunt
7ab0cb366b
Bug 1351480 - Update bindings for gradients. r=jrmuizel
...
MozReview-Commit-ID: 48bjXH4ZCBi
2017-03-31 19:18:44 -04:00
Kartikaya Gupta
7490c35078
Bug 1351480 - Update calls to add_image to include the ImageData::External wrapper. r=Jerry
...
MozReview-Commit-ID: 7C1qXLtqCbG
2017-04-04 22:46:31 -04:00
Kartikaya Gupta
7ef76c0e9d
Bug 1351480 - Update webrender to 7463ae5908ca1d4065763a8753af5d72a6f78b85. r=jrmuizel
...
In addition to updating gfx/webrender and gfx/webrender_traits, as well as the
Cargo.toml/Cargo.lock files and third-party rust dependencies, this updates
webrender_bindings for the following API changes:
- Update call to update_image for change in 086f912ea86d053d95e5f4eec00cae0d82ee5dba
- Update request_blob_image for new parameter added in 086f912ea86d053d95e5f4eec00cae0d82ee5dba.
- set_root_display_list got renamed to set_display_list, so update call sites.
2017-04-04 22:46:17 -04:00
Kartikaya Gupta
868642f10c
Merge m-c to graphics
...
MozReview-Commit-ID: KJoBJaTnxoC
2017-04-02 22:46:53 -04:00
Kartikaya Gupta
acefdfbab2
Merge m-c to graphics
...
MozReview-Commit-ID: Gmms6PhTr8U
2017-03-31 10:37:00 -04:00
JerryShih
15fde99d2c
Bug 1347062 - P5: use texture handle directly with webrender. r=nical,sotaro
...
MozReview-Commit-ID: 1XLiFcpFEeu
2017-03-31 22:29:15 +08:00
JerryShih
b0ffca2f70
Bug 1347062 - P4: create RenderBufferTextureHost and RenderMacIOSurfaceTextureHostOGL. r=nical,sotaro
...
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost.
2) create a base class RenderTextureHostOGL for all texture handle base texture.
3) create RenderBufferTextureHost for buffer texture at render thread.
4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread.
--HG--
rename : gfx/webrender_bindings/RenderBufferTextureHost.h => gfx/webrender_bindings/RenderTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
f8987906e1
Bug 1347062 - P3: rename from RenderTextureHost to RenderBufferTextureHost for further updating. r=sotaro
...
We will have a class RenderTextureHost as the base-class and its sub-class RenderBufferTextureHost in next patch. Use "rename" to preserve the file history.
MozReview-Commit-ID: KiqaO616AHc
--HG--
rename : gfx/webrender_bindings/RenderTextureHost.cpp => gfx/webrender_bindings/RenderBufferTextureHost.cpp
rename : gfx/webrender_bindings/RenderTextureHost.h => gfx/webrender_bindings/RenderBufferTextureHost.h
2017-03-31 22:29:14 +08:00
JerryShih
9e90247f7f
Bug 1347062 - P2: use WrImageDescriptor for wr_api_add_external_image_handle(). r=nical,sotaro
...
MozReview-Commit-ID: 1dNQRZGeKaA
2017-03-31 22:29:14 +08:00
JerryShih
55f4c680b1
Bug 1347062 - P1: add WrExternalImage binding utility function. r=nical,sotaro
...
MozReview-Commit-ID: 4oJvybXRuTX
2017-03-31 22:29:14 +08:00
Kartikaya Gupta
f480fd6ca6
Bug 1352393 - Bulk import everything in webrender_traits. r=jrmuizel
...
MozReview-Commit-ID: 6LKDcPvIrBz
2017-03-31 09:43:18 -04:00
Iris Hsiao
98b769cf18
Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
...
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst
2374426ebe
Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout
2017-03-31 10:08:21 +02:00
Mason Chang
96cc223a05
Bug 1347727 - Enable outer box shadows by default in WR. r=rhunt
2017-03-27 16:32:55 -07:00
Kartikaya Gupta
618a729ba9
Merge m-c to graphics
...
MozReview-Commit-ID: IhFmzYDQJte
2017-03-30 08:55:36 -04:00
Paul Bignier
bc0c1045c5
Bug 1352848 - Fix spelling of 'settings' in comment. r=MattN
...
MozReview-Commit-ID: J6PjvNRKhEm
--HG--
extra : rebase_source : 09e4d07f42767e63a604015d18871ae1fb92bac7
2017-04-03 15:24:46 -07:00
David Anderson
c10c9d57eb
Don't synchronously send the initial layer tree mapping list to the GPU process. (bug 1350660 part 2, r=rhunt)
2017-04-03 15:13:38 -07:00
David Anderson
0f3b97ed9c
When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm)
2017-04-03 15:13:37 -07:00
David Anderson
dfbf7fe0d0
Add crash reporter annotations for the GPU process status. (bug 1343650, r=billm)
...
--HG--
extra : rebase_source : 28e0d023e99f66f518047f1a468c899ff52c590a
2017-04-03 15:11:27 -07:00
Wes Kocher
53dde6a1d2
Merge inbound to central, a=merge
2017-04-03 14:50:18 -07:00
Jonathan Kew
3e217c19d1
Bug 1349308 - Ensure we get glyph metrics via Core Text for variation fonts such as faces of SFNSText/Display. r=jrmuizel
2017-04-03 15:45:52 +01:00
Botond Ballo
9ebdb4f7f0
Bug 1352564 - Add a method to invert a Matrix4x4 if it's invertible. r=botond
...
Use it in HitTestingTreeNode::Untransform.
MozReview-Commit-ID: 1JkLh99FD0h
--HG--
extra : rebase_source : ca9836c1999a2af3cac5287a9efa875c415634f7
2017-04-02 17:20:23 -04:00
Bas Schouten
1949ab75e0
Bug 1352547: Do not use IsWindows10OrGreater() on older SDKs. r=mattwoodrow
...
MozReview-Commit-ID: C0uOAKy0bOr
2017-04-02 18:45:08 +00:00
Masayuki Nakano
59a906fb1a
Bug 1344990 part.3 Implement nsIFontEnumerator::GetDefaultFont() as returning first available font in font.name-list.* r=jfkthame
...
nsIFontEnumerator::GetDefaultFont() returns always nullptr. However, it's used in font setting UI at creating drop down list of available fonts. So, if we implement this as returning first available font of "font.name-list.*", it's what is the necessary UI for "default" font when "font.name.*" is empty string.
So, with this patch, the top item of font list becomes "Default (%s)" if there is available font.
MozReview-Commit-ID: cRU8gixgdF
--HG--
extra : rebase_source : beca7b7d2d423f08d35358fc84b731e817724835
2017-04-03 21:00:14 +09:00
Masayuki Nakano
28770793c6
Bug 1344990 part.1 gfx and layout should refer "font.name-list.*" when "font.name.*" is empty r=jfkthame
...
When "font.name.*" is empty, it means "default", i.e., use the first font of "font.name-list.*".
In most cases, we don't need to change existing "font.name.*" handlers which refer "font.name-list.*". However, handlers which refer only "font.name.*", we need to add the code to refer "font.name-list.*" too.
MozReview-Commit-ID: B37y1Ld9Azg
--HG--
extra : rebase_source : f944893ff38d5f2072b5014dccf455045ddafd19
2017-03-29 23:21:47 +09:00
Masayuki Nakano
99a1135919
Bug 1351332 gfxDWriteFontList and gfxGDIFontList should ignore italic face of Meiryo for using synthetic italic style r=jfkthame
...
Meiryo has same glyph for both normal style and italic/oblique style. Therefore, if we will use it as default Japanese font, italic/oblique style won't be used in Japanese text. It's too bad for <em>, <i> and backward compatibility with MS PGothic.
This patch makes gfxDWriteFontList and gfxGDIFontList ignore italic style face(s) of Meiryo at creating Meiryo's font face list.
Note that in GDI mode, font names are localized. Therefore, we need to compare with both English name and Japanese name. However, in DirectWrite mode, face names are not localized. Therefore, it's enough to compare only with English face names.
MozReview-Commit-ID: 60tFxB0jcd
--HG--
extra : rebase_source : 45eb61403f97cd765de1b81c290c29632d8174e5
2017-03-29 18:38:41 +09:00
Jamie Nicol
3661bae08d
Bug 1339575 - Add pref to create color layers for nsDisplaySolidColor. r=mstange
...
Switched off for now as it causes reftest failures.
MozReview-Commit-ID: EzU8fhncppS
2017-03-13 16:02:09 +00:00
Kartikaya Gupta
317d304694
Merge m-c to graphics
...
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Sotaro Ikeda
d4d0425579
Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
...
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Jeff Muizelaar
d4b306abb2
Bug 1351506. Remove display list copy from wr_api_finalize_builder. r=nical
...
The takes advantage of some new webrender api to eliminate a copy of the
displaylist
2017-03-29 09:07:07 -04:00
Mason Chang
e08bd7cbdb
Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow
2017-03-28 22:37:11 -07:00
Kartikaya Gupta
25748395e5
Bug 1349692 - Update webrender to dafe3579e8dc886e6584116dc52a9362b543c169. r=jrmuizel
...
In addition to updating gfx/webrender and gfx/webrender_traits, this updates
gfx/webrender_bindings for:
- API changes to update_image and push_stacking_context.
- Version bumps needed in Cargo.toml
Also, since offscreen_gl_context is no longer a dependency, this patch removes
that crate and various other crates it depends on.
2017-03-28 17:49:11 -04:00
Kartikaya Gupta
cbf426c332
Merge m-c to graphics
...
MozReview-Commit-ID: GvQyuOvxr8o
2017-03-28 09:12:16 -04:00
Ethan Lin
bb6943a029
Bug 1349497 - Add pref to create color layer for nsDisplayBackgroundColor. r=mchang
2017-03-28 16:48:14 +08:00
Kearwood Gilbert
220a8666bf
Bug 1350794 - Avoid dereferencing aProvider when null in DataTextureSourceD3D11 constructor
...
- Require bug 1350247 patch to land first to fix WebVR crash
MozReview-Commit-ID: fEsjE22mPc
2017-03-27 21:33:53 -04:00
Mason Chang
3b2070933d
Bug 1350182 - Enable button border display items by default. r=ethlin
2017-03-27 13:09:55 -07:00
Kartikaya Gupta
ec69fdebcf
Merge m-c to graphics
...
MozReview-Commit-ID: I4ehbSXNLmS
2017-03-27 09:18:34 -04:00
Nicolas Silva
4a5a35a9a2
Bug 1347641 - Implement the BlobImageRenderer binding glue. r=jrmuizel
2017-03-27 13:44:52 +02:00
Nicolas Silva
96f05a89cc
Bug 1347641 - Add MutByteSlice to pass mutable u8 slices across ffi. r=jrmuizel
2017-03-27 13:44:43 +02:00
Nicolas Silva
c95461e37f
Bug 1347641 - Add ByteSlice to pass constant u8 slices across ffi. r=jrmuizel
2017-03-27 13:44:22 +02:00
Ethan Lin
adb68a37f8
Bug 1348755 - Part2. Turn the pref on by default and set fuzzy for some reftests. r=mattwoodrow
2017-03-27 16:17:45 +08:00
Ethan Lin
caa395107a
Bug 1348755 - Part1. Handle clipping region for nsDisplayOutline. r=mattwoodrow
2017-03-27 16:17:45 +08:00
Kartikaya Gupta
07d2a35e4a
Bug 1349949 - Convert another pref to an override pref as part of merging m-c to graphics. r=me
...
MozReview-Commit-ID: DvIXvd2NxAb
2017-03-24 10:12:22 -04:00
Kartikaya Gupta
3956a6bca3
Merge m-c to graphics
...
MozReview-Commit-ID: FT418lFT961
2017-03-24 10:10:11 -04:00
Kartikaya Gupta
2f4b68419d
Bug 1349643 - Loosen thread assertion slightly. r=nical
...
When changing the webrender profiler enabled/disabled state, the change propagates
to webrender via the main thread. This violates a thread assertion. However,
the thread assertion is mostly for documentation, so we can loosen it a little
to allow for this scenario.
MozReview-Commit-ID: FWfAchQUEUq
2017-03-24 10:07:00 -04:00
Kartikaya Gupta
0fee7584e7
Merge m-c to graphics
...
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
Carsten "Tomcat" Book
492970c342
merge mozilla-inbound to mozilla-central a=merge
2017-03-23 13:44:09 +01:00
Carsten "Tomcat" Book
9b6d088496
merge autoland to mozilla-central a=merge
...
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
sotaro
249f8f9784
Bug 1349232 - Add destroyed check to CompositorVsyncScheduler::ScheduleComposition() r=kats
...
WebRenderBridgeParent works independently, if root WebRenderBridgeParent is destroyed
without CompositorBridgeParent::StopAndClearResources() call,
non-root WebRenderBridgeParent are still active and could trigger ScheduleComposition().
The change prevents to trigger ScheduleComposition() in this case.
2017-03-23 15:07:02 +09:00
sotaro
6499e3b68e
Bug 1349465 - Ensure we don't enable WebRender if the GPU process is disabled r=kats
...
gfxWindowsPlatform overrides InitAcceleration, and the override calls
InitGPUProcessSupport, which may disable the GPU process. Therefore, in
order to capture this scenario, we need to initialize WebRender after
the subclass implementation has run, rather than at the end of the base
class implementation, which is before InitGPUProcessSupport has run.
2017-03-23 11:26:24 +09:00
Wes Kocher
b31e9e6a39
Merge inbound to central, a=merge
...
MozReview-Commit-ID: EQ7w1Gld1K2
2017-03-22 17:10:01 -07:00
Mason Chang
b8ac3c92fc
Bug 1348913 - Update webrender to 0794911f97cae92496fca992d7430da696fa24eb. r=kats
2017-03-22 14:26:52 -07:00
Lee Salzman
aa429c08b7
Bug 1347262 - fix Skia's round_asymmetric_to_int to bias all sides. r=jrmuizel
...
MozReview-Commit-ID: AMDi6YF0zn
2017-03-22 15:03:03 -04:00
Jeff Muizelaar
da3210576b
Bug 1119128. Eliminate gfxPangoFontGroup and gfxFontconfigUtils. r=lsalzman
2017-03-22 14:58:19 -04:00
Jeff Muizelaar
49eb5ba0b6
Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
...
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Lee Salzman
baebc83432
Bug 1347632 - make RecordedSourceSurfaceCreation fallible. r=tobytailor
...
MozReview-Commit-ID: G4x3zTluGb4
2017-03-22 14:57:25 -04:00
Kartikaya Gupta
e0d4c1bfb3
Bug 1347811 - Fix build bustage due to unified builds and missing include. r=bustage
...
MozReview-Commit-ID: KHDOBrRqhVU
2017-03-22 11:10:52 -04:00
Kartikaya Gupta
9608ac4946
Merge m-c to graphics
...
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Carsten "Tomcat" Book
62f6c37109
merge mozilla-inbound to mozilla-central a=merge
2017-03-22 14:26:27 +01:00
sotaro
cc4d383fff
Bug 1347811 - Share WebRenderCompositableHolder between WebRenderBridgeParent r=nical
2017-03-22 10:27:38 +09:00
Carsten "Tomcat" Book
534f3aebc6
Merge mozilla-central to mozilla-inbound
2017-03-22 16:13:03 +01:00
Kartikaya Gupta
7fc02188d8
Merge m-c to graphics
...
MozReview-Commit-ID: AxmKwI9dnre
2017-03-21 09:21:34 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
sotaro
8d50f9ae87
Bug 1348209 - Make wr_renderer_readback() as to handle both GL and GLES r=kats
2017-03-21 11:27:27 +09:00
Wes Kocher
4f5262444c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Petr Cerny
89ce732573
Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
...
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
Kartikaya Gupta
f3f86c130e
Bug 1346856 - Update webrender to dab674d09a51ff5253da0797d129bf29b25896e5. r=jrmuizel
2017-03-20 13:41:23 -04:00
KuoE0
399d6c086f
Bug 1348221 - Implement NewNamedTimerCallback to create named timer callback. r=kats
...
MozReview-Commit-ID: IcEVkfB3puW
--HG--
extra : rebase_source : 45e3f28325d5e6da41fb65688d518170eb5764bb
2017-03-21 00:38:11 +08:00