Commit Graph

16222 Commits

Author SHA1 Message Date
Jeff Muizelaar
107a563dc7 Bug 1026596. Add ellipse to bezier helper and use it from SVG. r=bas
This is faster and more accurate. Specifically, the old code
would produce non-monontic segments which was causing rasterization
differences with skia
2014-06-26 16:42:12 -04:00
Jeff Muizelaar
79b9bee6a7 Bug 1025133. Be more consistent about rounding colors with the skia backend. r=mwoodrow
--HG--
rename : toolkit/devtools/discovery/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : 2db3c43532a30db90326c3903d8fe5c96d077d97
2014-06-18 10:16:30 -04:00
Jonathan Watt
a328efc6da Backed out changeset a7ea536288e0 (bug 1031267) for bustage.. 2014-06-27 16:58:36 +01:00
Jan Beich
fb8faeda05 Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt 2014-06-27 16:29:17 +01:00
Jonathan Kew
28268f14ed bug 1030067 - ignore the principal when caching data-URI fonts, to allow sharing across pages with the same CSS. r=bzbarsky 2014-06-27 16:19:28 +01:00
Carsten "Tomcat" Book
7d5c310dad Merge mozilla-central to mozilla-inbound 2014-06-27 15:51:09 +02:00
Carsten "Tomcat" Book
2f01b9ad61 merge mozilla-inbound to mozilla-central a=merge 2014-06-27 15:34:28 +02:00
Sotaro Ikeda
e17cd37863 Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar 2014-06-27 06:26:51 -07:00
Kartikaya Gupta
abe4af6deb Bug 1030221 - Make sure to clear overscroll if we cancel a fling. r=drs 2014-06-26 18:49:11 -04:00
Kartikaya Gupta
9a0452ea47 Bug 1030221 - Move animation Sample functions into the class definition. r=drs 2014-06-26 18:49:11 -04:00
Kartikaya Gupta
57b791cdc7 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Sotaro Ikeda
00dfb9fb42 Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical 2014-06-17 09:41:00 +02:00
Jonathan Watt
29353d8391 Bug 1031079 - Get rid of the Thebes backed gfxContexts in gfxASurface, removing gfxASurface::WriteAsPNG_internal and its consumers. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
0a412a04d6 Bug 1031055 - Get rid of the Thebes backed gfxContexts in FrameLayerBuilder.cpp, and get rid of gfxASurface::DumpAsDataURL. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
deb2077580 Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
90194127fd Bug 1030843 - Fix crash in nsNativeThemeCocoa::GetMinimumWidgetSize. r=roc 2014-06-27 10:19:00 +01:00
Jonathan Watt
4ab67ab728 Bug 1028794 - Remove the Thebes backed gfxContext creating version of nsRenderingContext::Init() (Moz2D conversion). r=Bas 2014-06-27 10:18:54 +01:00
Jonathan Watt
cbbdebfce8 Bug 1030894 - Stop abusing nsAutoPtr in gfxFT2FontList.cpp. r=jfkthame 2014-06-27 10:17:50 +01:00
Jonathan Watt
11950fdff5 Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
George Wright
0cb446b854 Bug 974900 - Add unified sources support to the mozbuild gyp generator for Skia, and regenerate the Skia build files with unified sources r=snorp 2014-03-12 01:06:29 -04:00
Carsten "Tomcat" Book
8e86bf906b Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Carsten "Tomcat" Book
12e04d45a1 merge mozilla-inbound to mozilla-central a=merge
--HG--
extra : amend_source : 8afac23e33906916e7e6297e2307417e09fa27ae
2014-06-26 14:11:00 +02:00
Wes Kocher
0482a2f425 Merge m-c to b2g-inbound a=merge 2014-06-25 18:41:59 -07:00
Kartikaya Gupta
cb116c4bd1 Bug 1030181 - Share code for dealing with WidgetTouchEvent and MultiTouchInput. r=drs r=smaug 2014-06-25 20:11:20 -04:00
Kartikaya Gupta
1a38e90937 Bug 1023506 - Don't fill the background color for overscrolled scrollinfo layers. r=mattwoodrow 2014-06-25 19:18:33 -04:00
kylma
fa8357c97b Bug 1001582 - HasScrollgrab transitioned from private to public member, getter/setter added. r=kats 2014-06-25 19:16:27 -04:00
Kartikaya Gupta
2b6f358c9a Bug 1027309 - When switching to a new APZC for a touch input block, cancel state in the old APZC. r=drs 2014-06-25 19:13:59 -04:00
Kartikaya Gupta
f82c9482ec Bug 1027309 - Ensure we build the overscroll handoff chain based on the APZC receiving input. r=drs 2014-06-25 19:13:53 -04:00
Kartikaya Gupta
330c220f31 Bug 1027309 - Add some more logging in APZ code. r=drs 2014-06-25 19:13:26 -04:00
George Wright
996becc0c4 Bug 1028996 - Remove patches directory in Skia and clarify commit procedure r=snorp 2014-06-23 13:28:12 -04:00
Markus Stange
05bc7e1458 Bug 987497 - Force buggy drivers to pick up the TexturePass2 uniform change. r=bjacob
--HG--
extra : rebase_source : 8784c1240c5e538d95608e10a7b161b4373037cb
2014-06-26 14:40:11 +02:00
Markus Stange
9cc4d44872 Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow
* * *
Bug 1024473 - Fix the test. CLOSED TREE

