Birunthan Mohanathas
68b00083fd
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Andreas Gal
62ef63ce40
Bug 946541 - Fix Skia cache purging. r=gw280
2013-12-04 23:52:03 -05:00
Kevin Simons
8c7b534e33
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
2d12d37e18
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
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
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
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Chris Lord
9afd262a59
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
758b8fda77
Bug 924102 - Add support for filters to DrawTargetRecording. r=mstange
2013-11-27 12:25:28 +01:00
Bas Schouten
a7185ffe65
Bug 924102 - Use FilterNodeSoftware for filter drawing in DrawTargetSkia. r=mstange
2013-11-27 12:25:28 +01:00
Bas Schouten
78ae2460a4
Bug 924102 - Make DrawTargetSkia::DrawSurface support non-Skia DataSourceSurfaces. r=mstange
2013-11-27 12:25:27 +01:00
Markus Stange
77c6c600d7
Bug 924102 - Add transform filter and remove offset filter. r=Bas
2013-11-27 12:25:27 +01:00
Markus Stange
9e0156f03c
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
8db97bd05e
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
7db701d658
Bug 924102 - Add a software FilterNode implementation. r=Bas
2013-11-27 12:22:46 +01:00
Markus Stange
db30cb1dcb
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
24d033e113
Bug 924102 - Add filter processing code for many SVG filters. r=Bas
2013-11-27 12:22:27 +01:00
Markus Stange
141e600367
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
c001ff8d47
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
b5eb1563f1
Bug 924102 - Add filter API to Moz2D. r=Bas, r=mattwoodrow
2013-11-27 12:22:07 +01:00
Markus Stange
46bb478bac
Bug 924102 - Add the types Point3D and Matrix5x4. r=Bas
2013-11-27 12:22:02 +01:00
Bas Schouten
7e6095b9db
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
823e01695d
Bug 942268 - Add RecordedEvent::GetEventName. r=mstange
2013-11-27 12:21:49 +01:00
Markus Stange
976a163b61
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
aa00fefb46
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
452f4eb345
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
17bb2336a1
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
1dbc0fbd1b
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
a87ba6b69f
Bug 925448 - Stop CGImageRef external data being deleted prematurely. r=bgirard,bas
2013-11-26 12:41:32 -06:00
Matt Woodrow
cf7881aa40
Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc
2013-11-26 12:08:29 +13:00
Birunthan Mohanathas
1e8f99fd01
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
f3a2bc3a94
Bug 933567 - Clean up Mask implementation a bit. r=mattwoodrow
2013-11-25 09:22:33 -05:00
Kevin Simons
b95c755355
Bug 933567 - Implement MaskSurface for Skia. r=mattwoodrow
2013-11-25 09:20:56 -05:00
Trevor Saunders
9f254378b2
bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob
2013-11-22 14:45:50 -05:00
Markus Stange
288635caee
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
166b3db22a
Bug 921495 - Make AlphaBoxBlur round correctly s. r=Bas
2013-11-21 17:44:41 +01:00
Markus Stange
31ee17e9d5
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
45f70aba6a
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
2317b71a7f
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
fbc92cc0f4
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
2812d11fce
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
61b0bdbe18
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
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
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
Jonathan Watt
38762bf4c9
Bug 939604 - Add support for more types to mozilla::gfx::Log. r=Bas
2013-11-18 14:29:54 +00:00
Bas Schouten
d81f6048b3
Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel
2013-11-11 12:42:07 +13:00
John Schoenick
78ca11927c
Bug 939355 - Include string.h in gfx/2d/unittest/TestBugs.cpp r=bgirard
2013-11-17 18:55:16 +01:00
Robert O'Callahan
cdd20f889b
Bug 938316. Work around fractional texture resampling issues by switching to NEAREST sampling when we're doing a pixel-aligned compositing operation. r=jrmuizel
...
--HG--
extra : rebase_source : ec49c8c8993af402a24b57efbaea743d39dcd89c
2013-11-13 23:56:11 +13:00
Benoit Girard
9183a6a5f1
Bug 918671 - Add test for cairo clipping bug. r=jrmuizel
2013-11-12 16:47:40 -05:00
Kartikaya Gupta
cd1b5c727f
Bug 937843 - Make some constructor arguments const. r=BenWa
2013-11-13 13:22:15 -05:00