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

27110 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 56c035fa36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
JerryShih 7b702f3d00 Bug 1352092 - Get the max texture size from WR. r=nical
The gecko side just queries the max texture size from gl context[1]. We
should query that size from WR.

[1]
https://dxr.mozilla.org/mozilla-central/rev/4c5fbf49376351679dcc49f4cff26c3c2e055ccc/gfx/webrender_bindings/WebRenderAPI.cpp#72

MozReview-Commit-ID: 6RQ8ZW9mWSE
2017-08-12 13:41:56 +08:00
Wes Kocher 5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Bobby Holley 9b328f9688 Bug 1384741 - Followup bustage fix. r=me
MozReview-Commit-ID: Gg0nDtiEamC
2017-08-11 22:36:38 -07:00
Ryan Hunt 3e8077123f Bug 1387551 - Handle "general.smoothScroll" with async keyboard scrolling. r=kats
This commit modifies AsyncPanZoomController to scroll immediately for any keyboard
scrolls when the pref, "general.smoothScroll" is disabled.

MozReview-Commit-ID: 3lfRMOCC7er

--HG--
extra : source : 9e9480d318f92811828756267c4b4fb7ea2fcf1b
2017-08-08 14:53:04 -05:00
Ryan Hunt 8013236c20 Bug 1388466 - Sync focus sequence numbers when the compositor is reset. r=kats
When a compositor is recreated, either from a driver reset or a GPU process crash, the
focus sequence number in content persists, and when APZ is recreated, content will have
a higher sequence number.

There are two ways of handling this: either resetting all of content's focus sequence
numbers to zero to match the new focus state, or updating the new focus state to the
latest sequence number in content.

This commit does the latter by detecting when the focus state was newly created and
syncing it's sequence number to content if content is ahead.

MozReview-Commit-ID: GkIp7AWyaFw

--HG--
extra : source : b6339570bbd8576447f128359278868fb6d1d8e7
2017-08-10 15:07:35 -05:00
Cameron McCormack 004e7071d8 Bug 1384741 - Part 3: Buffer up CSP violation reports when pre-emptively checking cached font loads, and dispatch them when trying to use cached fonts. r=jfkthame
MozReview-Commit-ID: 7hUI160sNqv
2017-08-07 10:12:12 +08:00
Kartikaya Gupta ea6719b16d Bug 1388719 - Update webrender to commit 101c69db1a989fe89c308dabd53cf50aedfe4a96. r=jrmuizel
MozReview-Commit-ID: 10VsggYNyo3

--HG--
extra : rebase_source : b123e2ee5f51d958ec806cb943d042c4ee0b23cf
2017-08-11 09:21:41 -04:00
Mike Hommey 2d84a105fc Bug 1389436 - Explicitly instantiate gfxFont::GetShapedWord<uint8_t> for its use in gfxTextRun.cpp. r=jfkthame
--HG--
extra : rebase_source : 5a24f298032abb0927c9daf521e7f936398958c9
2017-08-11 21:50:19 +09:00
Wes Kocher a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Kartikaya Gupta e8bad265b2 Bug 1389492 - Ensure the helper_key_scroll waits for repaints from the main-thread scroll to finish before triggering the async scroll. r=rhunt
MozReview-Commit-ID: EsYz5LSc83Q

--HG--
extra : rebase_source : 5b64fd13068b7058c91942d164906cf32e9864a4
2017-08-11 10:37:25 -04:00
Sebastian Hengst 41113ae3fc Backed out changeset 0b6c4c95323e (bug 1380081) 2017-08-11 09:28:16 +02:00
Stone Shih f5cb5ecde2 Backed out changeset 07b66fb75c71 (bug 1351148) 2017-08-11 15:19:37 +08:00
Wes Kocher cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Sebastian Hengst 51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
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
Sylvestre Ledru 8382a92592 Bug 1387002 - Replace .size() by .empty() when applicable in gfx/ r=nical
MozReview-Commit-ID: BIrMZHj6BBZ