--HG--
extra : rebase_source : ec81f6281d1651bbf1f2a1574bc6fd1a54dbdcf1
2014-06-25 10:37:58 +02:00
Markus Stange
76bee9f7aa Bug 1018522 - Move the call to ShadowLayersUpdated before EndTransaction so that EndTransaction can pick up layer tree changes caused by ShadowLayersUpdated. r=mattwoodrow
--HG--
extra : rebase_source : 640af9f3ef2488e8bf10315787a7ed389771568e
2014-06-26 14:40:10 +02:00
Gijs Kruitbosch
69b99988f1 Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas 2014-06-25 16:12:32 +01:00
Walter Litwinczyk
96d1e15fd8 Bug 1004374 - Removed Moz2D usage of deprecated skia api: SK_SUPPORT_LEGACY_LAYERRASTERIZER_API. r=gw280 2014-06-20 11:47:27 -07:00
Rik Cabanier
cab684d975 Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Gijs Kruitbosch
793f6d8a10 Bug 1030090 - tests shouldn't destroy gfxPrefs, r=bjacob 2014-06-25 15:09:02 +01:00
Ed Morley
e982a42374 Backed out changeset 73c6b1fcd058 (bug 1024473) 2014-06-25 17:12:39 +01:00
Sotaro Ikeda
5e4b56bf52 Bug 1028532 - Remove Fence::merge() on gonk r=jmuizelaar 2014-06-25 06:13:34 -07:00
Carsten "Tomcat" Book
007d9b5cee Backed out changeset f1afdcec1927 (bug 1025553) for bustage on a CLOSED TREE 2014-06-25 14:21:34 +02:00
Jonathan Watt
abbc718b0c Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
James Kitchener
be2f9aa5ca Bug 1018234 - Reference count fontFaces r=jfkthame 2014-06-25 10:12:31 +01:00
Markus Stange
08933cb25a Bug 1024473 - Update canvas mask layer even when nothing in the canvas changed. r=mattwoodrow 2014-06-25 10:37:58 +02:00
Benoit Jacob
bbe96eeda6 Bug 1029673 - Correctly report OMTC compositing in crash reports - r=Bas 2014-06-24 22:09:14 -04:00
Mats Palmgren
3e13115cf3 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Sotaro Ikeda
3feadaf7d6 Bug 1022205 - disable sync fence on AdrenoTM200 r=jgilbert 2014-06-24 08:59:59 -07:00
Jonathan Watt
e8bd2a53a8 Bug 1029211 - Get rid of a couple more Thebes backed gfxContexts by using gfxUtils::ClearThebesSurface instead. r=mattwoodrow
--HG--
extra : rebase_source : cc75965e0ba908b84a592e337af0429ddb9cc846
2014-06-24 10:02:10 +01:00
Brian Birtles
6bc9caf270 Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron
--HG--
rename : layout/style/nsStyleAnimation.cpp => layout/style/StyleAnimationValue.cpp
rename : layout/style/nsStyleAnimation.h => layout/style/StyleAnimationValue.h
2014-06-24 15:29:54 +09:00
Brian Birtles
65c7f861cb Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.

Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Kartikaya Gupta
d23f6e9b7c Bug 1024126 - Fix rounding errors and add a danger zone to the B2G AboutToCheckerboard heuristic function. r=Cwiiis 2014-06-23 20:54:32 -04:00
Jonathan Watt
2320b28101 Bug 1028786, part 2 - Get rid of the Thebes backed gfxContext in gfxPlatformGtk.cpp. r=mattwoodrow
--HG--
extra : rebase_source : 2920a2b3d862180a15d5a037741744ea5766b5b1
2014-06-23 23:48:59 +01:00
Jonathan Watt
8e7356e992 Bug 1028786, part 1 - Add a gfxUtils::ClearThebesSurface() helper method. r=mattwoodrow
--HG--
extra : rebase_source : 524ffe6d276ea9b51cf01d534f65c9b74b32b950
2014-06-23 23:48:58 +01:00
David Burns
9d6b77b2b5 Bug 1024642: Add in rebeccapurple to color lists in gfx; r=dbaron 2014-06-23 10:24:17 +01:00
David Burns
faf23bff44 Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron 2014-06-23 10:24:16 +01:00
Benoit Jacob
7784d25921 Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review 2014-06-23 14:49:09 -04:00
Benoit Jacob
360bdb42d9 Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Kartikaya Gupta
baf58c16c3 Back out bug 1021248 for causing bug 1028271. r=backout 2014-06-23 14:38:02 -04:00
Walter Litwinczyk
8da3a57ada Bug 1004376 - Remove reliance on legacy skia apis GETTOTALCLIP. r=gw280 2014-06-20 11:03:09 -07:00
Ehsan Akhgari
61c162bda7 Bug 1028944 follow-up: remove the #ifdef altogether 2014-06-23 10:23:30 -07:00
Ehsan Akhgari
bbd358cafc Bug 1028944 - Use nscore.h SEH wrapper macros in gfxWindowsPlatform.cpp; r=jrmuizel 2014-06-23 09:04:22 -07:00
Kartikaya Gupta
1cfb0fc6fc Bug 1020778 - Reduce opacity of low-res buffer on B2G by half when compositing it to the screen. r=jrmuizel 2014-06-23 12:00:18 -04:00
Benoit Jacob
79aa0bb737 Remove unused static variable that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:53:51 -04:00
Benoit Jacob
2ed5b733e4 Remove unused static function that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:50:43 -04:00
zhoubcfan
0d75074051 Bug 891709 - Fix build bustage in gfx/2d/Factory.cpp when Skia is disabled. r=gw280 2014-05-03 04:13:00 -04:00
Geoff Brown
99eba27f48 Bug 456899 - Avoid assertion "forgot to short-circuit a text run with zero-sized font?"; r=jfkthame 2014-06-23 08:35:52 -06:00
Kartikaya Gupta
bf09173096 Bug 1021085 - Miscellaneous cleanup. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
ecb4d78559 Bug 1021085 - Use the entire compositor-side composition bounds as the coherent update rect on B2G. r=Cwiiis r=BenWa 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
e1ac0ad31b Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
2fd9c31921 Bug 1021085 - Remove unnecessary transform stored on the paint data. r=Cwiiis 2014-06-23 08:42:48 -04:00
Kartikaya Gupta
db651f9da8 Bug 1021085 - Inflate the painted rect a bit to deal with rounding error. r=Cwiiis 2014-06-23 08:42:19 -04:00
Kartikaya Gupta
048e27ce05 Bug 1021085 - Fix up the transform used for the compositor side composition bounds. r=Cwiiis 2014-06-23 08:42:01 -04:00
Kartikaya Gupta
62898fc03d Bug 1021085 - Refactor code to ensure we use the same scrolling ancestor layer everywhere. r=Cwiiis 2014-06-23 08:41:09 -04:00
Mason Chang
4c76cc6e53 Bug 990832 - Build a tool to visualize frame uniformity. r=mchang, benwa. 2014-06-19 09:33:00 +02:00
Jonathan Watt
8954b72140 Bug 1025537 - Stop using gfxImageSurface in gfxBlur and gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-06-26 08:40:12 +01:00
Jonathan Watt
9207dbc8c0 Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
John Daggett
f62927140f Bug 961558 - remove smallCaps from gfxFontStyle. r=jfkthame 2014-06-23 12:09:17 +09:00
John Daggett
b69e91abce Bug 961558 - add fallback support for font-variant-caps values. r=jfkthame 2014-06-23 12:09:16 +09:00
Matt Woodrow
d02a3cce38 Bug 1025896 - Null check generated blur surface. r=Bas 2014-06-18 13:36:30 +12:00
Sasha Fydrich
514fc57d28 Bug 1020439 - Call cairo_surface_destroy in GetCairoSurfaceForSourceSurface in case of failure. r=bas 2014-06-22 11:10:07 -07:00
Jonathan Kew
f6d68883a9 bug 1028134 - Remove dangerous public destructor of gfxContext. r=bjacob 2014-06-22 13:28:12 +01:00
Cgg
fcef028f85 Bug 783043 - Restore original image factory after paint operations. r=nical
---
 gfx/layers/ImageContainer.h          |    5 +++++
 gfx/layers/basic/BasicImageLayer.cpp |    7 +++++++
 2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Nicolas Silva
