Commit Graph

19199 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
f21bf9d148 Backed out changeset 1223b73d62dc (bug 1056479) 2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book
11670ea513 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book
9b062ed880 Backed out changeset f630169085c1 (bug 1056479) 2015-05-12 12:20:48 +02:00
Carsten "Tomcat" Book
8516c22d7a Backed out changeset f18546e7f271 (bug 1056479) 2015-05-12 12:20:43 +02:00
Carsten "Tomcat" Book
ccb3c8002c Backed out changeset a8fca346b1ff (bug 1056479) 2015-05-12 12:20:38 +02:00
Carsten "Tomcat" Book
196e2623c1 Backed out changeset b858d2530520 (bug 1056479) 2015-05-12 12:20:33 +02:00
John Daggett
dbe1d515c9 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-12 17:44:39 +09:00
John Daggett
da543844cd Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-12 17:44:35 +09:00
John Daggett
e1d5d14bde Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-12 17:44:32 +09:00
John Daggett
bc2095e1d1 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-12 17:44:30 +09:00
John Daggett
197c2170e0 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 17:44:20 +09:00
John Daggett
da0662d19f 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-12 17:44:16 +09:00
John Daggett
ad666ceddb Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-12 17:44:13 +09:00
John Daggett
57707b75bd Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-12 17:44:10 +09:00
John Daggett
7ea3422db0 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-12 17:44:03 +09:00
Dan Glastonbury
666876115e Bug 1147447 - Enable STL wrapping for libGLESv2 and libEGL. r=jmuizelaar r=glandium 2015-04-28 20:41:00 +02:00
Carsten "Tomcat" Book
1cc8234416 Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
214929420b Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-12 14:51:17 +09:00
John Daggett
379251e079 Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-12 14:51:17 +09:00
John Daggett
e3e96e9fa9 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
a92a57e31e Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
f2d632a4ef 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-12 14:51:17 +09:00
John Daggett
e87a424836 Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-12 14:51:17 +09:00
John Daggett
6386b5b827 Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
8564ab9f19 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-12 14:51:17 +09:00
David Anderson
8a9daf3775 Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Timothy Nikkel
943736bd0c Bug 1163259. Make sure we don't look at the parent ref layer when looking for a layer with the frame metrics for a scrollbar. r=kats
The ref layer comes from the parent process, and hence a different scrollid space. If the scrollid on it's metrics happen to match a scrollbar from the child process we have a problem.
2015-05-12 00:13:04 -05:00
Phil Ringnalda
0080559c75 Back out 4f682f01262e (bug 857895) for widespread destruction
CLOSED TREE
2015-05-11 19:53:28 -07:00
Matt Woodrow
df87b4ccca Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Kartikaya Gupta
bbd234182a Bug 1161634 - Enable the test_wheel_scroll on Linux as well. r=mstange 2015-05-11 17:21:37 -04:00
Paul Rouget
4ca5b03bc0 Bug 1161407 - Only check for IsMultiProcessWindow on non-B2G & non-Android platforms. r=kats 2015-05-11 14:59:07 -04:00
Jonathan Kew
d9a2e331d5 Bug 1161900 - Use ICU normalization support during shaping if available, to support decomposable characters in more recently-encoded scripts. r=jdaggett,gps 2015-05-11 19:57:28 +01:00
Carsten "Tomcat" Book
4bb7f96375 Backed out changeset 41c408a2662e (bug 857895) for bustage on a CLOSED TREE 2015-05-11 10:28:56 +02:00
Matt Woodrow
a8b275cbb0 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
--HG--
extra : rebase_source : f94b65530bfb40298ed6ea1f22d607b0fc8b464f
2013-04-09 16:51:44 +12:00
Jonathan Kew
218a52280a Bug 1157758 - Update harfbuzz to pick up fix for vertical-upright Arabic script (non-)shaping behavior; now at upstream commit f724cc351640ee075a9867ef42df32cf5e0ef3b7. r=jdaggett 2015-05-11 06:58:21 +01:00
Nicholas Nethercote
0323a0a1b5 Backout c375efe78e07 (bug 1161377 part 3) for (probably) increasing the static constructor count and regressing Fennec start-up time. r=me. 2015-05-10 22:16:18 -07:00
Matt Woodrow
7724ed31a5 Bug 1158089 - Remove LAYERS_D3D10 enum value since it's unused. r=Bas 2015-05-11 16:22:51 +12:00
Eric Rahm
67b91ff53a Bug 1162748 - Remove instances of #ifdef PR_LOGGING in graphics. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-08 14:37:01 -07:00
Bas Schouten
94df2831d0 Bug 1162587 - Part 2: Abort painting a painted layer when a device reset has ocurred. r=jrmuizel 2015-05-08 23:12:32 +02:00
Bas Schouten
e0869bb7e2 Bug 1162587 - Part 1: Ensure consistent reporting of device reset until reinitialization. r=jrmuizel 2015-05-08 23:12:32 +02:00
Kartikaya Gupta
8e6dbbf17c Bug 1161592 - If we don't get a target frame from the touch point try using the root scrollable frame. r=botond 2015-05-08 13:51:35 -04:00
Geoff Brown
b5f94612ad Bug 1140459 - Skip IsRenderbuffer assertions on Android emulator; r=jgilbert 2015-05-07 18:49:14 -06:00
Nicholas Nethercote
17348fdef0 Bug 1161377 (part 3) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
2015-05-04 22:59:24 -07:00
Kartikaya Gupta
cae6c92627 Bug 1160566 - Change some return values to be reference-to-const. r=botond 2015-05-07 14:44:03 -04:00
Kartikaya Gupta
e237a366e0 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Sotaro Ikeda
e2d6f1ea99 Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical 2015-05-07 06:53:47 -07:00
Thibaud Backenstrass
0e5d0b5e17 Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical 2015-05-07 11:08:01 +02:00
Thibaud Backenstrass
f8d4cbad76 Bug 1158122 - Remove the remaining occurences of nsIntRect in gfx/layers. r=nical 2015-05-07 11:07:53 +02:00
Thibaud Backenstrass
05de9cdb1b Bug 1158122 - Remove all occurences of nsIntRect in gfx/layers/client. r=nical 2015-05-07 11:07:47 +02:00
Thibaud Backenstrass
e7f689e91b Bug 1158122 - Remove all occurences of nsIntRect in gfx/layers/composite. r=nical 2015-05-07 11:07:42 +02:00
Thibaud Backenstrass
5e604392a5 Bug 1158122 - Remove some occurences of nsIntRect in gfx/layers/. r=nical 2015-05-07 11:07:35 +02:00
Thibaud Backenstrass
983ced23c9 Bug 1158122 - Remove all occurences of nsIntRect in gfx/thebes/. r=nical 2015-05-07 11:07:31 +02:00
Thibaud Backenstrass
0c924a370b Bug 1158122 - Remove all occurences of nsIntRect in gfx/gl/. r=nical 2015-05-07 11:07:27 +02:00
Thibaud Backenstrass
83ce7b3e5c Bug 1158122 - Remove all occurences of nsIntRect in gfx/ipc/. r=nical 2015-05-07 11:07:23 +02:00
Phil Ringnalda
24bb7f3b9f Back out dc2fed1aa0af (bug 1144906) for ASan, Android debug, and OS X 10.10 mochitest-gl bustage
CLOSED TREE
2015-05-06 19:55:40 -07:00
Bas Schouten
041fe2073a Bug 1161815: Use a single ID2D1SolidColorBrush per DrawTarget. r=jrmuizel 2015-05-07 02:38:10 +02:00
Jeff Gilbert
b0077b976e Bug 1144906 - Fast WebGL on E10S. - r=mattwoodrow,nical 2015-05-06 16:35:29 -07:00
Kartikaya Gupta
85f09c0ea6 Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander 2015-05-06 19:15:10 -04:00
Wes Kocher
b6f7abf05b Backed out changeset 93af6e2a390d (bug 1144906) for build bustage 2015-05-06 16:01:47 -07:00
Jeff Gilbert
587246e6fd Bug 1144906 - Support fast WebGL on E10S. - r=mattwoodrow,nical 2015-05-06 13:48:28 -07:00
Seth Fowler
f87898e570 Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Thibaud Backenstrass
249510d0c0 Bug 1158122 - Remove some of the occurences of nsIntRect in gfx. r=nical 2015-05-06 17:26:36 +02:00
Ryan VanderMeulen
37e75ba5e6 Backed out changesets 230adc57e016 and 61bd6e2c6e72 (bug 1072898) for reftest failures.
CLOSED TREE
2015-05-06 11:27:32 -04:00
Carsten "Tomcat" Book
5568f37fd2 Backed out changeset 7141b7088a89 (bug 1161634) 2015-05-06 17:06:46 +02:00
Kearwood (Kip) Gilbert
6db1d2f93f Bug 1072898: Part 1 - Correct rendering of layers that are both in front and behind the w=0 plane. r=mattwoodrow
- The BasicCompositor now transforms vertices prior to rendering in Skia, using
  a function that clips against frustum clipping planes in homogenous
  coordinate space.
