Commit Graph

19076 Commits

Author SHA1 Message Date
Kartikaya Gupta
b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Nicolas Silva
f15ae7d768 Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
Kartikaya Gupta
86ed888daa Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
David Major
e28459d978 Bug 1163740: Keep |result| in a register where we can see it in minidumps. r=seth
--HG--
extra : rebase_source : ff951d08b38e4b1fa87321ae3f728432fdc21482
2015-05-20 20:48:57 -04:00
Ethan Lin
6396c6c96b Bug 1166165 - Check if the timestamp is null to prevent assertion. r=nical 2015-05-20 17:01:34 -04:00
Ryan VanderMeulen
da32a81d18 Backed out changeset bcc398de6eda (bug 1166165) for suspicion of causing test_NuwaProcessCreation.html permatimeouts. 2015-05-20 13:52:23 -04:00
Jonathan Kew
a692669079 Bug 1164835 - Use vertical presentation forms (where available) in vertical-upright text as fallback if the font does not support the 'vert' feature. r=jdaggett 2015-05-22 08:40:04 +01:00
Nathan Froyd
db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Nathan Froyd
c24f5f4e7c Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel 2015-04-30 15:20:30 -04:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Kan-Ru Chen
3e9e269e92 Bug 1154231 - Part 1. Use LRU to manage remote layers. r=mattwoodrow 2015-05-22 07:08:20 +08:00
Matt Woodrow
efd66a0404 Bug 1164480 - Make sure MacIOSurfaceLib is initialized before we use it. r=jya 2015-05-22 11:00:28 +12:00
Birunthan Mohanathas
1c20df74c6 Bug 1166840 - Remove document argument from nsIClipboardHelper.copyString{,ToClipboard}. r=ehsan 2015-05-21 21:50:09 +01:00
Bas Schouten
09e0edbcc8 Bug 1158575: Support using GDI rendering for opaque surfaces when using cross-process layers. r=jrmuizel 2015-05-22 17:54:24 +02:00
Kartikaya Gupta
029439cade Bug 1164274 - Disable the wheel-scroll test on Mulet for intermittent failures. r=mstange 2015-05-22 12:01:52 -04:00
Carsten "Tomcat" Book
dfe75f9228 Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE 2015-05-20 16:12:33 +02:00
Kan-Ru Chen
d41cac193c Bug 1166649 - Fix GrallocTextureClient.cpp unified build bustage. r=nical 2015-05-20 02:40:00 -04:00
Ethan Lin
9e6ce88a83 Bug 1166165 - Check if the timestamp is null to prevent assertion. r=nical 2015-05-19 00:37:00 -04:00
Milan Sreckovic
b39a1b5e61 Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Geoff Brown
e4864d1e64 Bug 1164088 - Avoid IsFramebuffer assertion on Android emulator; r=jgilbert 2015-05-20 06:37:40 -06:00
Tom Klein
a8e5f7cc4f Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2015-05-20 11:44:05 +01:00
Brian Birtles
87aaa8fc5f Bug 1164330 - Rename time fraction to (iteration) progress; r=jwatt
--HG--
extra : rebase_source : ca36d4d5dab2d08d42c7daa1e6778cda1408f465
2015-05-13 13:57:35 +09:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Jacek Caban
12ce7666ca Bug 1161642 - Cross compilation fixup.
--HG--
extra : rebase_source : bbc320d004ea887b6d00d0eeac57f16b715ef216
2015-05-19 11:12:55 +02:00
John Daggett
f195515695 Bug 1165611 - fix font smoothing under Linux. r=karlt 2015-05-19 14:30:55 +09:00
Matt Woodrow
9b0ee77669 Backout e01d80922187 (Bug 857895) for causing crashes
--HG--
extra : rebase_source : d014633fc9d5965fcae6b24a5171809edf7840ed
2015-05-19 10:50:41 +12:00
Birunthan Mohanathas
735ccdd101 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Ryan VanderMeulen
7833fc8055 Merge inbound to m-c. a=merge 2015-05-18 16:32:50 -04:00
Mason Chang
39a25a68b6 Backout bug 1155828 for talos + functional regressions. r=me 2015-05-18 08:30:41 -07:00
Mason Chang
f171f7f6dd Backout bug 1162824 to backout bug 1155828. r=me 2015-05-18 08:29:40 -07:00
Jonathan Watt
737bb25dd5 Bug 1165900 - Make MaybeSnapToDevicePixels return a boolean to indicate whether snapping occurred. r=Bas 2015-05-06 14:43:56 +01:00
Jonathan Watt
3af6ce5868 Bug 1165896 - Fix the argument naming of MaybeSnapToDevicePixels to match UserToDevicePixelSnapped. r=Bas 2015-05-06 14:40:26 +01:00
Frédéric Wang
9b30baa95b Bug 598900 - GDI: use typo metrics when USE_TYPO_METRICS is specified. r=karlt 2015-05-15 22:30:29 +02:00
Vincent Liu
be4b3328fc Bug 1162395 - [LayerScope]: No need to read and send the texture when the same texture id contains in a frame. r=cku
--HG--
extra : rebase_source : 2c4c6c4b7e76f261b66fad29fd146961dc65cc96
2015-05-07 15:26:26 +08:00
JerryShih
b90f6b5dcc Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu
--HG--
extra : rebase_source : 6fb3d2c7c1c94fe8bbffb8d1e1e7a87049068738
2015-05-17 18:12:00 +02:00
Ethan Lin
7980550521 Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro
--HG--
extra : rebase_source : 06a799fbabfccd00c4baf7b9d98c967b4432bb73
2015-05-13 01:42:00 +02:00
Ethan Lin
cdc345235c Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro
--HG--
extra : rebase_source : cca9aa2fbb07f2c00741fb33ce33d7e2db1ba0f2
2015-05-13 00:37:00 +02:00
Ethan Lin
aac29696f5 Bug 1155498 - Part 2 - Use new FenceHandle to handle the fence in TextureHost. r=sotaro
--HG--
extra : rebase_source : 5e619c27d9157dcc379a7a3f721aa44aa7b42370
2015-05-13 00:36:00 +02:00
Ethan Lin
0e78b95a1c Bug 1155498 - Use FdObj to replace FenceHandle's android fence. r=sotaro
--HG--
extra : rebase_source : df49b5e482064e30338a19748371bb70550cdd13
2015-05-17 07:21:00 +02:00
Phil Ringnalda
f7950798e0 Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
4b20fa6b94 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson
cadd78802e Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
David Anderson
502eb5d3ca Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev
43ec4fa0cc Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Andrew Comminos
8b0189a51d Bug 1161642 - Utilize primitive blends where available for faster blending on D2D 1.1. r=bas 2015-05-11 08:47:00 -04:00
Carsten "Tomcat" Book
7c8dfe495a Merge mozilla-central to b2g-inbound 2015-05-18 13:57:18 +02:00
Fabrice Desré
ebe1917cb3 Bug 1165766 - Crash in AddFontSetFamilies() r=jtd 2015-05-17 20:33:46 -07:00
Timothy Nikkel
93231ce78b Bug 1165536. Don't include resolution compensation when adjusting the cliprect of ancestors of scrollbars. r=botond
We are trying to adjust for the async transform that gets applied to the scrollable container layer by applying a transform to the scrollbar layer. That means we also need to adjust our clip rect. The resolution compensation is not done for this reason (compensating for a transform on an ancestor layer), hence we don't need to adjust the clip rect for the resolution compensation.
2015-05-17 02:00:10 -05:00
Kartikaya Gupta
c18b147cf7 Bug 1151617 - Add some basic reftests for async scrollbar positioning on B2G and Linux w/APZ. r=tn,botond 2015-05-16 09:11:04 -04:00
Kartikaya Gupta
2664a8f777 Bug 1165407 - Properly flush the log stream after logging it. r=botond 2015-05-16 09:11:04 -04:00
Phil Ringnalda
d8e6f914f4 Back out 75502ee740e0 (bug 1153123) for w-p-t bustage
CLOSED TREE
2015-05-15 20:37:24 -07:00
Phil Ringnalda
a5df436c2e Backed out 2 changesets (bug 1154231) for M-oth crashes
CLOSED TREE