8fea345008 Bug 783043 - Backed out changeset 29bc4fa125d9 (commit message). r=me 2014-06-21 19:51:07 +02:00
Cgg
8e2f872bc0 From d5e66ff9f47b4bbd59808c75ede6e30ad35a5cd4 Mon Sep 17 00:00:00 2001
Bug 783043 - Restore original image factory after paint operations. r=nical
---
 gfx/layers/ImageContainer.h          |    5 +++++
 gfx/layers/basic/BasicImageLayer.cpp |    7 +++++++
 2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Sotaro Ikeda
1ad1ef7739 Bug 1026580 - Remove an infinite loop possibility from AsyncTransactionTracker::WaitComplete() r=nical 2014-06-21 08:30:30 -07:00
Sotaro Ikeda
fb71c96b76 Bug 1025781 - Remove unnecessary gfx::SourceSurface r=nical 2014-06-21 05:15:41 -07:00
Mike Hommey
771aac012a Bug 1027448 - Fix building gfxSurfaceRefCountTest.cpp with system cairo. r=mshal 2014-06-20 17:32:41 +09:00
Mike Hommey
d03ef9ad72 Bug 1027000 - Allow binary compatibility with libpixman versions between 0.19.2 and 0.25.2 when building against system libpixman. r=jrmuizel 2014-06-20 17:31:58 +09:00
Jonathan Watt
ef224664db Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Brian Birtles
5bb2caab0a Bug 1025709 part 1 - Move mDelay to AnimationTiming; r=heycam
This patch is the first part in preparing the way to merge ElementTransitions
with CommonElementAnimationData (which we'll eventually rename to something
nicer).

