Граф коммитов

5420 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 1b277a4288 Bug 1123527 - Fix syntax error when NS_COORD_IS_FLOAT is defined. r=dholbert.
cppcheck found this.

--HG--
extra : rebase_source : 6a83556a8baaa24546eeb28d35ad63f4ffd275bd
2015-01-21 19:23:28 -08:00
peter chang 1542486ff2 Bug 1113524 - Fix the crash at nsDeviceContext::FindScreen() because mScreenManager is nullptr. r=tn 2015-01-20 17:52:00 -05:00
Jonathan Kew e5ef938a64 Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu 2015-01-06 20:56:03 +00:00
Jonathan Kew b77ae133f8 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-12-22 16:35:54 +00:00
Jeff Muizelaar 20f3c3c33a Bug 1117869. Add move constructors and assignment operators for nsRegion. r=botond
This adds some efficiency around the usage of nsRegion.

--HG--
extra : rebase_source : d97569b4ba36cfb9ac25959f0634e18f60209809
2015-01-05 21:13:35 -05:00
Jonathan Kew a896eab424 Bug 1108616 - part 2 - Add an explicitLanguage field to gfxFontStyle, and pass it down from callers. r=dbaron 2014-12-23 12:50:10 +00:00
Ehsan Akhgari ca5c6ca575 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00
Karl Tomlinson 70ad9ee0ee bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : b78ffe7ffddf47a9646c1766626f48aed67ebb09
2014-11-10 15:47:55 +13:00
Karl Tomlinson 52e75f00f9 bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
--HG--
extra : rebase_source : d8fee82d9740fc0067d7b9a6e3d6d82fbbb85db0
2014-11-08 17:30:15 +13:00
Karl Tomlinson ed15675b8b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Wes Kocher 92049c1863 Backed out changeset 41ecbb9a5fac (bug 1092634) for reftest bustage 2014-11-18 17:21:08 -08:00
Markus Stange cacfe982d9 Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate an infinite output, which is then cropped to the primitive's filter primitive subregion by a subsequent crop filter node. This still gives us different behavior than other browser when the primitive subregion is overridden using the x/y/width/height attributes - other browsers either ignore those completely (IE) or only let them crop the default subregion (which is defined to be the same as the input subregion) and not enlargen it - but I'll fix that in a separate bug.
2014-11-18 17:21:19 -05:00
Karl Tomlinson a3ba9b4cb5 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson 4b1c0e2e81 bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson 2f7cdcc695 bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
--HG--
extra : rebase_source : ec70af284ea91d28e6f66b487c7a543a1d93c7cc
2014-11-08 17:30:15 +13:00
Karl Tomlinson 4b187d31fa bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Jonathan Watt 5767be9b18 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +00:00
stefanh@inbox.com 14f3e74c30 Bug 1085134 - Native theming for Mac OS X disclosure buttons, widget part. r=mstange, roc. 2014-11-01 17:13:27 +01:00
Jonathan Watt bf49eb7f25 Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Markus Stange defd3c048d Bug 1055634 - Propagate font smoothing background colors to layers. r=roc 2014-10-24 18:32:23 +02:00
Jonathan Watt 662ee62b6c Bug 1088625, part 4 - Remove the includes from nsRenderingContext.h that are no longer necessary 2014-10-24 16:43:42 +01:00
Jonathan Watt 4f23ebac06 Bug 1088625, part 3 - Remove nsRenderingContext's SetFont, FontMetrics and SetTextRunRTL methods now that no one uses them any more. r=mstange 2014-10-24 16:28:15 +01:00
Jonathan Watt 35505a8b96 Bug 1088599 - Move nsRenderingContext::GetBoundingMetrics to nsLayoutUtils. r=mstange 2014-10-24 16:28:14 +01:00
Jonathan Watt 08ae0a017c Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange 2014-10-24 16:28:13 +01:00
Jonathan Watt 2994c1b237 Bug 1088071, part 2 - Move the nsRenderingContext::DrawString code to nsLayoutUtils::DrawUniDirString. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt 11ce2774d2 Bug 1087982, part 3 - Get rid of the ASCII variants of nsRenderingContext::DrawString/GetWidth. r=jfkthame 2014-10-24 11:00:23 +01:00
Jonathan Watt 21b1d08170 Bug 1087982, part 2 - Get rid of the pass-char-by-value variant of nsRenderingContext::GetWidth. r=jfkthame 2014-10-24 11:00:22 +01:00
Jonathan Watt ca982b3f1b Bug 1087982, part 1 - Get rid of the useless null checks in nsRenderingContext::GetMaxChunkLength/GetWidth. r=jfkthame 2014-10-24 11:00:22 +01:00
Jonathan Watt e3bd1068b9 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Jonathan Watt 251f92b10b Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Jonathan Watt 884793d6d9 Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 54226509a1b16efdc76f92f202cc2be07cf43ab4
2014-10-20 10:55:48 +01:00
Jonathan Watt c972886b3e Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 70553292850517d695994c0a3422fab8ea0b760a
2014-10-20 10:55:48 +01:00
Jonathan Watt b8b833765e Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow 2014-10-19 13:22:22 +01:00
Jonathan Watt c6407bc7fb Bug 1083753, part 1 - Port the code that uses nsRenderingContext::FillRect(nscoord,...) to Moz2D. r=mattwoodrow 2014-10-19 11:55:36 +01:00
Jonathan Watt 5a3d8c69bd Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt 9f5596b76b Bug 1083597 - Port the code that uses nsRenderingContext::DrawRect() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Watt e20775a0d6 Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Watt a9c98517eb Bug 1083533 - Port the code that uses nsRenderingContext::SetClip() to Moz2D. r=mattwoodrow 2014-10-17 12:53:16 +01:00
Jonathan Watt 5de5850bc5 Bug 1083501 - Port the code that uses nsRenderingContext::SetLineStyle/nsLineStyle to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Jonathan Watt 953853c7bd Bug 1083221 - Port the code that uses nsRenderingContext::DrawEllipse/FillEllipse and gfxContext::Ellipse to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Jonathan Kew 4a06c41b0a Bug 1065002 pt 2 - Add an orientation field to nsFontMetrics. r=jdaggett 2014-09-30 07:38:35 +01:00
Jonathan Kew c5e1a54d59 Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett 2014-09-30 07:38:26 +01:00
Daniel Holbert ec62208fdf Bug 1073716: Use C++ std::abs() instead of C abs(), for non-'int'-typed values, to address clang warning. r=ehsan 2014-09-28 09:59:46 -07:00
John Daggett b0dafb656a Bug 998869 part 5 - lazily load userfonts (non-linux). r=jfkthame 2014-09-25 12:16:54 +09:00
John Daggett 291057d212 Bug 998869 part 4 - rename fontgroup methods. r=heycam 2014-09-25 12:16:54 +09:00
John Daggett 3570b54018 Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame 2014-09-25 12:16:53 +09:00
Markus Stange 3cefe14dd4 Bug 927892 - Use aDestPoint in dt->DrawFilter instead of a translation. r=Bas
--HG--
extra : rebase_source : 1a2e9d2ba45ddec8d8378c467f0eb39ea70f66a2
2014-09-23 17:47:20 -04:00
Markus Stange a6b7ec3dc1 Bug 927892 - Add a DrawOptions argument to FilterSupport::RenderFilterDescription. r=roc
--HG--
extra : rebase_source : e06775260cb822bfaa4be37baca30043a2eaa763
2014-09-23 17:44:50 -04:00
Markus Stange 5b1c77960e Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Jonathan Kew 50b0ff2a5d bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Max Vujovic 96f61369bf Bug 1066818 - Fix incorrect equation in hue-rotate matrix. r=mstange 2014-09-15 10:10:13 -07:00
Rik Cabanier 91998dcf59 Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz 2014-09-12 16:32:00 +02:00
Jonathan Watt 2a0767dbda Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt e7cd8ba247 Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt ab93c9d064 Bug 1064056, part 3 - Convert nsRenderingContext::Scale() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt 13482abf5a Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt 8220bc573c Bug 1064056, part 1 - Convert nsRenderingContext::AutoPushTranslation consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:09 +01:00
Jonathan Watt 4d1ad7ca3b Bug 1064087 - Remove nsRenderingContext::InvertRect(). r=Bas
--HG--
extra : rebase_source : 64ed4f9fa0e2e67aef00209dfc060dc9e87fc24a
2014-09-09 16:59:06 +01:00
Jonathan Watt 53f6bba616 Bug 1063853, part 2 - Move all nsRenderingContext user data to the wrapped Moz2D DrawTarget. r=Bas 2014-09-05 18:11:35 +01:00
Max Vujovic bfebdef8a4 Bug 1058756 - Use consistent values for luminance in FilterSupport.cpp. r=mstange,milan 2014-09-04 10:31:02 -07:00
Matt Woodrow 4bd1ef5a6a Bug 1059807 - Mark OSX printing surfaces as being write-only. r=roc
--HG--
extra : rebase_source : 99dfc5866c7a5c1294473b7d0e6a099916463b04
2014-09-03 14:40:42 +12:00
Arnaud Sourioux 507f505826 Bug 1040582 - Change nsLayoutUtils.cpp's MULDIV Macro to inline function in nsCoord.h. r=dholbert 2014-08-29 01:14:00 -04:00
Benoit Girard cf2697d0ae Bug 1058919 - Make regions and matrix printable. r=botond
--HG--
extra : rebase_source : d881d86afbba64ba989c66fe98de89ef0a381dba
2014-08-27 18:38:42 -04:00
Markus Stange c4de2026fb Bug 1051522 - Add -moz-appearance values -moz-mac-vibrancy-light and -moz-mac-vibrancy-dark for the behind-window vibrancy effect on 10.10. r=roc 2014-08-28 02:15:31 +02:00
Trevor Saunders fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Max Vujovic 83273ef37c Bug 948265 - Add CSS sepia filter to nsCSSFilterInstance. r=mstange 2014-08-21 10:17:12 -07:00
Markus Stange b88537eeb0 Bug 1055585 - Add nsITheme::NeedToClearBackgroundBehindWidget and create nsDisplayClearBackground if the theme needs it for a widget. r=roc 2014-08-20 17:26:11 +02:00
John Daggett 5ab27c310b Bug 1041951 - parse font-variant as a shorthand for font feature subproperties. r=dbaron 2014-08-20 16:54:25 +09:00
Ehsan Akhgari 93ec08d11c Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
Robert O'Callahan 861267f74f Bug 1043163. Avoid negative widths and heights due to overflow. r=mats
--HG--
extra : rebase_source : 62db3ad669f7a965672ea6bbab1b932c4a07040f
2014-08-06 17:19:23 +12:00
Max Vujovic ccfb7c4ac1 Bug 948265 - Add nsCSSFilterInstance with support for adding CSS blur filters to filter graphs. r=mstange 2014-08-06 10:48:47 -07:00
Ehsan Akhgari 252de863a5 Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
Max Vujovic b3d3bfdc11 Bug 948265 - Insert a Crop FilterNode if the original SourceGraphic surface size exceeds the filter region. r=mstange 2014-08-04 14:35:52 -07:00
Nathan Froyd 12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Kyle Machulis 02ad55af22 Bug 1045752 - Change ScopedXErrorHandler assert to warn; r=karlt 2014-07-30 17:30:19 -07:00
Max Vujovic 26438b6e9c Bug 948265 - Keep track of the filter region for each FilterPrimitiveDescription. r=mstange 2014-07-29 09:48:16 -07:00
Karl Tomlinson 54c40af7e1 b=1043772 assert ScopedXErrorHandler is used only on main thread r=nical
--HG--
extra : rebase_source : 737a78cabe0cb9a44786cd562cc1e34bafd7a2a0
2014-07-24 17:51:26 +12:00
Ed Morley e0c40e5472 Backed out changeset 3f9060993657 (bug 1042327) 2014-07-24 16:11:19 +01:00
Robert O'Callahan 5694ddab1c Bug 1042327. Use a more narrow workaround for pixman bug. r=jrmuizel
--HG--
extra : rebase_source : 4631ea06598c681a5729e225d4e2f495fbb2622b
2014-07-24 00:02:04 +12:00
Max Vujovic 2e1fdfe132 Bug 948265 - Support SourceAlpha keyword in SVG filter chains. r=mstange 2014-07-15 11:37:00 +02:00
Kartikaya Gupta d7d2ba5bc6 Bug 1040986 - Add a Contains(x,y) method to nsRegion. r=jrmuizel 2014-07-22 13:33:46 -04:00
Kartikaya Gupta 59831550c6 Bug 1040986 - Add AndWith/OrWith/XorWith/SubOut to nsRegion as well. r=jrmuizel 2014-07-22 13:32:32 -04:00
Kartikaya Gupta 56b080ced8 Bug 1040986 - Add some useful functions to nsIntRegion. r=jrmuizel 2014-07-22 09:07:52 -04:00
John Daggett 14c6cc4cc3 Bug 1024804 p1 - implement fallback for font-variant-position sub/superscript glyphs. r=jfkthame 2014-07-22 09:02:45 +09:00
Jeff Muizelaar c77f66ee40 Bug 1023473. Pad out tile contents by one pixel. r=BenWa
This fixes reading unitialized data during texture filtering.
It's complicated because we can have regions of initialized data
and padding out a region is much harder than a rectangle.