--HG--
extra : rebase_source : df064bc9628d3a78c153f2455fa4861a95abca8e
2017-08-03 12:02:35 +02:00
Markus Stange b7d6066c45 Bug 1386643 - Don't respect font smoothing background colors in pushed layers. r=jrmuizel
This is an imperfect workaround. Ideally we'd want layout to determine the
correct color here: If the pushed layer will end up on something mostly opaque
in the outer layer, the font smoothing background color should be transparent
(or even a color that approximates that opaque content), and if the pushed
layer will end up on transparency in the outer layer, the appropriate font
smoothing background color for the outer layer should be used when drawing text
in the pushed layer.

This workaround causes us to lose subpixel AA in background tabs that have the
overflow mask applied to them. For those, using the font smoothing background
color in the pushed layer was the right choice.

MozReview-Commit-ID: FPufh04EVp3

--HG--
extra : rebase_source : 7a6cb73255bdb7f1b8aba7df60ebe61171275da4
2017-08-02 17:26:02 -04:00
Daosheng Mu ef8460e296 Bug 1388274 - Adjust WebVR telemetry histogram's high bound for user time spent; r=francois,kip
MozReview-Commit-ID: JcQZTgVmxr3

--HG--
extra : rebase_source : e00eab62c6d661a410d46d165843d7985054b145
2017-08-08 18:23:43 +08:00
Ryan VanderMeulen 6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Mason Chang ce7bf90ba4 Bug 1386965 - Support async painting component-alpha layers. r=dvander 2017-08-09 09:39:07 -07:00
Kartikaya Gupta fdc58801fd Bug 1381435 - Increase the touch_move_tolerance value on desktop, so taps in the tab bar are detected more reliably. r=botond
MozReview-Commit-ID: DHKsD4EQK3z

--HG--
extra : rebase_source : c2f9990871281dc96cb97e10b817e27268b74362
2017-08-09 15:03:51 -04:00
Wes Kocher 7aa3f6f7e8 Backed out changeset d59ab931a261 (bug 1381435) for windows build failures in gfxPrefs.h a=backout
MozReview-Commit-ID: 6xkSA9GmxJh
2017-08-09 12:40:39 -07:00
Kartikaya Gupta eb938408fc Bug 1381435 - Increase the touch_move_tolerance value on desktop, so taps in the tab bar are detected more reliably. r=botond
MozReview-Commit-ID: DHKsD4EQK3z

--HG--
extra : rebase_source : 9b45969a6cab18ad911d56e978535f1dd46c987a
2017-08-09 15:03:51 -04:00
Kartikaya Gupta b36bbd4e9a Bug 1386483 - Push, push, push the clips, caching all the way. r=jrmuizel,mstange
This patch ensures that we push clips in WR for each display item,
reflecting the display item's clip chain as computed in Gecko. A display
item will often share part or most of its clip chain with other display
items, so we try to reuse the corresponding WR clip ids as much as we
can instead of defining new duplicated clips.

MozReview-Commit-ID: LkBh8LIpQ4J

--HG--
extra : rebase_source : 5af1de0931f1d059e98b5c66b15988961503e114
2017-08-08 15:43:29 -04:00
Kartikaya Gupta f10ce62128 Bug 1386483 - Split the wr_dp_push_clip method into two to allow reusing clips. r=jrmuizel
MozReview-Commit-ID: 90BEJGs8wGg

--HG--
extra : rebase_source : 9ef113bee43391c00912457afc395284899a23cb
2017-08-08 15:43:17 -04:00
Michael Smith 94fc7ac2b3 Bug 1387764 - Disable WebRender if HW_COMPOSITING is disabled. r=kats
MozReview-Commit-ID: 5XSAw1tdi0P

--HG--
extra : rebase_source : a3d20cc54c3cc7272a9e83f65c9bbd85cf31f71a
2017-08-08 16:01:36 -07:00
Kartikaya Gupta be4742a4fb Bug 1385003 - Add missing call to deinit the renderer before dropping it. r=kvark
MozReview-Commit-ID: 3dmttqFqMJE

