Commit Graph

1312 Commits

Author SHA1 Message Date
Andreas Pehrson
937d313731 Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas 2015-06-10 19:01:00 +08:00
Andrew Comminos
e5218dd641 Bug 1167356 - Handle return value of DataSourceSurface::Map wherever possible. r=Bas 2015-06-11 13:06:23 -04:00
Lee Salzman
d82d0cc788 Bug 1171454 - Workaround for Cairo's source operator with alpha handling. r=jrmuizel 2015-06-05 15:30:13 -04:00
David Major
51da5504ff Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso 2015-06-09 16:48:59 -04:00
Lee Salzman
1454c21f59 Bug 1169609 - Avoid all-zero patterns that would trigger the CAIRO_STATUS_INVALID_DASH error state. r=jmuizelaar 2015-06-01 18:02:10 -04:00
Eric Rahm
29f00ac208 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
243447023a Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm
f3d0db1203 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Lee Salzman
d1f35d1246 Bug 1167026 - Avoid division by zero when flattening a bezier curve segment with equal control points. r=bas 2015-06-02 10:47:15 -04:00
Carsten "Tomcat" Book
e2f82674b8 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Kyle
9c222f8082 Bug 1166585 - Check for CreateFilter() call returning NULL. r=mstange 2015-05-28 14:50:15 -04:00
Kearwood (Kip) Gilbert
6f8a93c4cc Bug 766345 - Part 2 - Implement Matrix4x4::TransformAndClipRect (v2 Patch). r=vladimir
- Implemented Matrix4x4::TransformAndClipRect, which emulates
the frustum clipping behavior of the GPU.
2015-04-29 14:25:47 -07:00
Eric Rahm
18bd3de863 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
ef5ac6fa3d Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Eric Rahm
dca9287933 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Wes Kocher
bd796581dc Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
ae32743ed2 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
db180ff7c4 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Eric Rahm
aa2c33e0cf Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Kyle
6743a4f5ef Bug 1169039 - Check for NULL in every function that uses CreateEffect(). r=mstange 2015-05-28 15:46:16 -04:00
Tom Klein
253194c595 Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar 2015-05-30 16:07:48 +01:00
Bas Schouten
b919761dbb Bug 1153609: Push layers for cleartype when trying to draw cleartype glyphs to a transparent layer. r=jrmuizel
This patch lets us repush all layers with their backgrounds copied when drawing subpixel AA'ed text to a transparent surface. This can be wasteful since the last layer that was pushed could already have had its pixels where the glyphs will be drawn made opaque, however we have no way of knowing this so we have to always repush the layers.
2015-05-29 14:49:19 +02:00
Jeff Muizelaar
f8a6b0ef50 Bug 1160335. Make DrawTargetCG's transform handling better. r=mstange
This let's us avoid depending on Save() and Restore() to have the
right transform at the right time.
2015-04-30 17:53:25 -04:00
Jonathan Watt
708e1d7afe Bug 1168427 - Add a PostScale method to Moz2D's Matrix class. r=Bas 2015-05-14 16:47:20 +01:00
Carsten "Tomcat" Book
812e81198d Backed out changeset af2af798ad8f (bug 1165710) for OS X 10.6 crashes 2015-05-26 09:00:19 +02:00
Carsten "Tomcat" Book
62b555d465 Backed out changeset 45998275f423 (bug 857895) 2015-05-26 08:59:47 +02:00
Matt Woodrow
e377b5714e Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Matt Woodrow
39c7059712 Bug 1165710 - Make DrawTargetSkia own its snapshot instead of the other way around. r=gw280 2015-05-26 15:10:25 +12:00
Heiher
c961df76a1 Bug 1157065- GFX: 2D: Implement AlphaBoxBlur in LS3 MMI. r=jrmuizel
* AlphaBoxBlur::BoxBlur
2015-04-21 19:08:00 -04:00
Heiher
419d14ab68 Bug 1157065 - GFX: 2D: Implement skia::Convolve in LS3 MMI. r=jrmuizel
* skia::ConvolveVertically
* skia:ConvolveHorizontally
* skia:ConvolveHorizontally4
2015-04-21 19:07:00 -04:00
Heiher
462b509fa8 Bug 1157065 - GFX: 2D: Add Loongson3 MMI helpers. r=jrmuizel 2015-04-21 18:36:00 -04:00
Jeff Muizelaar
ae6471ea81 Bug 1166879. Avoid uninitialized read in FlattenBezier. r=mstange
We only want to read from t2 if count is equal to 2.
Reordering this condition makes that true.
2015-05-20 16:01:23 -04:00
Nathan Froyd
f61c010661 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Nathan Froyd
e970b7431b Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel 2015-04-30 15:20:30 -04:00
Lee Salzman
e51eba069d Bug 1166584 - Always export HelpersCairo.h. r=jrmuizel 2015-05-20 12:48:31 -04:00
Carsten "Tomcat" Book
4ac13379e8 Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE 2015-05-20 16:12:33 +02:00
Tom Klein
32a0475bae Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2015-05-20 11:44:05 +01:00
Eric Rahm
c5e63515bf Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Jacek Caban
5a1602109d Bug 1161642 - Cross compilation fixup. 2015-05-19 11:12:55 +02:00
Matt Woodrow
eeabd51fbe Backout e01d80922187 (Bug 857895) for causing crashes 2015-05-19 10:50:41 +12:00
Mason Chang
b850cf42ab Backout bug 1162824 to backout bug 1155828. r=me 2015-05-18 08:29:40 -07:00
Jonathan Watt
42079dcb39 Bug 1165900 - Make MaybeSnapToDevicePixels return a boolean to indicate whether snapping occurred. r=Bas 2015-05-06 14:43:56 +01:00
Jonathan Watt
f2f7105cc3 Bug 1165896 - Fix the argument naming of MaybeSnapToDevicePixels to match UserToDevicePixelSnapped. r=Bas 2015-05-06 14:40:26 +01:00
Andrew Comminos
b7a8694ac6 Bug 1161642 - Utilize primitive blends where available for faster blending on D2D 1.1. r=bas 2015-05-11 08:47:00 -04:00
Kartikaya Gupta
c3928827ef Bug 1165407 - Properly flush the log stream after logging it. r=botond 2015-05-16 09:11:04 -04:00
Mason Chang
3c178fe9a8 Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange 2015-05-15 10:52:44 -07:00
Ehsan Akhgari
123f153e5a Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Markus Stange
9d5ef679af Bug 1162726 - Make RoundedToInt() snap the rect properly. r=roc 2015-05-07 14:25:06 -04:00
Markus Stange
84fcaf91ef Bug 1160789 - Make DrawTargetSkia support subpixel antialiasing for text. r=jrmuizel 2015-05-04 13:23:54 -04:00
Matt Woodrow
6719119889 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00