2015-04-21 16:57:18 -07:00
Kartikaya Gupta
05c5790ec1 Bug 1161634 - Enable the test_wheel_scroll on Linux as well. r=mstange 2015-05-06 08:36:54 -04:00
Diego Wilson
92d756f23f Bug 1160689 - thumbnail image corruption on certain videos. r=sotaro
--HG--
extra : rebase_source : b66097c2e54dcc17a0f8b6e6c527ae68c304d41b
2015-05-04 15:14:34 -07:00
Daniel Holbert
3899eae2cc Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Kartikaya Gupta
6180ee95a1 Bug 1161206 - Add a scrolling test with native mousewheel event synthesization. r=mstange 2015-05-05 14:45:11 -04:00
Thibaud Backenstrass
f8fc65a155 Bug 1157661 - Fix a null-check in CompositorOGL::DrawQuad. r=nical 2015-05-05 18:31:41 +02:00
Kartikaya Gupta
ad505c6fa4 Bug 1161040 - Add some assertions to guard against infinite loops in the handoff chains. r=botond 2015-05-05 08:36:52 -04:00
Ethan Lin
b6a9cb595a Bug 1053563 - Use a static create function to replace InitWith for TextureClient. r=nical 2015-04-29 19:34:00 +02:00
Nicolas Silva
66177fae1c Bug 1155649 - XFlush at the end of frames when OMTC is enabled on Linux. r=jrmuizel 2015-05-04 12:35:18 +02:00
Wes Kocher
b492021bca Merge m-c to inbound a=merge 2015-05-01 17:23:32 -07:00
Ryan VanderMeulen
d6155ddbf6 Merge m-c to fx-team. a=merge 2015-05-01 13:00:21 -04:00
Danilo Cesar Lemes de Paula
8b923d9267 Bug 1156401 - Fix ContextMenu handling when building Fennec with C++ APZ. r=kats, r=botond
This commit deals with the situation where there's no scrollable element
on a fennec's page. It uses the Top Most root element (Xul viewport)
instead.

