Commit Graph

14027 Commits

Author SHA1 Message Date
Ryan VanderMeulen
04eb118b4c Backed out changeset bcc398de6eda (bug 1166165) for suspicion of causing test_NuwaProcessCreation.html permatimeouts. 2015-05-20 13:52:23 -04:00
Jonathan Kew
8454f2049f 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
f61c010661 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
e970b7431b 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
ccf1ec07c6 Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Kan-Ru Chen
93b42a9fee Bug 1154231 - Part 1. Use LRU to manage remote layers. r=mattwoodrow 2015-05-22 07:08:20 +08:00
Matt Woodrow
4209398a7d Bug 1164480 - Make sure MacIOSurfaceLib is initialized before we use it. r=jya 2015-05-22 11:00:28 +12:00
Birunthan Mohanathas
dc5b9d0327 Bug 1166840 - Remove document argument from nsIClipboardHelper.copyString{,ToClipboard}. r=ehsan 2015-05-21 21:50:09 +01:00
Bas Schouten
19fa8514e4 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
76d0709cbe 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
4ac13379e8 Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE 2015-05-20 16:12:33 +02:00
Kan-Ru Chen
207f281b28 Bug 1166649 - Fix GrallocTextureClient.cpp unified build bustage. r=nical 2015-05-20 02:40:00 -04:00
Ethan Lin
8ea56f7f69 Bug 1166165 - Check if the timestamp is null to prevent assertion. r=nical 2015-05-19 00:37:00 -04:00
Milan Sreckovic
912b462a4a Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Geoff Brown
d3a33241c7 Bug 1164088 - Avoid IsFramebuffer assertion on Android emulator; r=jgilbert 2015-05-20 06:37:40 -06:00
Tom Klein
32a0475bae Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2015-05-20 11:44:05 +01:00
Brian Birtles
66e943ae38 Bug 1164330 - Rename time fraction to (iteration) progress; r=jwatt 2015-05-13 13:57:35 +09:00
Eric Rahm
c5e63515bf Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Jacek Caban
5a1602109d Bug 1161642 - Cross compilation fixup. 2015-05-19 11:12:55 +02:00
John Daggett
faeec37c82 Bug 1165611 - fix font smoothing under Linux. r=karlt 2015-05-19 14:30:55 +09:00
Matt Woodrow
eeabd51fbe Backout e01d80922187 (Bug 857895) for causing crashes 2015-05-19 10:50:41 +12:00
Birunthan Mohanathas
c316215317 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Ryan VanderMeulen
41d95849b2 Merge inbound to m-c. a=merge 2015-05-18 16:32:50 -04:00
Mason Chang
11132ce0a6 Backout bug 1155828 for talos + functional regressions. r=me 2015-05-18 08:30:41 -07:00
Mason Chang
b850cf42ab Backout bug 1162824 to backout bug 1155828. r=me 2015-05-18 08:29:40 -07:00
Jonathan Watt
42079dcb39 Bug 1165900 - Make MaybeSnapToDevicePixels return a boolean to indicate whether snapping occurred. r=Bas 2015-05-06 14:43:56 +01:00
Jonathan Watt
f2f7105cc3 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
db26a6c69f Bug 598900 - GDI: use typo metrics when USE_TYPO_METRICS is specified. r=karlt 2015-05-15 22:30:29 +02:00
Vincent Liu
5d9aaeb098 Bug 1162395 - [LayerScope]: No need to read and send the texture when the same texture id contains in a frame. r=cku 2015-05-07 15:26:26 +08:00
JerryShih
c0ef76853d Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu 2015-05-17 18:12:00 +02:00
Ethan Lin
993b617598 Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro 2015-05-13 01:42:00 +02:00
Ethan Lin
6f33c4cae3 Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro 2015-05-13 00:37:00 +02:00
Ethan Lin
ae7e6e42b0 Bug 1155498 - Part 2 - Use new FenceHandle to handle the fence in TextureHost. r=sotaro 2015-05-13 00:36:00 +02:00
Ethan Lin
c53786bc10 Bug 1155498 - Use FdObj to replace FenceHandle's android fence. r=sotaro 2015-05-17 07:21:00 +02:00
Phil Ringnalda
881f3ba8cc 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
580eb72be7 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson
93351f8ffa Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
David Anderson
dd781641e4 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev
105fbf0346 Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Andrew Comminos
b7a8694ac6 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
e9483dd6ba Merge mozilla-central to b2g-inbound 2015-05-18 13:57:18 +02:00
Fabrice Desré
ac84db6cbf Bug 1165766 - Crash in AddFontSetFamilies() r=jtd 2015-05-17 20:33:46 -07:00
Timothy Nikkel
16445fc64d 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
b9108493b9 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
c3928827ef Bug 1165407 - Properly flush the log stream after logging it. r=botond 2015-05-16 09:11:04 -04:00
Phil Ringnalda
8261f2cf53 Back out 75502ee740e0 (bug 1153123) for w-p-t bustage
CLOSED TREE
2015-05-15 20:37:24 -07:00
Phil Ringnalda
aaca0423eb 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
0addd071a9 Back out all four patches from bug 1161377. r=me.
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
2015-05-14 21:48:43 -07:00
Botond Ballo
ed212a4d92 Bug 1164557 - Weed out spurious calls to Axis::OverscrollBy() caused by rounding error r=kats 2015-05-13 15:48:50 -04:00
Botond Ballo
2c82fd3112 Bug 1164557 - Use COORDINATE_EPSILON in IsZero(). r=kats 2015-05-13 15:48:21 -04:00
Botond Ballo
2169e50684 Bug 1164557 - Do not start an overscroll animation if one is already running. r=kats 2015-05-13 15:47:24 -04:00
Botond Ballo
f02aa0dc4a Bug 1159985 - Gtest. r=kats 2015-05-11 22:25:34 -04:00
Botond Ballo
54a961f705 Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats 2015-05-11 22:06:03 -04:00
Botond Ballo
1d672f81a4 Bug 1159985 - If only one component of a fling is in overscroll, continue the fling in the other component. r=kats 2015-05-11 22:27:48 -04:00
Botond Ballo
3c8c88ed15 Bug 1163845 - Unify handling of time in APZ gtests. r=kats 2015-05-15 12:45:27 -04:00
Matt Woodrow
c8343ced72 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
51430bf757 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
82d5bac578 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-16 08:43:39 +08:00
Mason Chang
3c178fe9a8 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
123f153e5a 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
aae84aa1d5 Bug 1164513 - Add nullptr check r=milan 2015-05-14 12:09:18 -07:00
Eric Rahm
37808e571f 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
8c6561276c Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange 2015-05-13 15:19:27 -04:00
Markus Stange
9d5ef679af Bug 1162726 - Make RoundedToInt() snap the rect properly. r=roc 2015-05-07 14:25:06 -04:00
Markus Stange
84fcaf91ef Bug 1160789 - Make DrawTargetSkia support subpixel antialiasing for text. r=jrmuizel 2015-05-04 13:23:54 -04:00
Kan-Ru Chen
9388658a40 Backout chanset 9c18f3e4d02a and e784bb7b9f21 because b2g emulator bustage 2015-05-14 15:59:17 +08:00
Kan-Ru Chen
53f6543101 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-14 12:54:56 +08:00
Matt Woodrow
6719119889 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Timothy Nikkel
63839541c5 Bug 1164340. Fix up some scrollbar related comments in AsyncCompositionManager. r=botond 2015-05-13 19:15:39 -05:00
Timothy Nikkel
f9427c5257 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
dbcf01fc91 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
52e5944b9a Bug 1056479 followup: Annotate gfxPlatformGtk::CreatePlatformFontList() as 'override'. rs=ehsan 2015-05-12 23:36:47 -07:00
John Daggett
f92095d6ce Bug 1056479 p10 - activate bundled fonts. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
2c5bb4e8f4 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-13 14:11:26 +09:00
John Daggett
35051ffb5c Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-13 14:11:26 +09:00
John Daggett
6a616a6051 Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
569255e6c2 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-13 14:11:26 +09:00
John Daggett
d49810fba6 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
65205f109b 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
efff1e5386 Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-13 14:11:25 +09:00
John Daggett
ab4eecad04 Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
6c6d2ffd69 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-13 14:11:25 +09:00
Lee Salzman
425452c4a9 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
2dfbba0503 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
cf9ae0f680 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
Nicholas Nethercote
37a9035e51 Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj. 2015-05-12 17:33:26 -07:00
David Major
1b8c4a1820 Bug 1154703: Fix typo in nvdxgiwrap filename. r=jrmuizel 2015-05-12 19:04:46 -04:00
Kartikaya Gupta
ebead6cf18 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
e8a4761a89 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
f5b20efc23 Bug 1022080 - Add surface dumping for X11 basic textures. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
03c043742e Bug 1022080 - Make non-HTML dumping of textures work better. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
4557b30b05 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
22cd3fed82 Backed out changeset cff5c0c09e72 (bug 1056479) for widespread destruction on a CLOSED TREE 2015-05-12 12:22:01 +02:00
Carsten "Tomcat" Book
1a688b9aab Backed out changeset 8bd3335d77d2 (bug 1056479) 2015-05-12 12:21:20 +02:00
Carsten "Tomcat" Book
53653e896e Backed out changeset c72465a4c424 (bug 1056479) 2015-05-12 12:21:14 +02:00
Carsten "Tomcat" Book
75c678bdd3 Backed out changeset 1223b73d62dc (bug 1056479) 2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book
92f1f1edb3 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book
6f879dbbbf Backed out changeset f630169085c1 (bug 1056479) 2015-05-12 12:20:48 +02:00
Carsten "Tomcat" Book
5f809a915a Backed out changeset f18546e7f271 (bug 1056479) 2015-05-12 12:20:43 +02:00
Carsten "Tomcat" Book
8dbb6a6531 Backed out changeset a8fca346b1ff (bug 1056479) 2015-05-12 12:20:38 +02:00