Commit Graph

6728 Commits

Author SHA1 Message Date
Wes Kocher
bb24138b9d Merge m-c to inbound, a=merge
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Samuel Vargas
51d69e7578 Bug 1367893 - Rename webgl.max options to webgl.perf.max - r=jgilbert 2017-06-21 16:25:49 -07:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Carsten "Tomcat" Book
c407541a44 Backed out changeset 08e38bcd123b (bug 1367987) for causing new intermittent failure in reftests/image/image-seam-2.html 2017-06-21 12:22:42 +02:00
Jean-Yves Avenard
1dd0cb03fa Bug 1373229: P3. Ensure that the retrieval operation succeeded. r=bas
Retrieving ID3D10Multithread can fail (and will do so on Win7 try box). We must check for null before using the object.

MozReview-Commit-ID: LTeBgDwR2EF

--HG--
extra : rebase_source : d108452fd87fe0e231adee471347df52a67a6c92
2017-06-21 11:53:38 +02:00
Wes Kocher
57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Sebastian Hengst
905913ead5 Backed out changeset 112d854f652d (bug 1365772) for Windows bustage: 'gfxConfig': is not a class or namespace name at DeviceAttachmentsD3D11.cpp(179). r=backout on a CLOSED TREE
Valgrind also complains: Conditional jump or move depends on uninitialised value(s) at __get_cpuid / cpuid / read_cpu_features / operator
2017-06-19 18:23:50 +02:00
Alexis Beingessner
5c589ff480 Bug 1365772 - Allow component alpha to be managed by blocklists. r=kats
MozReview-Commit-ID: 5iEuUtmfkLl

--HG--
extra : rebase_source : 5c39798c464d790cd76254dedba4c76470dc2126
2017-05-30 09:25:40 -04:00
Jonathan Kew
3bcb26919c Bug 1365776 - Use the IDWriteFontFace1 interface if available to get glyph advances from DirectWrite more cheaply. r=jrmuizel 2017-05-19 22:25:28 +01:00
Jonathan Kew
fb4b3bc484 Bug 1364465 - Make shaped-word caches in gfxFont instances use fallible allocation, for a less drastic failure mode in the event of allocation failure. r=jrmuizel 2017-06-19 13:29:22 +01:00
Nicholas Nethercote
5d3808c6e5 Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange.
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the
default value of nullptr caused compilation difficulties that could only be
fixed by #including ProfilerMarkerPayload.h into lots of additional places
(because the UniquePtr<T> instantiation required the T to be fully defined). To
get around this I just split profile_add_marker() into two functions, one with
1 argument and one with 2 arguments.

The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case
where MOZ_GECKO_PROFILER isn't defined. A comment explains why.
2017-06-16 12:26:26 +10:00
Sebastian Hengst
efd723cdad merge mozilla-central to autoland. r=merge 2017-06-18 00:21:41 +02:00
Masatoshi Kimura
838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Lee Salzman
e4cbb5aad8 Bug 1365794 - optimize box blur surfaces for destination draw target. r=mchang
MozReview-Commit-ID: CfAwZZy6v5M
2017-06-16 16:50:39 -04:00
Sebastian Hengst
20d16dadd3 merge mozilla-inbount to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36YqbsnO3en
2017-06-15 11:11:30 +02:00
Andrew Osmond
27eaaaed2f Bug 1365927 - Part 4. Replace PCompositorBridge integration hooks with PCompositorManager. r=dvander 2017-06-14 11:39:59 -04:00
Mats Palmgren
cfd3f9f9cf Bug 1371954 - Use RemoveEntry(EntryType*) rather than RemoveEntry(KeyType) to avoid an unnecesary hashtable lookup. r=froydnj
MozReview-Commit-ID: 10mB1SslmUm
2017-06-14 17:27:24 +02:00
domfarolino@gmail.com
5450eab623 Bug 1369549 - Bootstrap a painting thread for OMTP. r=dvander
--HG--
extra : rebase_source : bae591cdace1197a6b4d3a489a46bdaab5293d23
2017-06-09 16:30:00 -04:00
domfarolino@gmail.com
0fe1d756ab Bug 1369542 - Hook up OMTP to config/about:support/crash annotation system. r=dvander
--HG--
extra : rebase_source : dbf55894b92f7964ab6f64469394117179142f9a
2017-06-06 16:18:00 -04:00
Eric Rahm
23b71eb97f Bug 1353593 - Part 1.1: Fix usage of char16ptr_t in a graphics logging message. r=milan
This message intends to print out a string but was inadvertantly converting
the string pointer to a hex value. Adding an implicit conversion of char16ptr_t
to |wchar*| breaks this, so we just update the code to actually convert and
print the string instead.