So this fixes the situation when the tap/click was not being send to the
correct dom element.
2015-04-30 06:09:00 -04:00
Danilo Cesar Lemes de Paula
77c310ada6 Bug 1156401 - Fix painting when building fennec with apzc. r=kats, r=botond
Since SetFirstPaintViewport wasn't being called on
Fennec with APZ, none of the painted content was being displayed.
2015-04-30 06:08:00 -04:00
Botond Ballo
eec478ee63 Bug 1152051 - Gtest. r=Cwiiis,kats
--HG--
extra : source : b95b31b9f8dd13a6dc325b0647c8a301f5372d60
extra : intermediate-source : 71b8bc97a60421cb46c744adb7dfb3246c1c16eb
2015-04-29 19:38:02 -04:00
Botond Ballo
bd33808124 Bug 1152051 - Ensure that destroying an overscroll animation always clears the state Axis tracks about it. r=Cwiiis
--HG--
extra : source : efa549fdff2231af8e4212c95bd100f0f0bf0ec4
2015-04-29 18:54:10 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Sotaro Ikeda
fb70b24e9f Bug 1156981 - Split CompositorParent's scheduling of composition to CompositorScheduler r=mchang 2015-04-30 11:35:13 -07:00
Kartikaya Gupta
a839cee2fc Bug 1148350 - Add a test. r=botond 2015-04-30 14:30:38 -04:00
Kartikaya Gupta
87abd92743 Bug 1148350 - Have ConvertToGecko use a live screen-to-apzc transform to avoid transform mismatches. r=botond 2015-04-30 14:30:38 -04:00
Kartikaya Gupta
03de57ce9a Bug 1159455 - Fix assorted debugging strings in APZ code. r=botond 2015-04-30 14:30:37 -04:00
Brian Birtles
a606228cd8 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
b05d97c166 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffectReadonly.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffectReadonly.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffectReadonly.webidl
2015-04-30 13:15:04 +02:00
Milan Sreckovic
34e8325bd4 Bug 1158430 - A small construct to allow only sending errors and warnings once per statement. r=botond
--HG--
extra : rebase_source : 20b527b735dccf7e5cbc8bb9d40b360f2706bbb8
2015-04-27 14:44:13 -04:00
Brian Birtles
4fb166f6b2 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
--HG--
rename : dom/animation/AnimationEffectReadonly.cpp => dom/animation/AnimationEffectReadOnly.cpp
rename : dom/animation/AnimationEffectReadonly.h => dom/animation/AnimationEffectReadOnly.h
rename : dom/webidl/AnimationEffectReadonly.webidl => dom/webidl/AnimationEffectReadOnly.webidl
extra : rebase_source : 5fb31684bf494a57e208d0cfbbc76f65b502fc0e
2015-04-28 10:16:45 +09:00
Bas Schouten
f80640ea50 Bug 1116812 - Consider DXGI_ERROR_INVALID_CALL a recoverable error for IDXGISwapChain::GetBuffer. r=jrmuizel 2015-04-29 09:19:00 -04:00
Kartikaya Gupta
bdf3a1b564 Bug 1013412 - End wheel transactions as soon as possible if content is doing a prevent-default. r=dvander 2015-05-01 13:29:44 -04:00
Milan Sreckovic
cf369566e9 Bug 1160157: Part 1. Uninitialized statics aren't really uninitialized, but it doesn't read well. r=jmuizelaar 2015-05-01 13:26:38 -04:00
Botond Ballo
1b108ac0db Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats
--HG--
extra : source : a993f4ed89d7aa36f1c48b85810319374f7bf671
2015-04-23 01:25:00 -04:00
Kartikaya Gupta
0cdf242407 Bug 1158933 - Replace the compositedHeight/scrollableHeight (and width) term with the adjusted scrollThumbRatio. r=botond 2015-04-29 07:22:27 -04:00
Kartikaya Gupta
0d34f1455a Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond 2015-04-29 07:22:27 -04:00
Kartikaya Gupta
ca4c4fda69 Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn 2015-04-29 07:22:27 -04:00
Kartikaya Gupta
dc74cd2fb0 Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander 2015-04-29 07:22:27 -04:00
David Anderson
37a8896bd6 Fix APZ scroll wheel animations often prematurely ending on the first frame. (bug 1157409, r=kats)
--HG--
extra : rebase_source : e66326c8fe42c4c5de3c0f66ca751db0e76c4735
2015-04-28 11:01:04 -07:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Milan Sreckovic
476a1225bf Bug 1158340 - Refactor RedistributeDisplayPortExcess. r=kats 2015-04-27 12:06:11 -04:00
Milan Sreckovic
1266c84e30 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
Jeff Muizelaar
11a6c75829 Bug 1154703. Avoid using WARP if nvdxgiwrapper.dll is around.
It seems to cause trouble and isn't really trustworthy.