We currently only take this path for tiled things because of
the artifacts that show up during the sampling that helps
in overscroll. It's also not a great long term solution because
it only works for software backends.
2014-07-18 14:25:34 -04:00
Robert O'Callahan e3578f6893 Bug 1022612. Part 46: Work around pixman bug to make sure nsRegionRectIterator never returns an empty rect. r=mattwoodrow
--HG--
extra : rebase_source : c88f571a6f791c4ead93fc41f6d2b731ec8813f6
2014-07-19 14:30:08 +12:00
Carsten "Tomcat" Book ae1aef210b Backed out changeset b208f5144753 (bug 948265) for windows 7 debug Refest Crashes on a CLOSED TREE 2014-07-17 14:26:18 +02:00
Carsten "Tomcat" Book 3444f147ae Backed out changeset a5d4d7450d02 (bug 948265) 2014-07-17 14:25:48 +02:00
Max Vujovic 6fa2b606f3 Bug 948265 - Remove kPrimitiveIndexSourceAlpha since nsSVGFilterInstance creates ToAlpha filter nodes now. r=mstange 2014-07-15 11:50:00 +02:00
Max Vujovic ccc8811a9c Bug 948265 - Support SourceAlpha keyword in SVG filter chains. r=mstange 2014-07-15 11:37:00 +02:00
Mike Conley 5f892c8286 Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley 64b781e2f3 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley 78e56ed33a Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
John Daggett 1e79307a4f Bug 1029307 - use fixed subscript/superscript offset ratio instead of font metric values. r=heycam 2014-06-28 15:40:35 +09: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
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 360bdb42d9 Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04: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
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
Jonathan Kew e83684913c bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob c957e59732 Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Benoit Girard 99cc55b9f2 Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow
--HG--
extra : rebase_source : c48cc799414ff83b74caff8df5503a743dbf74b1
2014-06-14 11:10:45 -04:00
Jeff Muizelaar 42c9a9a428 Bug 1022059. Rewrite MergeRects in a saner, more like pixman style. r=mwoodrow
--HG--
extra : rebase_source : 8fdaf374b8757f33c7df8905a84ad1055a05a591
2014-06-13 23:16:13 -04:00
Mats Palmgren da55af8807 Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
Ehsan Akhgari 0d4e61e13c Bug 1022033 - Disable NS_lroundup30 on clang-cl; r=jrmuizel
This function contains inline assembly which clang-cl can't compile yet.
2014-06-06 20:13:48 -04:00
John Daggett 8259cc74f5 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
Jeff Muizelaar 4f0e7779e3 Bug 1018416. Add Transform method to nsRegion. r=BenWa
Replace the open coded version with one that avoids
allocation and is O(n*log(n)) instead of O(n*2)