MozReview-Commit-ID: 90luEnoysX3
2017-06-12 16:20:48 -07:00
Wes Kocher
bcf1a1c32e Backed out 6 changesets (bug 1365927) for build failures in ipc_message_utils.h a=backout CLOSED TREE
Backed out changeset 11fc0da380a2 (bug 1365927)
Backed out changeset 9f1dee5a6c42 (bug 1365927)
Backed out changeset f4954c824f5c (bug 1365927)
Backed out changeset 144ac6cc76f8 (bug 1365927)
Backed out changeset 961e782cf7c7 (bug 1365927)
Backed out changeset 12a093fb86a4 (bug 1365927)

MozReview-Commit-ID: 6CDxqOJzMjE
2017-06-13 12:45:03 -07:00
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
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Ethan Lin
1abb2e7d41 Bug 1367987 - Enable image layer by default when webrender is enabled. r=kats 2017-06-21 09:38:54 +08:00
Sebastian Hengst
e1bd0a20d7 Backed out changeset e62923d406f0 (bug 1362166) on suspicion of causing reftest failures on Linux x64 QuantumRender opt, e.g. multicol-rule-hidden-000-ref.xht. r=backout 2017-06-20 18:01:22 +02:00
Samael Wang
0db11efe83 Bug 1362166 - Add a timeout to PCompositorManager & kill GPU process on timeout in release builds. r=dvander
MozReview-Commit-ID: Dln8ERrExmz
2017-06-19 16:45:21 +08:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Markus Stange
f8d4832d5f Bug 1370034 - Allow disabling window transforms using a pref. r=spohl
MozReview-Commit-ID: T5NWKMA4qz

--HG--
extra : rebase_source : 2959234f0c0c1368207efc17ec101cb5fc87e5b6
2017-06-09 11:16:48 -04: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
Botond Ballo
2c52e58651 Bug 1349750 - Put async initiation of scrollbar drags behind a pref. r=kats
This allows the feature to ride the trains later than async scrollbar
dragging itself, if desired.

MozReview-Commit-ID: 73ZlCqM5hMN

--HG--
extra : rebase_source : dabc4a4b72210133d8b62256510213183312f18f
2017-05-10 17:57:54 -04:00
Kartikaya Gupta
06d6b428cc Bug 1342488 - Allow enabling webrender with an environment variable. r=rhunt
This simplifies plumbing it through mozharness for automated testing, because
mozharness doesn't already have the ability to set prefs for all the different
kinds of test suites. It can set environment variables though.

MozReview-Commit-ID: BdsH09WTqO4
2017-05-13 07:47:40 -04:00
Morris Tseng
fa0c122cf9 Bug 1365185 - Clear extents cache after pref "gfx.font_rendering.opentype_svg.enabled" is changed. r=jfkthame
MozReview-Commit-ID: E1whRwmuMGu

--HG--
extra : rebase_source : 40d36395cbb32d55200a884971974bb787dc4e45
2017-05-16 13:30:15 +08:00
Kartikaya Gupta
643cd662e4 Bug 1364987 - Remove the pref to allow APZ with webrender. r=rhunt
People seem to be turning on this pref in the wild and generating crash reports
which are wasting time and energy of people who have better things to do.

MozReview-Commit-ID: 5VfjKaDluYJ

--HG--
extra : rebase_source : fa2237835d842ddb118c6ba6096f6b703aef9d81
2017-05-16 09:43:36 -04:00
Daosheng Mu
a839377259 Bug 1343730 - Part 1: Support submitFrame and encode the frame as a base64 image in VRPuppet; r=kip
MozReview-Commit-ID: jHKHSoNo6X

--HG--
extra : rebase_source : df5050a488e19af81ebd240c5fb5fdfd30b46907
2017-05-23 16:55:30 +08:00
Wes Kocher
24a327994e Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)

MozReview-Commit-ID: 9dHr7xMZezY