--HG--
extra : rebase_source : 2e749651c39f45124b45372f3dcf880ab28e288a
2015-04-24 17:16:46 -04:00
dc9ccc6c1d Bug 1151749 - "Win-Only: Disabled Hardware Acceleration + CSS 3D transform on canvas -> black artefacts on hover". r=nical
--HG--
extra : rebase_source : dd951364914eb22de13bfbe4b45e5b974528c705
2015-04-07 06:33:00 +02:00
Jonathan Kew
cdd4e7ba24 Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu 2015-04-27 09:45:55 +01:00
Ehsan Akhgari
44d9235ca5 Bug 1158542 - Remove TextureImage::mImageFormat; r=jrmuizel
This is never initialized or accessed.
2015-04-25 18:39:05 -04:00
Ehsan Akhgari
af6c85ac45 Bug 1158541 - Remove TiledTextureImage::mSize; r=jrmuizel
This member is never initialized to anything so it always contains a (0,0)
size, and it shadows the protected mSize member in the base class which is
actually initialized to the correct size.
2015-04-25 18:38:54 -04:00
Timothy Nikkel
499081808b Bug 1157066. When reading back the OMTA transfrom of a layer don't include transforms from async panning or zooming. r=kats,birtles
Containerless scrolling means that the pan zoom controller applies it's transforms (to compensate for differences between the state of layout the last time we painted and the current state as composited to the screen) to the layers that are scrolled instead of the container layer that contains the layers that scroll.