Here we move mTiming from CommonElementAnimationData to the AnimationTiming
struct. While this is not strictly necessary in order to do the later
refactoring it makes it simpler since it:

- Divides time calculation into calculation based on dynamic play state (the
  responsibility of animation players in Web Animations terms) and static
  author-specified timing parameters (a property of animations in Web Animations
  terms).
- In future we will probably put animations on the compositor during their
  delay phase so we will want the delay to be present in the AnimationTiming
  struct then.
- Makes AnimationTiming line up with the dictionary of the same name in Web
  Animations.
2014-06-20 12:39:23 +09:00
Sotaro Ikeda
0555dff07f Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Benoit Girard
19effe56b7 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Jonathan Watt
8d7ccbd531 Bug 1027763, part 3 - Remove the old DrawTarget::GetType() method. r=Bas 2014-06-19 21:35:34 +01:00
Jonathan Watt
6586dcffb2 Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Jonathan Watt
28a408b329 Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas 2014-06-19 21:35:33 +01:00
Benoit Girard
eb79d62834 Bug 1027794 - Don't copy the visible region when rendering. r=bjacob 2014-06-19 16:14:46 -04:00
Kartikaya Gupta
a5f5cdda10 Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-19 09:27:32 -04:00
Kartikaya Gupta
bdf06b794e Bug 1026756 - Detect when a scroll offset update is going to remove checkerboarding, and don't leave things in a low-precision state. r=Cwiiis 2014-06-19 09:27:31 -04:00
Nicolas Silva
ec00b3a785 Bug 1027365 - Activate ImageBridge by default when OMTC on. r=sotaro 2014-06-19 11:45:19 +02:00
Jonathan Kew
e1b7eb2df1 bug 871453 - part 3 - support font-synthesis options through the fontconfig backend. r=jdaggett 2014-06-19 08:09:00 +01:00
Jonathan Kew
288baa3a79 bug 871453 - part 2 - support font-synthesis options through the platform-font-list backends. r=jdaggett 2014-06-19 08:08:58 +01:00