--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
2017-05-10 10:01:18 -07:00
Lee Salzman
b5a87d9006 Bug 1267909 - fix line heights to properly scale to requested size for color-bitmapped SFNTs. r=jfkthame
MozReview-Commit-ID: KJ0ixEj7ZiV
2017-05-10 11:26:43 -04:00
Carsten "Tomcat" Book
d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Lee Salzman
5587d89b74 Bug 1340627 - part 4 - fix thebes for Skia m59. r=mchang
MozReview-Commit-ID: JDlSyKeT389
2017-05-09 22:31:07 -04:00
Wes Kocher
e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Lee Salzman
8b90fc84ee Bug 1357692 - only accelerate gfxAlphaBoxBlur when blur area is large enough to balance resource creation costs. r=mchang
MozReview-Commit-ID: HcRahaq8ORa
2017-05-09 12:59:08 -04:00
Gerald Squelart
bc7b6779e4 Bug 1356138 - Backout bug 1337063 (Msg_GetGraphicsDeviceInitData opt) for Talos regression - r=dvander
MozReview-Commit-ID: LS1Gg1HRwKo

--HG--
extra : rebase_source : 8b20bc37b20feac4c0b590c8b286a9ee834646e2
2017-05-09 14:40:11 +12:00
Lee Salzman
990319cb3a Bug 1364007 - clip drawing of native Cocoa widgets in gfxQuartzNativeDrawing. r=mstange
MozReview-Commit-ID: 4XhP6Q4PTc4
2017-05-12 11:59:22 -04:00
Kartikaya Gupta
5d5cdc518c Merge m-c to graphics
MozReview-Commit-ID: 2cIoGVmLEuA
2017-05-08 10:50:52 -04:00
Kartikaya Gupta
eac87bc2bf Merge m-c to graphics
MozReview-Commit-ID: 9HO5vhW5fyh
2017-05-04 09:05:26 -04:00
Kartikaya Gupta
b6b23a1376 Merge m-c to graphics
MozReview-Commit-ID: DVUE3Wys3HV
2017-05-03 08:52:43 -04:00
Kartikaya Gupta
7259e787f4 Merge m-c to graphics
MozReview-Commit-ID: 9XwZUWIhGir
2017-05-02 09:45:11 -04:00
peter chang
3ba22de014 Bug 1358437 - Correct the way to use override pref for WebRender OMTA, r=me
MozReview-Commit-ID: JGrt3GVU0yo
2017-05-02 11:41:52 +08:00
peter chang
45183ad68d Bug 1358437 - enable WebRender OMTA by default, r?kats
MozReview-Commit-ID: DG2eK8lMTBi
2017-05-02 10:38:31 +08:00
Jeff Muizelaar
8c32ac0090 Bug 1360001. Add WebRenderPaintedLayerBlob for painting with BlobImages. r=kats
This is a bit of a rough implementation but it works
enough to start.
2017-05-01 21:58:52 -04:00
Jim Chen
a4925f9438 Bug 1357873 - Fix format warning in gfx; r=heycam
Use printf macros to accommodate AArch64 types.
2017-05-01 14:46:01 -04:00
Nicholas Nethercote
273ec65c56 Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange.
Because ProfilerMarkerPayload is the main type defined in these files, and
because the next patch is going to introduce ProfilerMarker.{h,cpp}, which
would be confusingly similar to the old names.

--HG--
rename : tools/profiler/core/ProfilerMarkers.cpp => tools/profiler/core/ProfilerMarkerPayload.cpp
rename : tools/profiler/public/ProfilerMarkers.h => tools/profiler/public/ProfilerMarkerPayload.h
extra : rebase_source : df22a2ab3867650348ae78fe959ff0366aff230b
2017-04-27 07:36:19 +10:00
David Anderson
413ea1b941 Pre-initialize DeviceAttachmentsD3D11 on the compositor thread, immediately after the GPU process initializes. (bug 1360766 part 3, r=bas) 2017-04-30 11:38:59 -07:00
David Anderson
dab415165b Store DeviceAttachmentsD3D11 on DeviceManagerDx instead of ID3D11Device. (bug 1360766 part 2, r=bas) 2017-04-30 11:38:59 -07:00
Sebastian Hengst
42fd33ff9c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: ELENTh08Be7
2017-04-29 11:10:31 +02:00
Jonathan Kew
afaf811234 Bug 1360620 - Optimize GlyphRun storage strategy in gfxTextRun, to reduce the overall size of the gfxTextRun object. r=jrmuizel 2017-05-02 11:14:53 +01:00
Lee Salzman
7afaed3c92 Bug 1360862 - use FC_OUTLINE instead of FC_SCALABLE with Fontconfig to check if a font is scalable. r=jfkthame
MozReview-Commit-ID: 1omWCJz5IK6
2017-05-03 20:45:39 -04:00
Wes Kocher
21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Bas Schouten
76892628f3 Bug 1348320: Use UpdateSubResource on crashy intel device/OS version combinations. r=jrmuizel
MozReview-Commit-ID: EdDn4qy1ajP