When running test_animations_omta.html there is a zoom of 1.306122 applied, and the page is scrolled down to 67 screen pixels (before the test starts, not sure why exactly). Gecko scrolls as close to 67 screen pixels as it can: 67/1.306122 = 51.29689 css pixels, which is 3077.813 appunits. Gecko scrolls to 3078 app units. When AsyncCompositionManager::TransformScrollableLayer runs we calculate the scroll position of gecko and the current scroll position that the pan zoom controller is using. Since there are no async pan or zoom operations taking place these should match. However when the gecko scroll position is calculated we get 3078/60*1.306122 = 67.0040586. So it applies a transform of 0.0040586 to the container layer for the transform that test_animations_omta.html is animating off main thread. When test_animations_omta.html reads the transform of this layer it fails because it's expecting 0 and 0.0040586 is outside of it's epsilon for considering it to be close enough.
2015-04-24 19:05:52 -05:00
Wes Kocher
936a2fdf3f Backed out changeset 517b9b831685 (bug 1157066) for build bustage 2015-04-24 14:56:55 -07:00
Timothy Nikkel
e488294393 Bug 1157066. When reading back the OMTA transfrom of a layer don't include transforms from async panning or zooming. r=kats,birtles
Containerless scrolling means that the pan zoom controller applies it's transforms (to compensate for differences between the state of layout the last time we painted and the current state as composited to the screen) to the layers that are scrolled instead of the container layer that contains the layers that scroll.

When running test_animations_omta.html there is a zoom of 1.306122 applied, and the page is scrolled down to 67 screen pixels (before the test starts, not sure why exactly). Gecko scrolls as close to 67 screen pixels as it can: 67/1.306122 = 51.29689 css pixels, which is 3077.813 appunits. Gecko scrolls to 3078 app units. When AsyncCompositionManager::TransformScrollableLayer runs we calculate the scroll position of gecko and the current scroll position that the pan zoom controller is using. Since there are no async pan or zoom operations taking place these should match. However when the gecko scroll position is calculated we get 3078/60*1.306122 = 67.0040586. So it applies a transform of 0.0040586 to the container layer for the transform that test_animations_omta.html is animating off main thread. When test_animations_omta.html reads the transform of this layer it fails because it's expecting 0 and 0.0040586 is outside of it's epsilon for considering it to be close enough.
2015-04-24 16:41:56 -05:00
Milan Sreckovic
698d695b89 Bug 1156058 - Null pointer check. r=jgilbert
--HG--
extra : rebase_source : a54cee6a3ce6c8fd64cbfacd86fb470de738ee52
2015-04-24 11:21:26 -07:00
Andrew McCreight
0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Bas Schouten
7f7ef584ca Bug 1143806: Tolerate timeouts occurring if a device driver is in the process of resetting. r=jrmuizel 2015-04-24 17:09:42 +02:00
Xidorn Quan
ff400fb4a5 Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
--HG--
extra : source : 4766d98091b93c120d41a5118406d82a38d9ff62
2015-04-24 10:15:32 +12:00
Kartikaya Gupta
8c32c330bc Bug 1157327 follow-up to add a comment. r=me and DONTBUILD 2015-04-23 15:18:22 -04:00
Kartikaya Gupta
d56fb0e2aa Bug 1157327 - Don't cull out container layers, because their prepared data might be null and cause crashes. r=nical 2015-04-23 15:15:11 -04:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
L. David Baron
20dd52e0ad Bug 1157455 patch 2 - Send angles (in CSS transform functions) to the compositor thread with their units rather than sending all such angles in radians. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:12 -07:00
Geoff Brown
e0c20bfe1b Bug 1150668 - Assume EXT_texture_format_BGRA8888 supported on Android emulator; r=jgilbert 2015-04-23 08:09:35 -06:00
Sotaro Ikeda
5879b59690 Bug 1152370 part 3 - Use DisplaySurface r=mwu 2015-04-23 06:49:40 -07:00
Nicolas Silva
998752462f Bug 1157629 - Fix uninitialized member warning in BufferAlphaColor. r=jdaggett 2015-04-23 15:14:13 +02:00
Carsten "Tomcat" Book
d7660b2db1 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book
bab9dbe9c4 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)

