Commit Graph

28951 Commits

Author SHA1 Message Date
Ryan Hunt
27c33e0bdf Add tiling and paint worker count information to about:support. (bug 1432516, r=milan)
--HG--
extra : rebase_source : f2ce10a284f53b21ce5eb94f039808ec92f40685
extra : histedit_source : d3bbb62e946fe32f601cc7753513d2d30f2aa294
2018-01-23 15:52:13 -06:00
Jonathan Kew
6856ae796f Bug 1431866 - Avoid risk of undefined behavior in gfxFontStyle::Hash() calculation. r=jrmuizel 2018-01-24 17:42:30 +00:00
Jonathan Kew
7ff4c1c33d Bug 1430446 - Prefer hinted glyph widths from FreeType, except when hinting is disabled or the font includes variations. r=lsalzman 2018-01-23 18:16:42 +00:00
Andrew Osmond
f9a6aed383 Bug 1432472 - Do not assume CompositorBridgeChild is available for FlushAsyncPaints. r=rhunt
CompositorBridgeChild may be lost at any time due to a GPU process
crash. Additionally it may be already destroyed due to shutdown being
initiated. For FlushAsyncPaints, we can safely ignore the missing child
because the subsequent operations will generally fail and we will
recover when the GPU process is respawned (or switched to the UI
process).
2018-01-24 10:01:33 -05:00
Ethan Lin
3ebfc01b38 Bug 1419528 - Add a reftest for box shadow with zero attributes. r=kats
MozReview-Commit-ID: CwKzjv6pMF7
2018-01-16 17:15:44 +08:00
Sebastian Hengst
78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00
Kartikaya Gupta
b62f1b8765 Bug 1432637 - Schedule a composite when setting test properties on an APZC. r=botond
Scheduling a composition sets the mNeedsComposite flag in the compositor
scheduler, so that advancing the time via advanceTimeAndRefresh doesn't
do an early-exit.

MozReview-Commit-ID: KvldsCCY0SD

--HG--
extra : rebase_source : e661e430c36553ce95d7798b4bc95ffaab48ab90
2018-01-23 17:21:58 -05:00
Kartikaya Gupta
a48a892756 Bug 1432635 - When advancing the test time, trigger a rendering flush to WR. r=sotaro
MozReview-Commit-ID: UtqGoOnobm

--HG--
extra : rebase_source : e3f3f135138014a4ed8c4bed23cca18c146995c1
2018-01-23 17:20:23 -05:00
sotaro
603fade55f Bug 1422288 - Do no add ExternalImage for d3d texture host when ANGLE is disable with WebRender r=nical 2018-01-24 13:17:06 +09:00
sotaro
9ee2dd9629 Bug 1422288 - Disable d2d for canvas when ANGLE is disable with WebRender r=nical 2018-01-24 13:16:35 +09:00
Dorel Luca
4b9ccdb392 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 12:02:17 +02:00
sotaro
d6f794fcb9 Bug 1431304 - Fix WebRenderLayerManager::ClearCachedResources() as to clear active animation ids r=nical 2018-01-23 10:57:20 +09:00
Gurzau Raul
9801931bda Merge inbound to mozilla-central. a=merge 2018-01-23 02:21:47 +02:00
Tom Ritter
40e0f3ea5e Bug 1432009 Fix MinGW build failure with d_write3.h r=jfkthame
Bump mingw version to get the newest commit and do not include the
un-needed dw-extras.h on MinGW (thanks Jacek!)

MozReview-Commit-ID: OjO93XHCxs

--HG--
extra : rebase_source : 933bbb385004988a23d1069c9cd3241b3a3b336e
2018-01-22 15:01:49 -06:00
Jamie Nicol
17afeef581 Bug 1430550 - Don't keep mutex locked if SourceSurfaceSkia::Map fails. r=bas
This was leading to a mutex never being unlocked, eventually causing a
crash when it was destroyed.

MozReview-Commit-ID: JzEDWzKxZ4S

--HG--
extra : rebase_source : c86ad738addbec55f33165d300876f4c675cf5f4
2018-01-18 16:48:08 +00:00
Gurzau Raul
76ec8a476e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-20 11:46:16 +02:00
Jonathan Kew
faf9bf0aac Bug 1430632 - Copy declarations of new DirectWrite interfaces into our code so it will build against the current Windows SDK and WINVER settings. r=lsalzman,froydnj 2018-01-18 17:45:25 +00:00
Jonathan Kew
483d8a0507 Bug 1430632 - Support OpenType variation fonts in the DirectWrite font back-end (on Win10 Fall Creators Update). r=lsalzman 2018-01-18 17:45:24 +00:00
Jonathan Kew
d477a069f3 Bug 1431305 - Handle fallback (rotated) rendering of characters with Vertical_Orientation=Tr when the font does not support them via 'vert', nor is there a vertical presentation form encoded in Unicode. r=m_kato 2018-01-19 10:46:53 +00:00
Kartikaya Gupta
b9e6d272c0 Bug 1431787 - Followup to avoid the call to wr_api_get_namespace from the WebRenderAPI destructor. r=me a=RyanVM
Landing on a CLOSED TREE because this needs to go to beta to fix the build.

MozReview-Commit-ID: Askd7fgnn3E
2018-01-19 16:42:40 -05:00
Kartikaya Gupta
6f56b6c848 Bug 1431787 - Mark wr_dec_ref_arc safe to be called by the WebRenderAPI destructor when WR is not built. r=lsalzman a=RyanVM
Landing on a CLOSED TREE because this needs to go to beta to fix the build.