--HG--
extra : rebase_source : fadec88a9586bc40e44d2f91aae5c9c5f8f59a5c
2017-05-01 01:11:24 +00:00
Jonathan Kew
4c35432a3a Bug 1360309 - Work around some broken Apple fonts. r=jrmuizel 2017-05-03 09:03:18 +01:00
Jonathan Kew
25183dff43 Bug 1353000 - Respect the round-to-pixels flags when caching shaped-word data. r=jrmuizel 2017-04-12 14:55:13 +01:00
Wes Kocher
be34ade6b6 Merge autoland to central, a=merge
MozReview-Commit-ID: 2pgVZdnDKno
2017-04-27 12:44:03 -07:00
Kartikaya Gupta
c77714e7cd Merge m-c to graphics
MozReview-Commit-ID: EdvTPLc8PCy
2017-04-27 13:03:06 -04:00
Kartikaya Gupta
e37b4e9289 Merge m-c to graphics
MozReview-Commit-ID: 6UBB4TW6an5
2017-04-27 09:31:17 -04:00
Kartikaya Gupta
b21511b7c0 Merge m-c to graphics
MozReview-Commit-ID: GdyXEYZsVuX
2017-04-25 08:32:48 -04:00
Jamie Nicol
5f1bd7050d Bug 1352034 - Part 1 Turn on layers.advanced.solid-color-layers r=mchang 2017-04-24 15:35:17 -04:00
Ethan Lin
e7c48eaf73 Bug 1357003 - Keep original layer state for basic layer manager when enabling advanced layer. r=mattwoodrow
--HG--
extra : rebase_source : 75540e18973d788e4e076aa3bdfa8a26036b2269
2017-04-21 23:11:38 +08:00
Kartikaya Gupta
2e1380aecf Merge m-c to graphics
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Carsten "Tomcat" Book
975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
peter chang
4cf27c49b8 Bug 1345017 - Disable OMTA with webrender by default, r=kats
MozReview-Commit-ID: 4cA8n8XYall
2017-04-17 22:22:47 +08:00
Nicholas Nethercote
bc1d6a21a2 Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto.
TimeStamp::ProcessCreations()'s aIsInconsistent outparam is ignored by the
majority of its caller. This patch makes it optional. Notably, this makes
ProcessCreation() easier to use in a constructor's initializer list.
2017-04-26 14:55:54 +10:00
Carsten "Tomcat" Book
e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Jonathan Watt
d8c9421010 Bug 1359155, part 4 - Remove gfxASurface::FormatStrideForWidth. r=mstange
MozReview-Commit-ID: KmFvlWgmq8f
2017-03-30 15:58:31 +01:00
Daosheng Mu
b4fb3b9c83 Bug 1353523 - Add adjustable threshold value for VR controller trigger inputs; r=kip
MozReview-Commit-ID: KQMccZeE2IK

--HG--
extra : rebase_source : b8c60e59c7f9678fdb15f3dcc6770198ec35b82a
2017-04-19 13:14:13 +08:00
Wes Kocher
226702fd85 Merge m-c to autoland a=merge
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Sebastian Hengst
aa97b436a2 Backed out changeset 03a3ed5fbce1 (bug 1331915) for telemetry bustage. r=backout 2017-04-27 01:05:03 +02:00
Tom Ritter
96b2a2c6e3 Bug 1331915 Add Telemetry probe to Graphite library usage r=jfkthame
MozReview-Commit-ID: 1aU5ddQoLnV

--HG--
extra : rebase_source : f4237dba387d977f0f6036f7bc5fc15822ea2bf4
2017-04-21 14:09:53 -05:00
Kartikaya Gupta
c9e542c4d7 Bug 1359061 - Report WR state via ScopedGfxFeatureReporter in all processes. r=dvander
We were only reporting the WR feature state in crash reports from the parent
process. However, it would be useful to have in GPU and content process crash
reports as well, so use the ScopedGfxFeatureReporter in those processes as well.

MozReview-Commit-ID: Em37uLVPboK