--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Botond Ballo
10652e0e0c Bug 1151663 - Fix test bustage caused by incorrect mochitest.ini file, on a CLOSED TREE. r=bustage 2015-04-23 00:58:52 -04:00
Nick Fitzgerald
21c2d145e3 Bug 1024774 - Part 0: Upgrade the protobuf library. r=mmc,glandium
--HG--
rename : toolkit/components/protobuf/google/protobuf/extension_set.cc => toolkit/components/protobuf/src/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/google/protobuf/extension_set.h => toolkit/components/protobuf/src/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/google/protobuf/generated_message_util.cc => toolkit/components/protobuf/src/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/google/protobuf/generated_message_util.h => toolkit/components/protobuf/src/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/google/protobuf/io/package_info.h => toolkit/components/protobuf/src/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc => toolkit/components/protobuf/src/google/protobuf/io/strtod.h
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc => toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/google/protobuf/message_lite.cc => toolkit/components/protobuf/src/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/google/protobuf/message_lite.h => toolkit/components/protobuf/src/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/google/protobuf/package_info.h => toolkit/components/protobuf/src/google/protobuf/package_info.h
rename : toolkit/components/protobuf/google/protobuf/generated_message_util.h => toolkit/components/protobuf/src/google/protobuf/reflection_ops.h
rename : toolkit/components/protobuf/google/protobuf/repeated_field.cc => toolkit/components/protobuf/src/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/google/protobuf/repeated_field.h => toolkit/components/protobuf/src/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc => toolkit/components/protobuf/src/google/protobuf/service.cc
rename : toolkit/components/protobuf/google/protobuf/generated_message_util.cc => toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h
rename : toolkit/components/protobuf/google/protobuf/stubs/common.cc => toolkit/components/protobuf/src/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/google/protobuf/stubs/common.h => toolkit/components/protobuf/src/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/google/protobuf/stubs/hash.h => toolkit/components/protobuf/src/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/google/protobuf/stubs/once.cc => toolkit/components/protobuf/src/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/google/protobuf/stubs/once.h => toolkit/components/protobuf/src/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h => toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h
rename : toolkit/components/protobuf/google/protobuf/generated_message_util.h => toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h
rename : toolkit/components/protobuf/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h
2015-04-22 11:09:54 -07:00
Kartikaya Gupta
5fe99131cc Bug 1134385 follow-up - fix link to image in documentation. DONTBUILD because NPOTB. r=me 2015-04-22 11:54:37 -04:00
Steve Singer
4a748bd766 Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
--HG--
extra : rebase_source : 6c6e1664973547b6131a5f5410bb0eec9afd750d
2015-04-18 19:44:00 +02:00
Nicolas Silva
c883352e91 Bug 1155252 * -WError fix 2015-04-22 12:37:56 +02:00
Nicolas Silva
38812b5661 Bug 1155252 - Add a pref to control the maximum canvas 2d size and set it to 0x7ff. r=jrmuizel 2015-04-22 12:06:53 +02:00
Nicolas Silva
6a32ce3434 Bug 1155626 - Don't assume that Factory::GetD2D1Device returns a non-null device and add some gfxCriticalLog. r=Bas 2015-04-22 12:02:01 +02:00
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Wes Kocher
78060d2f53 Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE 2015-04-21 14:23:56 -07:00
Ehsan Akhgari
3f4737e49a 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-04-21 16:24:41 -04:00
Markus Stange
b7970d33e8 Bug 1154347 - Don't set -fomit-frame-pointer on all of skia. r=glandium, r=gw280
--HG--
extra : rebase_source : cdc5b1362119d68c29e7a8182f2ed88db9abb122
2015-04-21 13:57:57 -04:00
Nicolas Silva
e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Kartikaya Gupta
96eba4649d Back out cset 1a68731ea592 (bug 1145295) because the crash it was attempting to shed more light on seems to have gone away. r=me 2015-04-21 10:19:16 -04:00
Lee Salzman
7b567ad457 Bug 1156536 - "BaseMargin<T>::Side casts enum SideT to T and adds to pointer". r=jmuizelaar 2015-04-20 15:35:00 +02:00
Brian Birtles
52dd19f8a0 Bug 1148949 - Apply async properties when querying the animated transform for cross-process compositor parents too; r=mattwoodrow
Bug 1113425 (specifically, part 2:
https://hg.mozilla.org/mozilla-central/rev/bb3866dea03e) introduced a fix for
a race condition that occurs when querying the animated transform of a layer.
However, that fix failed to update CrossProcessCompositorParent and hence the
issue still arises when e10s is enabled.

This patch applies the fix from that bug to CrossProcessCompositorParent.
2015-04-21 12:00:33 +09:00
Milan Sreckovic
62b9185477 Bug 1153724 - Only assert if the size was reasonable to start. r=mchang
--HG--
extra : rebase_source : eabc5cc3d3b749b7afd4fdf689c7a36a7231ce2f
2015-04-13 17:07:01 -04:00
L. David Baron
026c5518c7 Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
Without the patch, the addition to property_database.js leads to
failures related to the "0.0" and "0" values in
layout/style/test/test_value_computation.html .
2015-04-20 23:10:40 -07:00
Dan Glastonbury
cc538e0a09 Bug 1048724 - Look up glBindTransformFeedback symbol. r=jgilbert 2015-04-21 12:33:29 +10:00
Brian Birtles
5c7929fd2a Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.

--HG--
rename : dom/animation/AnimationPlayer.cpp => dom/animation/Animation.cpp
rename : dom/animation/AnimationPlayer.h => dom/animation/Animation.h
rename : dom/webidl/AnimationPlayer.webidl => dom/webidl/Animation.webidl
2015-04-21 10:22:09 +09:00
Jeff Gilbert
7aa0b18d60 Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad 2015-04-20 17:49:25 -07:00
Mason Chang
48393980ae Bug 1134385. Silk documentation. r=kats 2015-04-20 17:28:25 -07:00
Kartikaya Gupta
761a73e844 Bug 1146024 - Followup to fix non-android bustage on a CLOSED TREE. r=bustage 2015-04-20 16:25:52 -04:00
Danilo Cesar Lemes de Paula
d7e8379673 Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Nicolas Silva
c76f9a219d Bug 1155252 - Don't allocate X11TextureClients bigger than xlib's maximum surface size. r=jrmuizel 2015-04-20 15:53:42 +02:00
Dan Glastonbury
a4450450e6 Bug 1147752 - Keep typedefs consistent. r=jgilbert 2015-04-20 16:51:28 +10:00
Dan Glastonbury
024ef37958 Bug 1048745 - Query GL for glGetUniformuiv function. r=jgilbert 2015-04-20 12:29:29 +10:00
Ehsan Akhgari
101e6ccc62 Bug 1155881 follow-up: Make gfxAndroidPlatform::SupportsApzTouchInput const 2015-04-19 17:34:09 -04:00
Botond Ballo
899a1634f6 Bug 1152479 - In C++ APZ code, use nsContentUtils rather than nsIDOMWindowUtils to send key and mouse events. r=kats
--HG--
extra : source : c989db3f7a0a41682429a0febfa8c51f2bb99e7f
2015-04-15 03:09:46 -04:00
David Anderson
da020904ab Show APZ wheel support in about:support on Mac OS X. (bug 1155881, r=mstange)
--HG--
extra : rebase_source : 5fdf05418fd70e4a13f17afcf8ca8cc43c5d61d9
2015-04-19 16:12:14 -04:00
David Anderson
b63f22721a When APZ is enabled, only apply the root scroll delta override to root frames. (bug 1155800, r=kats) 2015-04-19 09:30:39 -04:00
Ehsan Akhgari
486776b743 Remove an extra assignment from gfxSparseBitSet::TestRange, no bug 2015-04-18 20:25:36 -04:00
Ryan VanderMeulen
dd1120e715 Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen
86aee22968 Merge inbound to m-c. a=merge
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Sotaro Ikeda
053aaa45c3 Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
eba45dcee4 Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure 2015-04-17 12:04:55 +02:00
Ethan Lin
d9d154877e Bug 1146214 - Rename some functions after refactoring. r=nical 2015-04-10 02:21:00 +02:00
Ethan Lin
1142d9f968 Bug 1146214 - Remove the unused code after refactoring. r=nical 2015-04-10 02:20:00 +02:00
Ethan Lin
a837628695 Bug 1146214 - Implement fence delivery. Combine ipc messages and remove reply fence delivery message. r=nical 2015-04-10 02:19:00 +02:00
Ethan Lin
ffe96d98c7 Bug 1146214 - Combine FenceHandle and FenceHandleFromChild. r=nical 2015-04-10 02:16:00 +02:00
Ethan Lin
b8ca526d2a Bug 1146214 - Remove unused set fence functions. r=nical 2015-04-10 02:12:00 +02:00
Sotaro Ikeda
7078be3faa Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-16 18:15:26 -07:00
Cameron McCormack
84ff03514a Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron 2015-04-17 11:09:59 +10:00
Milan Sreckovic
5a513b1351 Bug 1154003 - More protection for failed surface drawable creation. r=bas 2015-04-15 15:04:38 -04:00
nsilva@mozilla.com
1a180846c2 Bug 1151713 - Initialize the layers prefs earlier. r=jrmuizel 2015-04-16 11:55:36 -04:00
Ryan VanderMeulen
c8c9a859ef Merge m-c to b2g-inbound. a=merge 2015-04-16 16:22:42 -04:00
Jeremy Chen
8061736c42 Bug 1152263 - Ensure Matrix4x4::ProjectRectBounds being functional for Rect with zero width/height. r=mattwoodrow 2015-04-13 03:10:00 -04:00
Ryan VanderMeulen
3ebfa611d7 Merge m-c to inbound. a=merge
IGNORE IDL

--HG--
extra : amend_source : 778e98f1365079cf61c444c6e9b3114e069c5b7b
2015-04-15 15:15:32 -04:00
Ryan VanderMeulen
bda75266f8 Merge inbound to m-c. a=merge 2015-04-15 14:52:15 -04:00
David Anderson
2b209e0cb6 Fix wheel events being misrouted in APZ-less widgets when APZ is enabled. (bug 1154734, r=kats)
--HG--
extra : rebase_source : 264f089cb888d806cfaf4bee93b0a5cd0e65c477
2015-04-15 12:28:47 -04:00
Kartikaya Gupta
aec78d5467 Bug 1154614 - Don't try to pick up the same non-reentrant lock twice. r=dvander a=RyanVM 2015-04-15 12:49:28 -04:00
Carsten "Tomcat" Book
40ae721556 merge mozilla-inbound to mozilla-central a=merge 2015-04-15 14:28:05 +02:00
Botond Ballo
80b5170af7 Bug 1152479 - Do not use layout-related nsIDOMWindowUtils APIs from C++ APZ code. r=kats
--HG--
extra : rebase_source : 8fb4f75e5e50a1e29424d03b5c18236846a698df
extra : source : d017af70470603f970fde91c1515757e57e2d8ba
2015-04-14 16:44:59 -04:00
Botond Ballo
148a784118 Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan
--HG--
extra : rebase_source : 175254c3f78cd06bf72e2a25da12eff7a174f87e
extra : source : 0bf92001a2f715b5c20aefc039c30e926b9789c0
2015-04-14 13:19:10 -04:00
Botond Ballo
c1f47599d8 Bug 1153711 - Do not discard a component of a fling if an APZC further in the handoff chain has room to scroll in that direction. r=kats
--HG--
extra : rebase_source : 5907e2817bc2ad6ae920e737a15dc12be13c2eae
2015-04-15 12:38:26 -04:00