MozReview-Commit-ID: cSwZ2Bp242
2018-01-19 13:19:00 -05:00
Noemi Erli
1e1fdc2b3d Merge inbound to mozilla-central. a=merge 2018-01-19 12:10:24 +02:00
JerryShih
0f873b8e86 Bug 1431028 - Move the gfx warning to the correct position. r=mattwoodrow
We should only show the warning message when we have the on-white buffer.

MozReview-Commit-ID: 4gzo0reYIVL
2018-01-17 02:19:00 -05:00
JerryShih
138670043b Bug 1431028 - Don't discard the back buffer in ClientSingleTiledLayerBuffer. r=mattwoodrow
MozReview-Commit-ID: HHbqlAnSVmN
2018-01-17 02:19:00 -05:00
sotaro
2739f28b3d Bug 1429994 - Use ID3D11Query to wait previous frame completion r=nical 2018-01-18 18:01:04 -08:00
Andreea Pavel
b5e28b4ecd Backed out changeset 70c2890fb875 (bug 1429994) for static-analysis bustages on Windows 2018-01-19 01:38:11 +02:00
sotaro
376a1f40bd Bug 1429994 - Use ID3D11Query to wait previous frame completion r=nical 2018-01-19 07:49:08 +09:00
Lee Salzman
d7042b0a8f Bug 1400917 - render missing glyphs with WebRender. r=gankro 2018-01-18 16:10:14 -05:00
Hiroyuki Ikezoe
808d686c60 Bug 1431295 - Drop 'undef None' macro in gfx. r=botond
MozReview-Commit-ID: FGOEsZnu50u

--HG--
extra : rebase_source : 60ba20e9ab9f207ce6b69406973dd3f864b5e322
2018-01-18 14:12:51 +09:00
Kartikaya Gupta
3031985f8c Bug 1430829 - Update for removal of ImageFormat::Invalid in WR PR 2317. r=jrmuizel
MozReview-Commit-ID: 5TFM7B652qG

--HG--
extra : rebase_source : 8c5602ea2c8a7810da0ef1fb176c80016856210e
2018-01-19 12:33:58 -05:00
Kartikaya Gupta
c8626b8097 Bug 1430829 - Update webrender to commit e9269c7e06e20363be0b2a2a1be98d292ff7acca. r=jrmuizel
MozReview-Commit-ID: CLfV8OtVG7Z

--HG--
extra : rebase_source : b8b2e454ed84e177aac11db182bd1ed8ac7892ef
2018-01-19 12:32:00 -05:00
Andrew Osmond
6f5458a90b Bug 1431130 - Ensure we retain the lock when accessing sLayerIndirectTree off the compositor thread. r=botond
CompositorBridgeParent::GetIndirectShadowTree is meant to be a
compositor thread only method. This however was not enforced with an
assert and over time we began using it on the main thread for simple
accesses. These accesses should generally be safe on the main thread,
depending on the individual access, but not outside the lock
GetIndirectShadowTree holds. As such, a safer variant is provided to
execute a lambda inside the lock context, and the unsafe variant will
assert it is indeed in the compositor thread context.
2018-01-18 07:28:56 -05:00
Lee Salzman
7960a042d1 Bug 1431211 - clean up WR blob image renderer resources on API destruction. r=gankro
MozReview-Commit-ID: E7XuM7vpEXd
2018-01-18 06:28:09 -05:00
Dorel Luca
a066bff27d Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-18 11:43:47 +02:00
sotaro
00c8806482 Bug 1430610 - Change nsIFrame::InvalidateLayer() as to check WebRender's async update r=mtseng 2018-01-18 13:28:49 +09:00
Kartikaya Gupta
8903b49768 Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
MozReview-Commit-ID: Vd5n5e7XuW

--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Tiberius Oros
0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros
92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Kartikaya Gupta
c017160218 Bug 1430660 - Move the APZ update of scroll layer positions into a transaction. r=nical
MozReview-Commit-ID: 45ijEtB1C0Z

--HG--
extra : rebase_source : b700ad68fdc44096dc0348bf1badf94dc993d36f
2018-01-17 11:19:39 -05:00
Lee Salzman
1a23b6eab1 Bug 1400384 - support text writing modes with WebRender. r=gankro 2018-01-17 07:51:20 -05:00
Andrew Osmond
a9eff43405 Bug 1430795 - Ensure certain gfx gtests are initialized properly. r=aosmond 2018-01-17 07:34:34 -05:00
Cosmin Sabou
1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
sotaro
952e915b38 Bug 1430694 - Check if RenderCompositor is created r=nical 2018-01-17 09:25:31 +09:00
Jeff Gilbert
d9815e3cac Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.

MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Nika Layzell
793a39c213 Bug 1424766 - Simplify HangStack and HangDetails by implementing using ipdl structs and unions, r=froydnj
MozReview-Commit-ID: qlBUnvYams
2018-01-16 14:07:38 -05:00
Noemi Erli
1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Andrew Osmond
da27a58fb3 Backed out changeset ca1b397bffcf bug 1388020 2018-01-16 08:07:51 -05:00
Andrew Osmond
8240965b0a Bug 1388020 r=nical 2018-01-16 07:50:58 -05:00
Morris Tseng
e29700e366 Bug 1424177 - Slightly enlarge drawtarget size when fallback. r=kats
MozReview-Commit-ID: Dam5l91Y93Y
2018-01-16 17:33:12 +08:00
Jonathan Kew
e164d9c087 Bug 1430552 - Handle possible freetype failures in gfxFT2FontBase::GetFTGlyphAdvance to avoid risk of crashes. r=lsalzman 2018-01-15 16:36:47 +00:00