--HG--
extra : rebase_source : c5bae376d084b7579308dcf1f5fb6186a231a868
2017-04-24 10:06:06 -04: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
vincentliu
3b05828b37 Bug 1350677 - Add Labeling for gfxFontCache. r=jfkthame
From cef7c4838ae3efa519e4d20953cac7dbe40d1aca Mon Sep 17 00:00:00 2001
2017-04-13 09:59:05 +08:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Jay Harris
6ce213e795 Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald
MozReview-Commit-ID: 9x1ckaWagcE

--HG--
extra : rebase_source : 2962f8572dd36b2dfecb7bb30ba515fc7c6323c9
2017-04-15 09:34:01 +12: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
Wes Kocher
514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Wes Kocher
4fab232444 Merge autoland to central, a=merge 2017-04-13 13:03:43 -07:00
Jeff Gilbert
326703ec04 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Kartikaya Gupta
b4341d2689 Merge m-c to graphics
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -04:00
Wes Kocher
25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Wes Kocher
1196244596 Backed out 3 changesets (bug 1353000) for devtools failures a=backout CLOSED TREE
Backed out changeset 7ef3333cedf5 (bug 1353000)
Backed out changeset bd127ce305c7 (bug 1353000)
Backed out changeset 10e777bb90dc (bug 1353000)

--HG--
extra : amend_source : 8db7e67b22347962be0fdb055df1bb2c1853ab67
2017-04-12 10:59:12 -07:00
Jonathan Kew
c336bff796 Bug 1353000 - Respect the round-to-pixels flags when caching shaped-word data. r=jrmuizel 2017-04-12 14:55:13 +01:00
Ethan Lin
44273be6f1 Bug 1355417 - Enable "layers.advanced.button-foreground-layers" by default. r=mchang 2017-04-12 16:47:21 +08: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
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
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
Iris Hsiao
bf9a6182a2 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08: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
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
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
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
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
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
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
Tom Ritter
124e75c660 Bug 1331915 Add Telemetry probe to Graphite library usage r=jfkthame
MozReview-Commit-ID: 1aU5ddQoLnV

--HG--
extra : rebase_source : 0a23e5a49508d931b4401f20f7a9454bb12e260e
2017-04-28 01:33:04 -05:00
Randall Barker
a606cd8b60 Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.

MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Kearwood Gilbert
f12b0d6228 Bug 1353481 - When vrdisplayactivate is triggered by link traversal, VRDisplay.requestPresent should relax the user gesture requirement r=daoshengmu
MozReview-Commit-ID: 8viFBiY8A6m

--HG--
extra : rebase_source : 67ad50e7c6389d2fa6406aef4a979a50fc744c8d
2017-04-04 11:27:14 -07: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
Kartikaya Gupta
acefdfbab2 Merge m-c to graphics
MozReview-Commit-ID: Gmms6PhTr8U
2017-03-31 10:37:00 -04: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
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
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
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
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
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
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
Wes Kocher
ed79d988f0 Merge autoland to central, a=merge
MozReview-Commit-ID: 4DDSNU4ABBB
2017-03-27 17:03:30 -07:00
Kartikaya Gupta
b6566b9f0c Bug 1349949 - Turn some advanced layers prefs into override prefs. r=mchang
This allows us to remove the #ifdef MOZ_ENABLE_WEBRENDER for the advanced layers
prefs from all.js. As additional advanced layers are turned on for webrender (or
non-webrender) they can be converted into override prefs without affecting the
call sites.

MozReview-Commit-ID: F9tMc23ow8A

--HG--
extra : rebase_source : 2244cb000711496ce5b7f1b50ef0314e1c312d94
2017-03-23 16:29:54 -04:00
Kartikaya Gupta
7a77ecd448 Bug 1349949 - Add the notion of an "override pref" to gfxPrefs.h. r=mchang
An override pref is one that is stored as a tri-state int32_t pref in the gecko
preferences system (with values 0, 1, or 2), but is exposed as a bool via the
gfxPrefs API. The int32_t value defaults to 2, which means that gfxPrefs will
take the value from somewhere else (which can be customized per-pref). If the
int32_t value stores 0 or 1, those correspond to force-disabled and force-enabled
respectively, and the gfxPrefs API will return false or true.

This allows the default value of a pref to be conditional upon other features
(e.g. webrender being enabled or not), but still allows the user or code to
override it into the enabled or disabled state.

MozReview-Commit-ID: KaihVyHrw2q