Backed out changeset 5e8145eff457 (bug 1154231)
Backed out changeset 951fb8ed6f25 (bug 1154231)
2015-05-15 20:29:15 -07:00
Nicholas Nethercote
eab9ff6d25 Back out all four patches from bug 1161377. r=me.
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).

--HG--
extra : rebase_source : 380f79e67dff4c4eaa2614f286a4d0669666b652
2015-05-14 21:48:43 -07:00
Botond Ballo
9f7ceff4d6 Bug 1164557 - Weed out spurious calls to Axis::OverscrollBy() caused by rounding error r=kats
--HG--
extra : source : 9beb85aca6a9398ad05d937f2b6096fb859a1d63
2015-05-13 15:48:50 -04:00
Botond Ballo
9c6dd7f1ef Bug 1164557 - Use COORDINATE_EPSILON in IsZero(). r=kats
--HG--
extra : source : fe7548a3554a7d6033147f616612005a8242f7a0
2015-05-13 15:48:21 -04:00
Botond Ballo
441122c472 Bug 1164557 - Do not start an overscroll animation if one is already running. r=kats
--HG--
extra : source : cd74929b4cc41346eb1901b4b9307dea18701164
2015-05-13 15:47:24 -04:00
Botond Ballo
184a00be02 Bug 1159985 - Gtest. r=kats
--HG--
extra : source : 48c9d5ccd61b79caf959f6d6329977888d032fb8
2015-05-11 22:25:34 -04:00
Botond Ballo
23e426ca66 Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats
--HG--
extra : source : 6869f19b8b653ee012d0d0bc7e0f7f473983820d
2015-05-11 22:06:03 -04:00
Botond Ballo
2904d8d719 Bug 1159985 - If only one component of a fling is in overscroll, continue the fling in the other component. r=kats
--HG--
extra : source : dd5f73b96d7de9cc16cdb498e22930aa54a8a103
2015-05-11 22:27:48 -04:00
Botond Ballo
0fd5163a65 Bug 1163845 - Unify handling of time in APZ gtests. r=kats
--HG--
extra : rebase_source : f7b50c31bc39ed0a2d2d26250a0dc36355c0cf05
extra : source : 64cabb256acb8b30e4d67f78e94b8f6187e0e58d
2015-05-15 12:45:27 -04:00
Matt Woodrow
4ca85adc7e Bug 1153123 - Don't upload in the ImageBridge thread if A8 texture sharing is broken. r=Bas 2015-05-13 23:42:32 +12:00
Timothy Nikkel
83865f6cb4 Bug 1164767. Modify async scrollbar positioning code to deal with containerless root scrollables. r=botond
The root scrollbars will no longer be a descendant of the layer with their corresponding frame metrics. But scrollbars for root scrollables still need adjustment for the resolution.

