Ehsan Akhgari
a3c3d25ec6
Bug 976392 - Move moz2d to libxul; r=jrmuizel
2014-02-25 15:42:23 -05:00
Ed Morley
2c4a5e953c
Backed out changeset 07f3cfaa7900 (bug 958596) for build failures on Windows
2014-02-25 17:17:47 +00:00
Ed Morley
a1d78a6ddc
Backed out changeset dfadc8e2c38e (bug 958596)
2014-02-25 17:17:26 +00:00
Ed Morley
6cdcc99b9d
Backed out changeset b190a7268dd4 (bug 958596)
2014-02-25 17:17:23 +00:00
Ed Morley
0e623ef42d
Backed out changeset b228fa36e700 (bug 958596)
2014-02-25 17:17:19 +00:00
Ed Morley
4746dc448f
Backed out changeset ff5de50c1333 (bug 958596)
2014-02-25 17:17:16 +00:00
Ed Morley
1df584f632
Backed out changeset eb4286cfa305 (bug 958596)
2014-02-25 17:17:12 +00:00
Ed Morley
58780e67a9
Backed out changeset c88e6d34fe90 (bug 958596)
2014-02-25 17:17:09 +00:00
Ed Morley
d9433d3485
Backed out changeset 8e8db64bbaba (bug 958596)
2014-02-25 17:16:55 +00:00
Botond Ballo
b51e5fca21
Bug 958596 - Allow gfx logging of long long. r=Bas
...
--HG--
extra : rebase_source : c65c224a3ce6f09636be594eb68a95cc791841f7
2014-01-22 18:38:31 -05:00
Botond Ballo
e2ed3c8825
Bug 958596 - Allow TreeLog logging to be conditioned on a pref. r=Bas
...
--HG--
extra : rebase_source : 4390b6b07ec6cf195839f6e8386c769a8b234dd0
2014-01-22 15:19:01 -05:00
Botond Ballo
ce8e34f348
Bug 958596 - Add support a tree logging utility. r=Bas
...
--HG--
extra : rebase_source : 1bb9385ea2f9ce653ec0d5acd529edb63a385117
2014-01-21 20:14:47 -05:00
Botond Ballo
5eee3b8786
Bug 958596 - Allow writing a log statement that does not end in a newline. r=Bas
...
--HG--
extra : rebase_source : a26166451eb22c50b6bb32c2728bd07bdbf6e859
2014-01-21 18:59:17 -05:00
Botond Ballo
7ff694730d
Bug 958596 - Allow gfx logging of any rect, size, and point. r=Bas
...
--HG--
extra : rebase_source : b884b10446f5bc026285e6b16c202c7d9a2c377b
2014-01-21 18:38:34 -05:00
Botond Ballo
82bee17496
Bug 958596 - Add gfx logging support for 'char'. r=Bas
...
--HG--
extra : rebase_source : 2938fc27a6541fd5dd5ac1cf94f3e69ed3997ecc
2014-01-21 20:26:00 -05:00
Botond Ballo
f4831df38a
Bug 958596 - Add support for gfx logging on android and b2g. r=Bas
...
--HG--
extra : rebase_source : 8d5a1c0dfc4f5f74e8417531b1f9f39c54e85d49
2014-01-21 20:11:52 -05:00
Botond Ballo
0752ed82aa
Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas
...
--HG--
extra : rebase_source : 7c99fccae55d8116f12b52ed74e178590c2c7414
2014-02-18 21:59:34 -05:00
Ehsan Akhgari
cc2dbcc735
Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
...
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Ehsan Akhgari
c7a347a4b9
Bug 935778 - Part 1.1: Re-add the refcount assertions for AddRef(), and make the assertions for Release() use a signed integer
2014-02-22 11:23:03 -05:00
Ehsan Akhgari
f4ddde0564
Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj
2014-02-21 14:45:50 -05:00
Ehsan Akhgari
8212be10db
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
Wes Kocher
09174e398b
Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
...
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
1715424e2c
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ali Akhtarzada
538b0d12df
Bug 974314 - Fix memleak in CreateDrawTargetForData when backend is skia. r=gal
2014-02-19 11:37:26 -05:00
George Wright
879eb7ff71
Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp
2013-12-05 23:01:53 -05:00
George Wright
a523e57437
Back out changesets from bug 910754 due to build bustage
2014-02-18 17:54:04 -05:00
George Wright
53a5f52f15
Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp
2013-12-05 23:01:53 -05:00
Markus Stange
7801698af8
Bug 973308 - Don't let empty clip rects put infinities into the gradient calculations. r=jrmuizel
2014-02-18 23:18:29 +01:00
Masatoshi Kimura
dfb3f0e76b
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Jeff Muizelaar
069e63be95
Bug 821475. Moz2D: Remove flip when drawing gradient. r=mstange
...
We muck with the matrix before we draw the text. We need to set it back after.
--HG--
rename : mobile/android/base/FilePicker.java => mobile/android/base/ActivityHandlerHelper.java
extra : rebase_source : 4f937b0b2779ee6c771e030a7ae0894f14a7b211
2014-02-15 18:21:43 -05:00
Ehsan Akhgari
de8052b706
Backed out 2 changesets (bug 939276) because of build bustage
...
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
48175fc2e0
Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
...
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Markus Stange
6c1f71473b
Bug 966996 - The computed gradient stops need not cover the origin, so don't start at zero. r=jrmuizel
...
--HG--
extra : rebase_source : cc8afae8083129aee8765855037fc89ea1280b1c
2014-02-13 12:11:16 +01:00
Markus Stange
3a1354b2f9
Bug 966996 - Clamp the gradient extents to the current clip extents so that we don't compute unseen gradient stops. r=jrmuizel
...
--HG--
extra : rebase_source : 5ccf62603305ff2d88c98512e795fed87badc2c8
2014-02-13 12:10:43 +01:00
Markus Stange
efcd248c39
Bug 960017 - Make the surfaces big enough. r=Bas
...
--HG--
extra : rebase_source : fc7cafcc7f39bd1f05478230292816d874a7b035
2014-02-13 12:09:11 +01:00
Markus Stange
6ef8e10f62
Bug 960017 - Add some debug-only checks. r=Bas
...
--HG--
extra : rebase_source : 7618902f2cb1d21e402e6fee251c967af518aaf1
2014-02-13 12:07:35 +01:00
Phil Ringnalda
11a4d1792b
Back out bcaadd45b905 (bug 972161) for adding (fatal) warnings on Windows
...
CLOSED TREE
2014-02-12 23:27:40 -08:00
Bas Schouten
cc1b0d4865
Bug 972161: Add ability to output font data for freetype fonts. r=jrmuizel
2014-02-13 07:31:51 +01:00
Jacek Caban
06c5f9e5cc
Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan
2014-02-12 10:59:05 +01:00
Jacek Caban
fc6cfb39f1
Bug 970364 - Fix conversions between enum classes and ints in gfx/2d/. r=bas.schouten
2014-02-11 13:44:17 +01:00
Nathan Froyd
4a9babc969
Bug 968942 - make SizeTyped constructors MOZ_CONSTEXPR to avoid static constructors; r=kats
2014-02-06 13:06:08 -05:00
Markus Stange
8672120047
Bug 958977. r=Bas
2014-02-07 13:24:54 +01:00
Markus Stange
57aa1c3ea0
Bug 950511 - Back out part 1 from bug 941095 (DrawTargetCG::SetPermitSubpixelAA) because it's unnecessary and causes bad text rendering in context menus.
2014-02-04 21:03:12 +01:00
Markus Stange
e7516af9d2
Bug 965914 - Don't crash when we can't allocate a new surface in CloneAligned. r=Bas
2014-02-04 21:03:12 +01:00
David Zbarsky
8a0b149ece
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
1e61d187aa
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
2cef9a18e8
Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:18 -05:00
David Zbarsky
cbdd71e0f8
Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical
2014-01-27 10:27:20 -05:00
David Zbarsky
0b4e10c2b0
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
Benoit Jacob
3369ca8bb6
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Jim Mathies
491055f172
Bug 759749 - Bail if fallback CreateBitmap call in SourceSurfaceD2DTarget::GetBitmap fails. r=Bas
2014-01-22 14:12:08 -06:00
Markus Stange
3e2c4e4e25
Bug 944579 - Refuse to create gigantic DrawTargets and surfaces. r=Bas
2014-01-17 11:06:17 +01:00
Markus Stange
a6b07830a5
Bug 951268 - Use MaskSurface when drawing A8 filter results. r=Bas
2014-01-17 11:06:11 +01:00
Bas Schouten
10f1eb6a4c
Bug 960245: Deal with the final possibility for degeneracies in FindInflectionApproximationRange. r=jrmuizel
2014-01-16 21:39:19 +01:00
Ryan VanderMeulen
25157d7478
Backed out changeset aa8e746be488 (bug 944579) for bustage.
2014-01-16 11:41:40 -05:00
Markus Stange
3bf750f3ce
Bug 944579. r=Bas
2014-01-16 11:21:13 -05:00
Bas Schouten
35cb9312ad
Bug 960254 - Part 4: Implement the new Map/Unmap API for Direct2D. r=jrmuizel
2014-01-16 13:17:24 +01:00
Bas Schouten
74759ea951
Bug 960254 - Part 3: Remove MarkDirty call to avoid confusion. r=jrmuizel
2014-01-16 13:17:23 +01:00
Bas Schouten
ccea287183
Bug 960254 - Part 1: Add new Map/Unmap APIs to DataSourceSurface. r=jrmuizel
2014-01-16 13:17:22 +01:00
Bas Schouten
370e329706
Backed out 5 changesets (bug 960254, bug 960354)
...
Backed out changeset 4441c32c724c (bug 960254)
Backed out changeset 4aecc5ca2a19 (bug 960254)
Backed out changeset 9f499e5f7954 (bug 960354)
Backed out changeset fd9b6b044a5a (bug 960354)
Backed out changeset c1f6fbc397bd (bug 960354)
2014-01-16 14:36:53 +01:00
Bas Schouten
a15fbf0b14
Bug 960254 - Addition: Use a regular enum since apparently buildbot MSVC doesn't support nester MOZ_ENUM classes. r=bustage
2014-01-16 14:02:39 +01:00
Bas Schouten
bdef25f246
Bug 960254: Implement the new Map/Unmap API for Direct2D. r=jrmuizel
2014-01-16 13:17:24 +01:00
Bas Schouten
ce9ae67b3c
Bug 960354 - Part 3: Remove MarkDirty call to avoid confusion. r=jrmuizel
2014-01-16 13:17:23 +01:00
Bas Schouten
126f6c8ac7
Bug 960354 - Part 1: Add new Map/Unmap APIs to DataSourceSurface. r=jrmuizel
2014-01-16 13:17:22 +01:00
David Zbarsky
3e6531d3e8
Bug 952977: Switch GL world transform to gfx::Matrix r=nical
2014-01-16 02:22:19 -05:00
Peter Chang
8b52dc66b2
Bug 956432 - Fix the rounding inside DrawTargetSkia::DrawSurface(), r=gw280
2014-01-15 15:16:39 +08:00
James Kolb
0f96a26c02
Bug 603488 part 3: Modified DrawTargetSkia to accept non-skia sourcesurfaces. r=nrc
...
--HG--
extra : rebase_source : f7f084a373d738ffcc58cbbf165fcfd86148d5ce
2014-01-13 13:29:48 +13:00
Brian Smith
2124fbb83f
Bug 958906: Remove reliance on implicit conversion from enum types to integers to fix VS2013 build bustage, r=bjacob
...
--HG--
extra : rebase_source : 2e197e5f74cf20eae6f9b1801056d0438e527696
2014-01-11 22:26:20 -08:00
Benoit Jacob
06f7a9c4a2
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
3a7886f0e9
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
2d5774ca0a
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
ac0e3ee2cf
Bug 958375 - 5/9 - Make FilterType a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
b493201ca4
Bug 958375 - 1/9 - Make SurfaceType a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 13:55:24 -05:00
Mike Shal
5a313588a2
Bug 875013 - Remove VPATH in gfx/; r=joey
2014-01-07 17:50:44 -05:00
Bas Schouten
7bf6b36b0e
Bug 941585: Better dealing with degenerate beziers. r=jrmuizel
2014-01-09 17:04:17 +01:00
Markus Stange
41fb4612d8
Bug 951443 - Don't attempt to create 0x0-sized CGContexts when the UnboundnessFixer encounters an empty clip. r=jrmuizel
2014-01-08 10:31:17 +01:00
Nicholas Cameron
fc1b2446d5
Bug 933549. Preqrequisites - Matrix::HasNonIntegerTranslation and SetAntialiasingFlags. r=mattwoodrow
2014-01-08 10:06:08 +13:00
Nicholas Cameron
2b06b385d4
backed out bug 933549 on a CLOSED TREE
2014-01-08 10:27:14 +13:00
Nicholas Cameron
07fa557b71
Bug 933549. Preqrequisites - Matrix::HasNonIntegerTranslation and SetAntialiasingFlags. r=mattwoodrow
2014-01-08 10:06:08 +13:00
Nicholas Cameron
8b784a86ca
Bug 950550. Test. r=jrmuizel
...
--HG--
extra : rebase_source : b5d2cc463f423127948a65ddd9567671a67e9250
2014-01-07 11:27:07 +13:00
Nicholas Cameron
a073924ec4
Bug 950550. Restore the transform in DrawTargetCairo::PopClip. r=jrmuizel
...
--HG--
extra : rebase_source : 999f2d3794de202f68bf4adee8f4b0034e5f91b6
2014-01-07 11:27:03 +13:00
Anthony Jones
3b3605ff77
Bug 951463 - Rename ClampRect to ForceInside; r=botond
2014-01-06 10:05:07 -05:00
Kevin Simons
e1cec36a10
Bug 951686 - Set the SkBitmapDevice to opaque for BGRX surfaces. r=gwright
2014-01-06 10:03:55 -05:00
Andreas Pehrson
02e70c1a10
Bug 877115 - Add factory method for DataSourceSurfaces with custom stride. r=bas
2013-12-19 10:31:07 -05:00
Jacek Caban
983c106d3e
Bug 944908 - Fixed mingw compilation in gfx/2d/. r=bas.schouten
2013-12-23 14:03:16 +01:00
Nicolas Silva
0e614fd67a
Bug 951858 - Support DrawTarget::CopySurface with A8 D2D textures. r=Bas
2013-12-19 19:44:20 +01:00
Nicolas Silva
5a6c7540bb
Bug 948470 - Correctly set the format of DataSourceSurfaceD2DDrawTarget. r=Bas
2013-12-19 16:36:46 +01:00
Milan Sreckovic
a707eef534
Bug 893572 - Add tests and backout part of bug 922942 for regressing the tests prior to them being landed. r=Bas, r=mattwoodrow
2013-12-17 16:51:16 -05:00
Jeff Muizelaar
4ea3cbe8c9
Bug 948128. Add StackArray helper. r=Bas
...
This is helpful for when we want to convert between
different types and we need a short lived piece of memory.
--HG--
extra : rebase_source : b841a535cb1ddd837df4b34949bd34054c438c67
2013-12-09 17:07:13 -05:00
Jonathan Watt
3576e7b904
Bug 944704, part 4 - Fix PathBuilderCG::Arc to sweep in the correct direction. r=Bas
2013-12-14 11:09:36 +00:00
Benoit Girard
63dbe4cee0
Bug 941095 - Part 1: Support SetPermitSubpixelAA with Quartz. r=bas
...
--HG--
extra : rebase_source : 69171a8a17a34c822b34f48babecf18ffa08bf56
2013-12-11 23:16:03 -05:00
Bas Schouten
2d33b1945d
Bug 946540: Deal with inflection points that all lie outside of (0, 1). r=jrmuizel
2013-12-13 15:22:37 +01:00
Jonathan Watt
d4bb10c7ab
Bug 944704, part 1 - Extend Moz2D's ArcToBezier helper so that it can draw ellipse arcs in addition to circle arcs. r=Bas
2013-12-13 12:14:36 +00:00
Kevin Simons
68173a4652
Bug 944646 - Implement Skia path in ScaledFontBase::CopyGlyphsToBuilder. r=mattwoodrow
...
Handle PathBuilderSkia with a separate path specifically for
BACKEND_SKIA DrawTarget instances.
2013-12-12 17:37:00 -05:00
Kevin Simons
306ee6f1e6
Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
...
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05:00
Matt Woodrow
47153c6c2d
Bug 946475 - Avoid using AutoSaveRestoreClippedOut for ClearRect when the cumulative clip can be represented as a single axis aligned rectangle. r=Bas
2013-12-12 10:11:37 +13:00
Matt Woodrow
4cd7701567
Bug 946475 - Clip to the clear area in DrawTargetD2D::ClearRect so that we don't accidentally restore pixels that weren't drawn. r=Bas
2013-12-12 10:11:07 +13:00
Martin Stransky
2b7ca13346
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Markus Stange
83a4f259a6
Bug 945655 - Improve FilterNodeSoftware debug logging. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
66065bfa75
Bug 945655 - Reduce arithmetic combine filter output rect depending on the coefficients. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
bbfebead46
Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. FilterNodeSoftware part. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
5582cfa361
Bug 945655 - Make transparent flood filters report an empty output rect. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
271d80d1b3
Bug 945655 - Simplify the crop FilterNodeSoftware filter. r=roc
2013-12-10 14:50:40 +01:00
Markus Stange
e6512a0aae
Bug 945655 - Don't add transparency around the filter output before sending it to DrawSurface. r=roc
2013-12-10 14:50:40 +01:00
Markus Stange
80876b8581
Bug 945655 - Make all filters deal with null inputs and empty output rects consistently: treat them as transparent. r=roc
2013-12-10 14:50:40 +01:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Andreas Gal
e6549702a5
Bug 946541 - Fix Skia cache purging. r=gw280
2013-12-04 23:52:03 -05:00
Kevin Simons
c8d26f9326
Bug 945314 - Workaround crash with Cairo surfaces in Skia backend. r=mstange
...
A patch for bug 924102 introduced a MOZ_CRASH assertion for surfaces
of type other than SURFACE_SKIA or SURFACE_DATA being passed to
DrawSurface. Previously surfaces of other types were simply ignored.
On Linux, there are still several hardcoded surfaces of type Cairo
(found in gfxXlibNativeRenderer and friends) and as a result, the
Skia backend crashes always on Linux currently.
This workaround ignores Cairo surfaces passed to DrawSurface.
2013-12-03 08:52:06 -05:00
Kevin Simons
685f495c6f
Bug 944412 - Fix an issue with the stride in SourceSurfaceSkia::InitFromData. r=gal
...
After calling SkBitmap::copyTo, the InitFromData method assumed
that the stride of the destination SkBitmap was now the same as the
stride of the source bitmap. This was, however, not the case. Now
the stride is read back out of the destination bitmap.
This was causing a crash due to memory corruption for FORMAT_B8G8R8X8
surfaces.
2013-12-02 11:03:13 -05:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Chris Lord
62fe777b60
Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
...
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.
This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Bas Schouten
88c097d283
Bug 924102 - Add support for filters to DrawTargetRecording. r=mstange
2013-11-27 12:25:28 +01:00
Bas Schouten
1eada597e4
Bug 924102 - Use FilterNodeSoftware for filter drawing in DrawTargetSkia. r=mstange
2013-11-27 12:25:28 +01:00
Bas Schouten
a6010e3f33
Bug 924102 - Make DrawTargetSkia::DrawSurface support non-Skia DataSourceSurfaces. r=mstange
2013-11-27 12:25:27 +01:00
Markus Stange
217a24a67f
Bug 924102 - Add transform filter and remove offset filter. r=Bas
2013-11-27 12:25:27 +01:00
Markus Stange
f96cfc66b0
Bug 924102 - Add a FilterNode implementation that uses Direct2D 1.1 effects. Most of this patch was written by Bas. r=mstange, r=Bas
2013-11-27 12:25:16 +01:00
Markus Stange
3b8525bea8
Bug 924102 - Implement DrawTarget filter APIs with FilterNodeSoftware for Cairo, CG, D2D, D2D1 and Dual. r=Bas
2013-11-27 12:22:56 +01:00
Markus Stange
33b335d52c
Bug 924102 - Add a software FilterNode implementation. r=Bas
2013-11-27 12:22:46 +01:00
Markus Stange
73ad1884c7
Bug 924102 - Let AlphaBoxBlur take separate blur radius parameters for X and Y. r=Bas
2013-11-27 12:22:36 +01:00
Markus Stange
189b8ecb59
Bug 924102 - Add filter processing code for many SVG filters. r=Bas
2013-11-27 12:22:27 +01:00
Markus Stange
4d87c8a4dc
Bug 924102 - Add a class that renders turbulence as specified for SVG filters. r=Bas
2013-11-27 12:22:21 +01:00
Markus Stange
573590e3f2
Bug 924102 - Add a SIMD.h header that implements some SIMD functions with SSE2 and scalar code. r=Bas
2013-11-27 12:22:13 +01:00
Markus Stange
94888352a2
Bug 924102 - Add filter API to Moz2D. r=Bas, r=mattwoodrow
2013-11-27 12:22:07 +01:00
Markus Stange
3587fa2bcf
Bug 924102 - Add the types Point3D and Matrix5x4. r=Bas
2013-11-27 12:22:02 +01:00
Bas Schouten
1e2183726f
Bug 937145 - Allow Moz2D recordings to grab the existing content of a DrawTarget. r=BenWa
2013-11-27 12:21:57 +01:00
Bas Schouten
7cbc0c4e6f
Bug 942268 - Add RecordedEvent::GetEventName. r=mstange
2013-11-27 12:21:49 +01:00
Markus Stange
294abc7618
Bug 930956 - Make DrawTargetCG::DrawSurface support painting a DataSourceSurface that is not a DataSourceSurfaceCG. r=jrmuizel, r=Bas
2013-11-27 12:21:43 +01:00
Markus Stange
1043a4fcd9
Bug 943614 - Make sure that SourceSurfaceCG::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas
2013-11-27 12:21:34 +01:00
Markus Stange
3a26d173d3
Bug 943614 - Make sure that SourceSurfaceCairo::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas
2013-11-27 12:21:27 +01:00
Markus Stange
41793bc45b
Bug 943614 - Make sure that DataSourceSurface::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas
2013-11-27 12:21:21 +01:00
Bas Schouten
9b3b991e36
Bug 943351: Make sure to clear any existing paths before getting the glyph path off a context. r=BenWa
2013-11-26 23:27:05 +01:00
Steven Michaud
0b4c3ee74e
Bug 925448 - Stop CGImageRef external data being deleted prematurely. r=bgirard,bas
2013-11-26 12:41:32 -06:00
Matt Woodrow
c49de95f30
Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc
2013-11-26 12:08:29 +13:00
Birunthan Mohanathas
0816e609ee
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Andreas Gal
922244102f
Bug 933567 - Clean up Mask implementation a bit. r=mattwoodrow
2013-11-25 09:22:33 -05:00
Kevin Simons
f17db69985
Bug 933567 - Implement MaskSurface for Skia. r=mattwoodrow
2013-11-25 09:20:56 -05:00
Trevor Saunders
280dc2e3ce
bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob
2013-11-22 14:45:50 -05:00
Markus Stange
d74cea0c78
Bug 921495 - Speed up blurring by processing and packing 16 pixels at a time. r=Bas
2013-11-21 17:44:52 +01:00
Markus Stange
71bf8a9d4d
Bug 921495 - Make AlphaBoxBlur round correctly s. r=Bas
2013-11-21 17:44:41 +01:00
Markus Stange
e064a30af7
Bug 936459 - Move Tools.h include into the right file. r=Bas
...
--HG--
extra : rebase_source : 9c976b595a2dd22511184f1341a4d4192e375b50
2013-11-20 17:20:51 +01:00
Markus Stange
a2f88a73a5
Bug 936458 - Use MOZ_ASSERT instead of NS_ABORT_IF_FALSE in BasePoint3D.h and BasePoint4D.h because NS_ABORT_IF_FALSE is not in mfbt and can't be used in standalone moz2d. r=Bas
...
--HG--
extra : rebase_source : 6ce1149a1c99feb0892a858851350b0e5119fc1a
2013-11-20 17:20:50 +01:00
Markus Stange
8e374e30b3
Bug 935923 - Rename AlphaMode helper function to D2DAlphaModeForFormat and replace most of its uses with D2DPixelFormat. r=Bas
...
--HG--
extra : rebase_source : c01334a631fae221d474c89502057892c9f540fd
2013-11-20 17:20:50 +01:00
Benoit Girard
491b501b80
Bug 939950 - Build gfx/2d in unified mode. r=bjacob,ehsan,bas
...
--HG--
extra : rebase_source : 4776cc15a2de124149624b8297ae0c4953621eae
2013-11-18 16:45:14 -05:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
01f121af07
Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
...
What LIBXUL_LIBRARY does is:
- Imply FORCE_STATIC_LIB
- Build with -DIMPL_LIBXUL
- Build with -DMOZILLA_INTERNAL_API
Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00