--HG--
extra : rebase_source : 053adc51a982f48e56035f453801d5987884a052
2017-03-23 16:29:52 -04:00
Brendan Dahl
a1f2e12af8 Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Ryan Hunt
c34aafb126 Bug 1341101 part 6 - Build WR gradients for nsDisplayBackgroundImage when supported r=jrmuizel
MozReview-Commit-ID: 3VKLZQZWyrG

--HG--
extra : rebase_source : c4dcfcff043b0f1b83a274e63a1aae32890bc968
2017-03-15 02:51:16 -04:00
Wes Kocher
914dd4b76c Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
cku
a55d02afd1 Bug 1345853 - Part 4. Pass sync decode flag down to nsSVGPatternFrame::PaintPattern. r=tnikkel
MozReview-Commit-ID: 1bHMINhs121

--HG--
extra : rebase_source : 8da9c0d77dd9a32be392f43d3be266d365894b3a
2017-03-25 03:19:18 +08:00
cku
148bb081ca Bug 1345853 - Part 1. Pass DrawResult from nsSVGPatternFrame::PaintPattern back to nsDisplaySVGGeometry::Paint. r=mstange,tnikkel
I did many change in many files in this patch. But the goal is pretty simple: To
pass the return value of nsSVGPatternFrame::PaintPattern back to the caller
(nsDisplaySVGGeometry). My suggestion is to review this patch right from
nsSVGPatternFrame.cpp.

I made two mistakes in bug 1258510
1. We should not return directly at [1]. RemoveStateBits at l418 will be skip.
2. nsSVGPatternFrame::PaintPattern should return both SourceSurface and draw
result, so that we can update UpdateDrawResult in display item.

All the other changes are to
1. make sure the return value of nsSVGPatternFrame::PaintPattern goes back to
nsDisplaySVGGeometry::Paint correctly.
2. Since the return value of nsSVGPatternFrame::PaintPattern change, we need
modify all existed callers.

I also filed bug 1346124 for handle the returning value of PaintMarkers.

[1] https://hg.mozilla.org/mozilla-central/file/c0700bedb4f7/layout/svg/nsSVGPatternFrame.cpp#l415

MozReview-Commit-ID: Iq9RPQ6Omz0

--HG--
extra : rebase_source : ca7a35bb9f5e27880d5dc62e03feb91b6ac3435d
2017-03-21 10:12:23 +08:00
Wes Kocher
8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Lee Salzman
a10fddc8eb Bug 1350783 - support bitmaps fonts in gfxFcPlatformFontList. r=jfkthame
MozReview-Commit-ID: 4VQkyhx4IJE
2017-03-29 13:47:46 -04:00
Nicolas Silva
12f7354feb Bug 1309200 - Expose the software backend in gfxVars. r=dvander 2017-03-28 16:35:55 +02:00
Kan-Ru Chen
824adc9354 Bug 1194751 - Part 5. Implement ScreenHelperGTK and delete old nsScreenManagerGtk/nsScreenGtk. r=karlt
ScreenHelperGTK is the platform dependent part of the original
nsScreenManagerGtk and nsScreenGtk. It registers monitors-changed
event listener from gtk and pushes updates to ScreenManager. See patch
part 4. for how ScreenManager works.

MozReview-Commit-ID: KBo7ZLFTjM3

--HG--
rename : widget/gtk/nsScreenManagerGtk.cpp => widget/gtk/ScreenHelperGTK.cpp
rename : widget/gtk/nsScreenManagerGtk.h => widget/gtk/ScreenHelperGTK.h
extra : rebase_source : 5607e31b62c928934cc45df7b2212428fbfd79c1
2017-03-09 19:29:44 +08:00
Kartikaya Gupta
8cd9268ada Bug 1350962 - Log WebRender status into the app notes of crash reports. r=milan
This will add "WR?" if the pref is not set to true, or "WR!" if the pref is set
to true (which indicates the user flipped it), followed by "WR+" or "WR-" which
indicates whether or not WebRender is enabled.

MozReview-Commit-ID: F3h5UowCxij

--HG--
extra : rebase_source : e809a9026c35d89c101e6cb72d09cd6136ed84c6
2017-03-27 11:44:01 -04:00
Wes Kocher
1087616d0e Merge autoland to m-c a=merge
MozReview-Commit-ID: 2zUGojOEVNi
2017-03-23 16:05:15 -07: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
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
Jeff Muizelaar
da3210576b Bug 1119128. Eliminate gfxPangoFontGroup and gfxFontconfigUtils. r=lsalzman 2017-03-22 14:58:19 -04:00