--HG--
extra : rebase_source : 7e122d07e086e4ad26255079edf3e1de309b685b
2017-08-09 10:46:53 -04:00
Kartikaya Gupta 01928f3eb3 Bug 1385003 - Update webrender bindings for API change in WR cset c7a5b78d. r=nical
MozReview-Commit-ID: DY5vwlv4JYM

--HG--
extra : rebase_source : 265cce68c927833120dcc55c0a1b230f6e042efc
2017-08-09 08:46:26 -04:00
Kartikaya Gupta 4088068ad0 Bug 1385003 - Update webrender bindings for API changes in WR cset 55acc967. r=nical
MozReview-Commit-ID: 3pW2ssFdb50

--HG--
extra : rebase_source : 22892c92f130ae429cce5c42f27b57068d9f08ee
2017-08-09 08:46:26 -04:00
Kartikaya Gupta bdee759275 Bug 1385003 - Autogenerated changes to go with webrender update. r=jrmuizel
This regenerates the cargo lockfiles and FFI bindings header. It also revendors
the third_party/rust libraries.

MozReview-Commit-ID: ID0YhoIH6cz

--HG--
extra : rebase_source : 7c22828a831eafcf527f2c3baf8d4d012db8f9a4
2017-08-09 08:46:25 -04:00
sotaro 162dcae649 Bug 1385003 - Use a different WebRenderAPI instance for each WebRenderBridgeParent. r=kats
Previously, the WebRenderBridgeParent for each content layer tree would use the
same WebRenderAPI instance as the top-level WebRenderBridgeParent for that window.
However, in order to make the namespacing changes work we now need to use a
separate WebRenderAPI instance for each WebRenderBridgeParent. The content
WebRenderAPIs are cloned from the parent one, so that they all share the same
backend, but can allocate resource IDs in distinct namespaces.

MozReview-Commit-ID: 7VTFL8F09n7

--HG--
extra : rebase_source : 2da1d03abc23bd7852e4b12fe133889bd80cad53
2017-08-09 08:46:25 -04:00
Kartikaya Gupta 8487cf859b Bug 1385003 - Drop the hacky gecko IdNamespace allocator and use the IdNamespace from WR to avoid mismatches. r=sotaro
MozReview-Commit-ID: 410h1ZkWBGL

--HG--
extra : rebase_source : c9172918eee2dbe290b09b3753e52f6998aa9173
2017-07-31 14:21:18 -04:00
Kartikaya Gupta c18e91b352 Bug 1385003 - Update webrender bindings for API changes in WR cset f6d81d9. r=kvark
In theory the upstream API change should allow us to share the same WR renderer
instance across multiple WebRenderAPI instances. For now however I retain the
existing behaviour of one WR instance for each WebRenderAPI instance, but keep
track of the document id in a new DocumentHandle struct. The C++ side keeps
a pointer to this DocumentHandle struct instead of the raw RenderApi.

MozReview-Commit-ID: I9pCKOY1OYx

--HG--
extra : rebase_source : 7b0ae2ccb2692a76045371ac165468c7f7539b40
2017-08-09 08:46:24 -04:00
Kartikaya Gupta b43eb147e0 Bug 1385003 - Update webrender to commit e68c8acb021656440d26ac46e705e7ceb31891e6. r=jrmuizel
MozReview-Commit-ID: Kw49PJqoLn4

--HG--
extra : rebase_source : 9d7dc062bde4eaffa94bc8d14043ee267afd256a
2017-08-09 08:46:18 -04:00
Kartikaya Gupta 8783a1affd Bug 1385003 - Use PlainOldDataSerializer for WR struct serialization to avoid getting them out of sync. r=jrmuizel
MozReview-Commit-ID: 6x3G0Ik6PJj

--HG--
extra : rebase_source : ed22985d0944d0c023467fb6339113ba09a58038
2017-08-09 08:07:11 -04: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
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 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