Commit Graph

6548 Commits

Author SHA1 Message Date
Andrew Osmond
c17a8c1ea1 Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-13 15:19:36 -04:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Jeff Muizelaar
63724b1070 Bug 1369552. Split out DrawTargetWrapAndRecord and DrawTargetRecording. r=Bas
DrawTargetRecording will stop playing back durin recording.

--HG--
rename : gfx/2d/DrawTargetRecording.cpp => gfx/2d/DrawTargetWrapAndRecord.cpp
rename : gfx/2d/DrawTargetRecording.h => gfx/2d/DrawTargetWrapAndRecord.h
extra : rebase_source : fd41326974905946318489cc801929328331ae73
2017-06-12 16:52:29 -04:00
Jeff Muizelaar
78632ed364 Bug 1371855 - gfxDrawable: Use a similar draw target instead of an offscreen one.
This makes sure that we use a DrawTargetRecording when we're recording.
Previously we were trying to draw a SourceSurfaceRecording into an
Offscreen DrawTarget which in this case was a DrawTargetSkia which
doesn't support SourceSurfaceRecordings. This changes avoids the
DrawTargetSkia.
2017-06-12 09:56:14 -04:00
Markus Stange
1cdb518fb7 Bug 1370757 - Only push device aligned clips. r=lsalzman
The new clip from bug 1364007 can cause us to clip to a rectangle that's not
aligned to device pixels. With the current rect inflation, we didn't notice,
but if we want to remove the inflation then we need to make sure to round out
the rect that we clip to.

MozReview-Commit-ID: BO9zds8fiKI

--HG--
extra : rebase_source : f71f283ef73cf58dbc2cc05d06ea9bc864fd5084
2017-06-06 19:19:51 -04:00
Ryan VanderMeulen
9b7a73b65a Merge m-c to autoland. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE

--HG--
extra : amend_source : a59e53ba2f8db608f613f21ad6da2b5be8814aa4
2017-06-07 22:55:56 -04:00
Mason Chang
e6ddf2c3c1 Bug 1258781 Add pref for content skia font cache size. r=erahm 2017-06-07 10:11:17 -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
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
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
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
Jonathan Kew
fd5dc7dd5e Bug 1364089 - Eliminate some unnecessary virtual calls in gfxFont-related code. r=jrmuizel 2017-06-01 15:42:07 +01:00
Markus Stange
963eaf95ea Bug 1370977 - Rename gfx.webrender.profiler.enable to gfx.webrender.profiler.enabled and expose it on about:config. r=kats
MozReview-Commit-ID: EfeydaDx5ZC

--HG--
extra : rebase_source : 927fe456f4ed2714b9585a28ed4e4af8f379209d
2017-06-07 13:13:55 -04:00
Morris Tseng
e39344ca89 Bug 1354463 - Enable layers.advanced.canvas-background-color if webrender is enabled. r=kats
MozReview-Commit-ID: KrJY8i9ms42

--HG--
extra : rebase_source : ff746cedf31b0bd3f8eb51af6fe5add86ffe2c3b
2017-05-12 11:23:39 +08:00
Kartikaya Gupta
e49fb92e99 Merge m-c to graphics, a=merge
MozReview-Commit-ID: IU4SJ95MVHH
2017-05-30 07:50:05 -04:00
Carsten "Tomcat" Book
b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Kris Maglione
27a5a12045 Bug 1356317: Part 1 - Mark SurfaceMemoryReporter refcounting as threadsafe. r=njn
MozReview-Commit-ID: 9U5KLMyKSbk

--HG--
extra : rebase_source : e59990f3e52cf5cb6d552a8844d61f7fc5fbdfb4
2017-05-29 22:04:30 -07:00
Xidorn Quan
ac6cc1d36a Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
MozReview-Commit-ID: 5qCoeqfM2s5

--HG--
extra : rebase_source : 6dc1693ce61bea4ec35469a3388c75a9fb64e5b3
2017-05-29 16:17:39 +10:00
Jonathan Kew
30cba7385b Bug 1365278 - Remove WORD_CACHE_* telemetry probes that provide little value for their cost. r=milan 2017-05-29 16:19:36 +01:00
Kartikaya Gupta
07aa8387a0 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 3cEYFBtGvTZ
2017-05-25 08:06:56 -04:00
Kartikaya Gupta
9b99490587 Merge m-c to graphics, a=merge
MozReview-Commit-ID: 8U9lnVZRtS7
2017-05-23 10:34:14 -04:00
Jeff Muizelaar
df702756e2 Bug 1366069. Fix mac theme rendering with DrawTargetRecording. r=mstange
We can't get native surfaces for recording targets
2017-05-19 15:09:56 -04:00
Kartikaya Gupta
5320a75266 Merge m-c to graphics
MozReview-Commit-ID: Fq2lBUWyr0m
2017-05-19 13:19:35 -04:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Alexis Beingessner
8545f35670 Bug 1365418 - Expose other layers.advanced configs, and add webrendest option to toggle them all on. r=kats
MozReview-Commit-ID: 9MZwrGhnzDh
2017-05-16 17:33:33 -04:00
Kartikaya Gupta
aca076b94b Merge m-c to graphics
MozReview-Commit-ID: DFNbcj14mg9