--HG--
extra : rebase_source : 9d8de6089bc9fa74ba4b60c3eb3ccf3b3235ad54
2014-05-31 00:39:18 -04:00
L. David Baron 581f9bc30a Bug 989802 - Round viewport units to appunits using trunc rather than round so that repeated uses fit within a container. r=roc
viewport-units-rounding-1.html fails without the patch and passes with
the patch.

viewport-units-rounding-2.html fails with an early version of the patch
but not without the patch or with the final version.
2014-05-29 17:43:06 -07:00
Jonathan Kew 45a42995d1 bug 1015603 part 3 - add a smallCaps field to gfxFontStyle, and pass it through from layout when creating gfxFontStyle records. r=roc 2014-05-26 14:23:31 +01:00
Robert O'Callahan 7ed71d49d1 Bug 1006576. Set DISABLE_SNAPPING flag on all printing gfxContexts. r=mattwoodrow
--HG--
extra : rebase_source : 81253104ed611eebeb2518ec25f1fd480d872fff
2014-05-26 12:11:06 +12:00
Kyle Huey 8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Jeff Muizelaar 0014fc1ded Bug 1014654. Handle empty regions in SimplifyOutwardByArea(). 2014-05-22 12:36:32 -04:00
Birunthan Mohanathas 0e6f3a6562 Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan 2014-05-22 06:48:51 +03:00
Jeff Muizelaar abac769686 Bug 945079 - Add a way to simplify regions based on the change in volume. r=mattwoodrow 2014-05-06 16:39:34 -04:00
Jon Coppeard 1216544376 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Kyle Huey 384121563d Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Daniel Holbert 1e23ccace1 Bug 991285 part 2: Give nsRenderingContext a private destructor and mark it as MOZ_FINAL, for safer refcounting. r=roc 2014-04-15 12:55:24 -07:00
Daniel Holbert 265d0ea069 Bug 996326: Make nsDeviceContext::CreateRenderingContext() return its result directly, instead of using outparam. r=roc 2014-04-14 20:15:01 -07:00
Ryan VanderMeulen d3859c597c Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey 675439ca71 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
Kyle Huey 39e8ea0778 Back out bug 991812 for bustage on a CLOSED TREE. r=me 2014-04-08 17:26:33 -07:00
Kyle Huey d098e8c228 Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan 2014-04-08 16:37:05 -07:00
Bobby Holley ca041c08fd Bug 913138 - Shut down gfx at the end of layout shutdown. r=bsmedberg 2014-04-08 15:51:33 -07:00
Matt Woodrow 2a7484aa1d Bug 991767 - Use Moz2D for printing surfaces. r=roc 2014-04-07 16:07:12 +12:00
Matt Woodrow 3a3af835aa Bug 988309 - Add nsRenderingContext constructor for a DrawTarget. r=roc 2014-04-07 15:47:06 +12:00
Daniel Holbert b6bb05e33b Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob 2014-04-04 09:27:02 -07:00
Carsten "Tomcat" Book baf890e7e0 Backed out changeset 17941c43375f (bug 991575) for test failures like reftests and others 2014-04-04 12:36:43 +02:00
Jonathan Watt 2b13f3c0b0 Bug 991575 - Stop PresShell::GetReferenceRenderingContext from creating a Thebes backed gfxContext (Moz2D migration). r=mattwoodrow 2014-04-04 09:15:57 +01:00
Jonathan Kew b0f64ce1f9 bug 617008 - avoid creating a rendering context that we may not need. r=roc 2014-03-31 11:53:09 +01:00
Jonathan Watt 06a79a3b5a Bug 985470 - Replace the Moz2D Matrix().Translate() calls with Matrix::Translation() for better perf. r=mattwoodrow
--HG--
extra : rebase_source : 7181564bdaa57a970a256e9676857a7195874631
2014-03-22 07:56:11 +08:00
Markus Stange e7ded060a1 Bug 984761 - Allow setting the primitive type of FilterPrimitiveDescriptions after construction. r=roc 2014-03-20 10:12:45 +08:00
Markus Stange 17a4ded987 Bug 984761 - IPDL serialization for AttributeMap. r=roc 2014-03-20 10:12:45 +08:00
Markus Stange a475acd29a Bug 984761 - Add AttributeMap::EnumerateRead. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange 861553a99e Bug 984761 - Add FilterPrimitiveDescription::operator==. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange 019447d65a Bug 984761 - Add AttributeMap::operator==. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange 0325da67ee Bug 984761 - Add FilterAttribute::operator==. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange e7a60b7bd1 Bug 984761 - IPDL serialization for the filter attribute name enum. r=bjacob 2014-03-20 10:12:44 +08:00
Markus Stange ba7d5b6851 Bug 984761 - IPDL serialization for the ColorSpace enum. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange 0837b9905e Bug 984761 - Use a typed enum for ColorSpace and AlphaModel. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange f8a92c33b8 Bug 984761 - Use a typed enum for filter primitive types. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange 0479c44b6a Bug 984761 - Use a typed enum for attribute types. r=bjacob 2014-03-20 10:12:42 +08:00
Markus Stange fe68ec6bbd Bug 983236 - Initialize FilterPrimitiveDescription::mOutputColorSpace. r=roc 2014-03-20 10:12:41 +08:00
Matt Woodrow 0cb3a2793a Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Matt Woodrow 0304720ba9 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00