Andrew Comminos
8f3a42c617
Bug 1177807 - Mark cairo surface dirty in ReleaseBits. r=jrmuizel
2015-06-26 11:34:00 +02:00
Mason Chang
b1a0212509
Bug 1162824
- Change box shadow cache to cache the colored blurred box shadow. r=mstange
2015-06-25 12:04:21 -07:00
Lee Salzman
3fe9408260
Bug 1033375 - Nudge simple linear gradients with hard stops to half-pixel gradient. r=nical
2015-06-23 20:50:36 -04:00
Markus Stange
8f3e1c59d9
Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc
...
--HG--
extra : rebase_source : e044d64a50c6afff9e518cf53c51aa9658f3b41e
2015-06-15 19:20:59 -04:00
Milan Sreckovic
78ffa8b527
Bug 1176052 - Introduce gfxCriticalNote. r=jmuizelaar
2015-06-18 12:59:00 +02:00
Jeff Muizelaar
e78c6f3884
Bug 1175286. Remove unnecessary CGContextSave/Restore pair from ClearRect.
...
--HG--
extra : rebase_source : a4bbc99cbab0d7afacc9056eafd541c5f17c48da
2015-06-16 17:11:42 -04:00
Jonathan Watt
2958a6824c
Bug 1172964 - Fix iteration bug in CopyBGRXSurfaceDataToPackedBGRArray. r=jrmuizel
...
--HG--
extra : rebase_source : 1ed22e9ef27e749eb8f476c6b54e8bada94e945c
2015-06-01 17:20:52 +01:00
Matt Woodrow
5925a945d1
Bug 1173983 - Use R8 textures for d3d11 alpha textures since it appears to be better supported. r=Bas
2015-06-15 12:30:34 -04:00
Andreas Pehrson
d3659f3dbd
Bug 1169126 - Part 1: Make DrawTargetCG::CopySurface able to handle all SourceSurface types. r=gw280
...
--HG--
extra : rebase_source : b8288de3b9731249205203e5bca2abc356b8eb78
2015-06-11 10:57:29 +08:00
Andrew Comminos
bc95798c00
Bug 1169370 - Mark tree Cairo surface dirty after borrow. r=jrmuizel
...
--HG--
extra : rebase_source : 3e9d5349a0218a60ff2178aeec42741028427824
2015-06-10 12:16:00 -04:00
Kyle Fung
da2704a55c
Bug 1160070 - Used BitmapBrush instead of ImageBrush when no sampling bounds. r=bas
2015-06-12 17:28:25 -04:00
Chris Peterson
0f79aeadea
Bug 1174383 - Fix bogus gfx/2d debug assertions that have side effects. r=Bas
2015-06-12 22:19:54 -07:00
Andreas Pehrson
f9165d38d7
Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas
...
--HG--
extra : rebase_source : aebb45613926c64355e5b193bc79166cf04292be
2015-06-10 19:01:00 +08:00
Andrew Comminos
1013161996
Bug 1167356
- Handle return value of DataSourceSurface::Map wherever possible. r=Bas
...
--HG--
extra : rebase_source : fe4fcb9c3a89e2573e6fde423ed8d96f31e00f14
2015-06-11 13:06:23 -04:00
Lee Salzman
cb8cec408b
Bug 1171454 - Workaround for Cairo's source operator with alpha handling. r=jrmuizel
...
--HG--
extra : rebase_source : 12d68416660935bf2072a898c903f29b80c39107
2015-06-05 15:30:13 -04:00
David Major
eb73e64e7c
Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso
2015-06-09 16:48:59 -04:00
Lee Salzman
1d435054f1
Bug 1169609 - Avoid all-zero patterns that would trigger the CAIRO_STATUS_INVALID_DASH error state. r=jmuizelaar
...
--HG--
extra : rebase_source : 35a276d5f908c4b108f1b9f8738c31b32b6c34e0
2015-06-01 18:02:10 -04:00
Eric Rahm
75c4bebb79
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
cc58068318
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
f50b813989
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-03 15:22:28 -07:00
Lee Salzman
a7374fd8b1
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
5471309381
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)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Kyle
14ae9baf5b
Bug 1166585 - Check for CreateFilter() call returning NULL. r=mstange
...
--HG--
extra : rebase_source : 2db6788d408638c4e8210752429c9360e8d9e35c
2015-05-28 14:50:15 -04:00
Kearwood (Kip) Gilbert
8371055034
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
a9afd68cef
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
28978ade8c
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
141e0ff4a2
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Wes Kocher
4e9f80ed2e
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
f82c0e7caf
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
0a502beb23
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
dc090e3fe5
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Kyle
94680dca36
Bug 1169039 - Check for NULL in every function that uses CreateEffect(). r=mstange
...
--HG--
extra : rebase_source : 02344878f7761aeaf6c0a6d6deafe38b41193248
2015-05-28 15:46:16 -04:00
Tom Klein
21241a6bbf
Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar
2015-05-30 16:07:48 +01:00
Bas Schouten
ea9a0a76af
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
15772d6387
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.
--HG--
extra : rebase_source : 81a64c70683d4b91b519fcb5eb8296ffa3e61e2a
2015-04-30 17:53:25 -04:00
Jonathan Watt
d4fbb52a81
Bug 1168427 - Add a PostScale method to Moz2D's Matrix class. r=Bas
2015-05-14 16:47:20 +01:00
Carsten "Tomcat" Book
6838712a26
Backed out changeset af2af798ad8f (bug 1165710) for OS X 10.6 crashes
2015-05-26 09:00:19 +02:00
Carsten "Tomcat" Book
c468515673
Backed out changeset 45998275f423 (bug 857895)
2015-05-26 08:59:47 +02:00
Matt Woodrow
90b9016810
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
...
--HG--
extra : rebase_source : ae761425a6409a147f6e3492c30ac43452108750
2013-04-09 16:51:44 +12:00
Matt Woodrow
1dada312ad
Bug 1165710 - Make DrawTargetSkia own its snapshot instead of the other way around. r=gw280
...
--HG--
extra : rebase_source : 3183fae0715d29a6ebc6eaa5f649a222cc0d4470
2015-05-26 15:10:25 +12:00
Heiher
454c80f550
Bug 1157065- GFX: 2D: Implement AlphaBoxBlur in LS3 MMI. r=jrmuizel
...
* AlphaBoxBlur::BoxBlur
2015-04-21 19:08:00 -04:00
Heiher
8ec99c7845
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
b295a8bb7f
Bug 1157065 - GFX: 2D: Add Loongson3 MMI helpers. r=jrmuizel
2015-04-21 18:36:00 -04:00
Jeff Muizelaar
7710685272
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.
--HG--
extra : rebase_source : f83b2a0f2c99f0b4061f877326fe54cdc31fa3f0
2015-05-20 16:01:23 -04:00
Nathan Froyd
db188ea282
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
c24f5f4e7c
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
6cde204207
Bug 1166584 - Always export HelpersCairo.h. r=jrmuizel
2015-05-20 12:48:31 -04:00
Carsten "Tomcat" Book
dfe75f9228
Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE
2015-05-20 16:12:33 +02:00
Tom Klein
a8e5f7cc4f
Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas
2015-05-20 11:44:05 +01:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Jacek Caban
12ce7666ca
Bug 1161642 - Cross compilation fixup.
...
--HG--
extra : rebase_source : bbc320d004ea887b6d00d0eeac57f16b715ef216
2015-05-19 11:12:55 +02:00
Matt Woodrow
9b0ee77669
Backout e01d80922187 (Bug 857895) for causing crashes
...
--HG--
extra : rebase_source : d014633fc9d5965fcae6b24a5171809edf7840ed
2015-05-19 10:50:41 +12: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
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
Kartikaya Gupta
2664a8f777
Bug 1165407 - Properly flush the log stream after logging it. r=botond
2015-05-16 09:11:04 -04: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
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
Matt Woodrow
51ff272372
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
2013-04-09 16:51:44 +12:00
Lee Salzman
e38cad0b37
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09: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
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
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
041fe2073a
Bug 1161815: Use a single ID2D1SolidColorBrush per DrawTarget. r=jrmuizel
2015-05-07 02:38:10 +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
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
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
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
Bas Schouten
d1703bc5b7
Bug 1151821: Make globalCompositeOperator work correctly when a complex clip is pushed. r=jrmuizel
2015-04-10 07:09:31 +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
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
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
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
Ying-Ruei Liang (KK)
f17daf9c2a
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Markus Stange
ac9d8fb8d7
Bug 1152838 - Fix BaseRect::InflateToMultiple and move it to nsIntRect. r=mattwoodrow, r=jrmuizel
...
--HG--
extra : rebase_source : 71717edbccf311c7f9101e7a9fccd5901406fe10
2015-04-09 15:49:25 -04:00
Carsten "Tomcat" Book
ee1f87921b
Backed out changeset 1610ee9ba5d8 (bug 1151821) for m1 test failures
2015-04-10 11:12:51 +02:00
Bas Schouten
05e322c6f7
Bug 1151821: Make globalCompositeOperator work correctly when a complex clip is pushed. r=jrmuizel
2015-04-10 07:09:31 +02:00
Markus Stange
b0398aca4b
Bug 1151145 - Add assertions to detect unbalanced calls to CGContextSaveGState / CGContextRestoreGState. r=jrmuizel
...
--HG--
extra : rebase_source : d5f12fa26ec4524ec798704f3851c47215a79f31
2015-04-04 18:12:12 -04:00
Markus Stange
4355f36a4c
Bug 1151145 - Make sure we don't call CGContextSaveGState without calling CGContextRestoreGState in DrawTargetCG::StrokeRect. r=jrmuizel
...
--HG--
extra : rebase_source : 53f0bda2090715492c8f0a55fa83d21e47f5b41a
2015-04-04 18:06:35 -04:00
Vladimir Vukicevic
9a93b6f1a0
Bug 1148009; [webvr] Add Quaternion class to Moz2D; r=jrmuizel
2015-04-01 16:02:20 -04:00
Mike Hommey
c39e359c7d
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Seth Fowler
39007175b4
Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn
2015-03-26 15:39:47 -07:00
Trevor Saunders
d5851ef31c
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Kearwood (Kip) Gilbert
f97c17593c
Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
...
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
so we don't have to return infinite values when rects cross the w=0 plane
in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
appropriate for the units that are returned.
--HG--
extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
2015-03-13 16:42:00 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nicolas Silva
08a5fef1fc
Bug 1144147 - Warning fix in DrawTargetCairo.cpp. r=jrmuizel
2015-03-17 16:53:46 +01:00
Botond Ballo
d3aed336d6
Bug 1139675 - Add a couple of operator overloads to BaseSize. r=kats
...
--HG--
extra : rebase_source : 83dc92abae4c970b93d9d6f6841392a6530d560d
extra : source : 2d49fc7c82c580e115bfcca8709582a7a9abda6b
2015-03-06 18:07:30 -05:00
Botond Ballo
8bd1b37f87
Bug 1036967 - Remove ScaleFactor::ScaleFactor(float, float). r=kats
...
--HG--
extra : rebase_source : abc44e25950cae78d0f1954d16f7f0c8f32884f1
extra : source : 33b3897e212ba2e5029ad283639a48dc6d23b4d6
2015-03-02 18:56:45 -05:00
Botond Ballo
4f5da1dd25
Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
...
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Nicolas Silva
0863d3f6fa
Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas
2015-03-12 19:40:06 +01:00
Milan Sreckovic
76dd5cd892
Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange
2015-03-09 15:48:20 -04:00
James Willcox
b0021dc8e1
Bug 1117338 - Blow up if we can't convert a cairo format to a gfx one r=milan
2015-03-09 08:35:11 -05:00
Milan Sreckovic
d7bdeff12f
Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange
2015-03-05 16:38:23 -05:00
Markus Stange
0699b9a185
Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel
2015-03-06 13:04:05 -05:00
Kearwood (Kip) Gilbert
467260920d
Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
...
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.
--HG--
extra : rebase_source : 1fc779b8075eb7dae97c5b0f6b9bbf9fc073db71
2015-02-19 15:51:08 -08:00
Milan Sreckovic
60347c0d1e
Bug 1133119
- ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow
2015-03-03 11:17:55 -05:00
Jan Jongboom
a51560be5b
Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang
2015-02-25 03:20:00 -05:00
Milan Sreckovic
37797d57bf
Bug 1130195: Report the failed bitmap creation, but still crash. r=bschouten
2015-02-25 17:44:56 -05:00
Benoit Girard
64d4c32b50
Bug 1135677
- Deal with overflowing rects. r=bas
...
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
David Anderson
ad69b19ecc
Fix build bustage on CLOSED TREE. No bug
2015-02-24 14:16:27 -08:00
David Anderson
6d2ea830bf
Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow)
...
--HG--
extra : rebase_source : 2185c8fd0b891d5ef296b92b3af7009b2f6fa72e
2015-02-24 13:39:01 -08:00
Markus Stange
5e45b83a2c
Bug 1123019 - Shrink clipped stroked rectangles and stroked lines. r=jrmuizel
2015-02-23 18:15:14 -05:00
Markus Stange
a9c358600a
Bug 1123019 - In DrawTargetTiled::StrokeRect and StrokeLine, skip tiles that don't intersect the stroke. r=jrmuizel
2015-02-23 16:20:35 -05:00
Ms2ger
2649263bed
Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
...
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Daniel Holbert
e6a8734aa7
Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan
2015-02-20 09:25:07 -08:00
Trevor Saunders
99d941db3c
bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel
2015-02-18 17:03:30 -05:00
Markus Stange
6e4e723923
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.
2015-02-09 14:04:11 -05:00
Nicolas Silva
ba6a5f75e6
Bug 1129467 - Apply the tile offset to tiles when initializing DrawTargetTiled. r=Bas
2015-02-05 11:09:57 +01:00
Chris Double
f675786729
Bug 1129718 - Fix build error when using enable-debug and disable-logging - r=Bas
2015-02-05 16:25:38 +13:00
Bas Schouten
fdee1bb880
Bug 1083245: Pop all clips before copying to the destination blending surface. r=jrmuizel
...
We need to pop the clips from the decide context before flushing and copying to the destination blending surface, otherwise drawing commands executed on a pushed layer for clipping will not be realized on the destination surface for blending.
Note that this fixes most situation, but in the case of doing custom blending to an area of a surface which is not opaque while having a complex clip pushed this will still lead to some artifacts. I haven't seen this be a problem in practice though.
2015-02-04 22:03:21 +01:00
Jonathan Watt
8977be59fb
Bug 1085312 - Document why ColorPattern ctor is marked explicit. r=Bas
2015-01-23 09:45:32 +00:00
Bas Schouten
11de23359f
Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel
2015-01-28 00:54:19 +00:00
Ethan Lin
8c1a91fc06
Bug 753010 - Part 2 - Refactor some neon intrinsic functions for blur. r=mstange
2015-01-22 18:57:00 +01:00
Ethan Lin
001ad05489
Bug 753010 - Add a NEON optimized blur method. r=mstange
2015-01-18 22:08:00 +01:00
Masatoshi Kimura
6cc5dabbee
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
be535304d8
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Markus Stange
14017f7761
Bug 1117304 - Make sure the tile filter doesn't call CopyRect on surfaces with different formats. r=Bas
2015-01-05 18:40:27 +01:00
Markus Stange
092c4c88cd
Bug 1117304 - Also do the checks at the start of CopyRect in release builds. r=Bas
2015-01-06 12:08:39 +01:00
Milan Sreckovic
5c1754eb7a
Bug 1088833 - A bit of a clean up of warnings, and catch bad draw target in the d3d11 canvas case. r=bschouten
2015-01-20 12:47:29 -05:00
Milan Sreckovic
bb40ac923a
Bug 1121835: Deal with non-finite values in Path calls. r=bschouten
2015-01-19 14:19:25 -05:00
Robert Longson
f5d6a607f5
Bug 1122761 - Avoid dividing by zero when calculating turbulence gradients. r=mstange
2015-01-21 13:01:00 +00:00
Brian Smith
f13c2f6263
Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas
...
--HG--
extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
2015-01-08 15:42:38 -08:00
Heiher
3566618b84
Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
...
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Jonathan Watt
fc78f23587
Bug 1122578, part 1 - Make DrawTargetCG::StrokeRect stroke from the same corner and in the same direction as older OS X and other Moz2D backends. r=Bas
2015-01-18 11:30:32 +00:00
Seth Fowler
22fb49003c
Bug 1120050 - Expose Skia scaler internals for use by downscale-during-decode. r=tn
2015-01-20 03:06:37 -08:00
David Major
a0e452cc20
Bug 1122367: Null check the result of D2DFactory(). r=Bas
2015-01-20 10:56:59 +13:00
Botond Ballo
c3259de44b
Bug 1120609 - Printing support for gfx::Matrix. r=Bas
...
--HG--
extra : rebase_source : 38e46208c14df09dc49c73c7fddfc3b5534efd4c
2015-01-19 11:29:16 -05:00
Nicolas Silva
682d07b50e
Bug 1122631 - Fix wrong logic in DrawTargetTiled::CopySurface. r=jrmuizel
2015-01-19 12:36:43 +01:00
Milan Sreckovic
3b87e81b6d
Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar
2015-01-13 21:19:25 -05:00
Benoit Girard
9b8c2dc37d
Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange
2015-01-14 17:24:09 -05:00
Tejas Srinivasan
b1c5f6e284
Bug 1120060 - Remove the workaround code for the gcc PGO crash in ConvolveHorizontally() now that support for version 4.5 has been removed. r=tn
2015-01-13 08:14:00 -05:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Bas Schouten
a31d3a0bdc
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Wes Kocher
8d58942592
Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE
2015-01-07 16:54:14 -08:00
Bas Schouten
9ab9d86962
Bug 1107718: Properly deal with a D3D11 device reset. r=nical
2015-01-08 00:10:49 +00:00
Bas Schouten
6551fc8ba4
Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
18348c7ab0
Bug 1115819: Deal with failure to create a realized bitmap in SourceSurfaceD2D1::DrawTargetWillChange. r=jrmuizel
2015-01-08 00:10:48 +00:00
Bas Schouten
e0d4cad40e
Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel
2015-01-07 22:58:20 +01:00
Ryan VanderMeulen
20d7991ef8
Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium
2015-01-07 11:32:07 -05:00
Ehsan Akhgari
ffb386847f
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00