--HG--
rename : memory/mozjemalloc/jemalloc.c => memory/mozjemalloc/mozjemalloc.cpp
rename : memory/mozjemalloc/jemalloc_types.h => memory/mozjemalloc/mozjemalloc_types.h
2017-05-18 08:34:15 -04:00
Ethan Lin
501bd51b08 Bug 1363998 - Part2. Add pref "layers.advanced.background-color" to all.js and turn it on for certain reftests. r=kats 2017-05-18 17:40:18 +08:00
Morris Tseng
d4a7d996c6 Bug 1336986 - Enable layers.advanced.bullet-layers if webrender is enabled. r=kats
MozReview-Commit-ID: LNgErQCNeTq
2017-05-18 10:55:28 +08:00
Kartikaya Gupta
dc10ea1700 Merge m-c to graphics
MozReview-Commit-ID: 5Rpd42jqi40
2017-05-17 08:39:54 -04:00
Kartikaya Gupta
35374ded53 Merge m-c to graphics
MozReview-Commit-ID: BYH3uvvu4jz
2017-05-15 09:36:37 -04:00
Kartikaya Gupta
85ce3b9a88 Merge m-c to graphics
MozReview-Commit-ID: LHvR5izGDcT
2017-05-12 10:20:09 -04:00
Morris Tseng
cef7414265 Bug 1344082 - Create webrender commands for nsDisplayTableBorderCollapse. r=mstange
Gecko only draw one line for each collapsed border. In order to draw
only one line border in webrender, I create normal border webrender
command but only show top side of border for inline direction and left
side for block direction.

MozReview-Commit-ID: 7QChXuzVbg7
2017-05-12 09:39:01 +08:00
cku
4790d4da73 Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt
The reason of this change is the same as for Part 2, except that this commit fixes
nsSVGPaintServerFrame::GetPaintServerPattern rather than PaintSVG.

Commit-ID: 691YrKZ0Lm9
MozReview-Commit-ID: KSnFhCndFUk
2017-05-18 22:03:50 +02:00
cku
d85d3ab378 Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.

The signature of PaintSVG is changed from
  DrawResult PaintSVG(...., uint32 flags);
to
  void PaintSVG(...., imgDrawingParams& aPackage);

imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.

MozReview-Commit-ID: IOq2evUAOQF
2017-05-18 22:03:41 +02:00
Sebastian Hengst
41f1727bf4 Backed out changeset f3460d42d23c (bug 1351440) 2017-05-18 21:15:35 +02:00
Sebastian Hengst
00458fa236 Backed out changeset 2ea1279576d2 (bug 1351440) 2017-05-18 21:15:26 +02:00
cku
c412dd10b9 Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt
The reason of this change is the same as for Part 2, except that this commit fixes
nsSVGPaintServerFrame::GetPaintServerPattern rather than PaintSVG.

Commit-ID: 691YrKZ0Lm9
MozReview-Commit-ID: KSnFhCndFUk

--HG--
extra : rebase_source : 3397613129fff6023833cdc3bd639f0d2b151652
extra : source : fa29f1920a88d88bcf0f5239462d32ee8955895c
2017-05-09 02:14:08 +08:00
cku
eaa4406688 Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt
The DrawResult return was not in fact anything to do with the success or
failure of that method, but was actually passing out a very specific piece of information
about the success or failure of any imagelib drawing that may not have occurred
under the various PaintSVG calls.

The signature of PaintSVG is changed from
  DrawResult PaintSVG(...., uint32 flags);
to
  void PaintSVG(...., imgDrawingParams& aPackage);

imgDrawingParams wraps DrawResult and imgIContainer::FLAG_* as a pack, pass through
PaintSVG to imagelib draw calls under beneath.

MozReview-Commit-ID: IOq2evUAOQF

--HG--
extra : rebase_source : 66c9a9e391c2f9e142575f42fd47b37334ec5752
extra : source : 97a08873177c0f18edffdb1b5589c77843a50553
2017-05-05 17:19:43 +08:00
Lee Salzman
b585bd3438 Bug 1364628 - implement thread-safe variants of FT_New_Face/FT_Done_Face. r=jrmuizel
MozReview-Commit-ID: 6xbOm2nYhXo
2017-05-17 21:56:24 -04:00
David Anderson
1118ca109b Add crash annotations before handling device resets. (bug 1363126 part 4, r=milan) 2017-05-11 22:44:28 -07:00
Botond Ballo
eed69a71e3 Bug 1352863 - Implement support for slider.snapMultiplier during APZ dragging. r=kats
MozReview-Commit-ID: EbmjdNLVsq7

--HG--
extra : rebase_source : 47e5b69976226f2e94545c19d4cce75f1b0b97e1
2017-05-19 20:15:44 -04:00
Mason Chang
844f99874d Bug 1361787. Don't use the minimum box shadow when printing box shadows. r=lsalzman 2017-05-11 09:56:15 -07:00
Lee Salzman
373ded04b3 Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Carsten "Tomcat" Book
52cc9e6849 Backed out changeset 7134018d3724 (bug 1340627) 2017-05-11 12:51:56 +02:00
Lee Salzman
8c776dd5bc Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Ryan VanderMeulen
5da6eebcc8 Bug 1364433 - Add MOZ_CRASHREPORTER ifdefs to DeviceManagerDx.cpp to fix --disable-crashreporter bustage. r=dvander 2017-05-14 15:54:53 -04:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00