We still use the descendant check for the code which needs to be run if the scrollbars are a descendant of the layer with their corresponding frame metrics so that non-containerless root scrolling still works the same way.
2015-05-15 20:01:32 -05:00
Kan-Ru Chen
10fec84bca Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-16 08:43:39 +08:00
Mason Chang
7fcc9c8c95 Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange 2015-05-15 10:52:44 -07:00
Ehsan Akhgari
6532f9f013 Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Sotaro Ikeda
59b114892e Bug 1164513 - Add nullptr check r=milan 2015-05-14 12:09:18 -07:00
Eric Rahm
682623740c Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Mason Chang
fdee839380 Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange
--HG--
extra : rebase_source : dd38b08f414d56be7bbcb70767f3a0b0ee4bd172
2015-05-13 15:19:27 -04:00
Markus Stange
1cbafd9f99 Bug 1162726 - Make RoundedToInt() snap the rect properly. r=roc
--HG--
extra : rebase_source : c10c0c262d6d1c5f3217dfbc013744aa25b4c591
2015-05-07 14:25:06 -04:00
Markus Stange
6d1154e100 Bug 1160789 - Make DrawTargetSkia support subpixel antialiasing for text. r=jrmuizel
--HG--
extra : rebase_source : e9b2808120831abbe6fba630b1a5bd0263583d18
2015-05-04 13:23:54 -04:00
Kan-Ru Chen
76106add0a Backout chanset 9c18f3e4d02a and e784bb7b9f21 because b2g emulator bustage 2015-05-14 15:59:17 +08:00
Kan-Ru Chen
44ded96cd0 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-14 12:54:56 +08:00
Matt Woodrow
51ff272372 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Timothy Nikkel
6a716c9bca Bug 1164340. Fix up some scrollbar related comments in AsyncCompositionManager. r=botond 2015-05-13 19:15:39 -05:00
Timothy Nikkel
ab7de41ea8 Bug 1164340. Convert the scrollbar thumb ratio to a unitless ratio properly for non-zoomable scrollframes. r=botond 2015-05-13 19:15:38 -05:00
Timothy Nikkel
5c4779f4b5 Bug 1162648. When updating layout with the latest async values from the APZC do the scrolling last because it can flush layout. r=botond,kats
If we flush layout after the new scroll position clamping scroll port size but the old resolution then the scrollbars will be placed in the wrong spot.
2015-05-13 15:52:09 -05:00
Daniel Holbert
01891337d7 Bug 1056479 followup: Annotate gfxPlatformGtk::CreatePlatformFontList() as 'override'. rs=ehsan 2015-05-12 23:36:47 -07:00
John Daggett
d81f5d0dd1 Bug 1056479 p10 - activate bundled fonts. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
540fea6e49 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-13 14:11:26 +09:00
John Daggett
484218641e Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-13 14:11:26 +09:00
John Daggett
340819d049 Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
6ea78832dc Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-13 14:11:26 +09:00
John Daggett
0a76b17f6a Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
07a0c560a7 Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-13 14:11:25 +09:00
John Daggett
534d59b79b Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-13 14:11:25 +09:00
John Daggett
96e7e032af Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
246fdaca92 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-13 14:11:25 +09:00
Lee Salzman
54aee35d35 Bug 1159273 - Fix out-dated Cairo usage that may fail to build or work properly when system Cairo is involved. r=jrmuizel 2015-05-13 12:00:30 +09:00
Lee Salzman
c4fcd378b2 Bug 1159273 - Update Cairo/Pixman renaming to not leak the symbols we use and silence linker warnings. r=jrmuizel 2015-05-13 11:54:18 +09:00
Lee Salzman
e38cad0b37 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
Nicholas Nethercote
ba79e01ad2 Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
--HG--
extra : rebase_source : 990907701818b7da2b4e8955c419bb61130e266f
2015-05-12 17:33:26 -07:00
David Major
b8d20648b2 Bug 1154703: Fix typo in nvdxgiwrap filename. r=jrmuizel 2015-05-12 19:04:46 -04:00
Kartikaya Gupta
bdb998b9d4 Bug 1022080 - Split out the paint item dumping from the rest of the paint dumping. r=mattwoodrow 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
fe46141487 Bug 1022080 - Dump compositable textures as something that we can paste into the URL bar. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
992bb06a34 Bug 1022080 - Add surface dumping for X11 basic textures. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
cf503e468a Bug 1022080 - Make non-HTML dumping of textures work better. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
af44ca2147 Bug 1022080 - Don't force intermediate surfaces when dumping textures, unless explicitly specified. r=nical 2015-05-12 09:16:53 -04:00
Carsten "Tomcat" Book
a98d07f54a Backed out changeset cff5c0c09e72 (bug 1056479) for widespread destruction on a CLOSED TREE 2015-05-12 12:22:01 +02:00
Carsten "Tomcat" Book
5cb40c508e Backed out changeset 8bd3335d77d2 (bug 1056479) 2015-05-12 12:21:20 +02:00
Carsten "Tomcat" Book
7d0e2a0d83 Backed out changeset c72465a4c424 (bug 1056479) 2015-05-12 12:21:14 +02:00