Commit Graph

50 Commits

Author SHA1 Message Date
Jonathan Watt
11950fdff5 Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
Jonathan Watt
28a408b329 Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas 2014-06-19 21:35:33 +01:00
Matt Woodrow
42a1b01ffc Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas 2014-05-08 11:23:44 +12:00
peter chang
f064495bb7 Bug 970007 Fix incorrect colorformat when using CairoSurface, r=gal 2014-04-15 11:46:31 +08:00
Ehsan Akhgari
e1b60f2947 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
Benoit Jacob
f447d87c57 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
ccaa35314d 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
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
Matt Woodrow
cdc7a125da Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Bas Schouten
aeb13e87cb Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Robert O'Callahan
b3e3eccd1a Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
--HG--
extra : rebase_source : 0c9187e8b9597e47e9d0d63d6da757db9a8c8a5c
2013-10-25 23:25:40 +02:00
Matt Woodrow
5f2c6517be Bug 928727 - Share code for getting the user-space clip bounds in DrawTargetCairo. r=jrmuizel 2013-10-22 12:11:30 +02:00
Benoit Girard
282410c103 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Benoit Girard
b1ecf84f9d Bug 928123 - Avoid PushGroup during simple FillRect. r=Bas
--HG--
extra : rebase_source : f1beea7a8281ed78ab6eb22373913b0484a5430e
2013-10-17 19:08:20 -04:00
Ryan VanderMeulen
41a335c516 Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Benoit Girard
b48817b2a7 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Matt Woodrow
162edd0647 Bug 740598 - Add optimized version of CopyRect for the cairo backend. r=Bas 2013-10-15 14:55:16 +13:00
Bas Schouten
6e12ca6e4b Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel 2013-09-28 16:20:24 +02:00
Anthony Jones
ecaa863490 Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow 2013-09-20 14:00:35 +12:00
James Kolb
c2eedbfda2 Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas 2013-07-11 10:43:34 -04:00
Bas Schouten
28ede182a7 Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel 2013-06-27 20:20:30 +00:00
Anthony Jones
f118b7b673 Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe 2012-10-10 06:32:36 -04:00
Nicholas Cameron
4e0c1c1461 Bug 722217; keep only a single snapshot. r=jrmuizel 2012-09-06 16:07:53 +12:00
Anthony Jones
223dd80132 Bug 784573 - Fix problems converting cairo paths between user space and device space. r=joe 2012-09-03 17:48:04 -04:00
Anthony Jones
d08f2d71eb Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe 2012-09-02 19:07:06 -04:00
Anthony Jones
7222cc6f21 Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel 2012-09-02 19:07:06 -04:00
Ms2ger
a77fd1cc47 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
4a0f48b226 Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc 2012-08-27 11:34:33 +02:00
Anthony Jones
3e97df84ad Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc 2012-08-27 11:34:07 +02:00
Anthony Jones
f43050747b Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc 2012-08-23 19:50:59 -04:00
Joe Drew
f034089eec Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
0a6f454a9d Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew
bd561fcfea Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Nicholas Cameron
a75142fe47 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron
b657d63db8 Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
a09794d38c Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
078a3b4954 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron
2d3a6b04e7 Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
1292400ee5 Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten
3f984e9d0e Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel 2012-03-19 19:20:17 +00:00
Joe Drew
9371772113 Bug 707848 - Implement paths in the 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : a127cd96d48077c02f32d64b89984995c02fc38b
2012-01-09 17:15:10 -05:00
Joe Drew
188a24ed30 Bug 715652 - Implement significantly more of the 2D API for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : b23314691fef65db2518d3e738a66039e3c18909
2012-01-09 16:50:01 -05:00
Bas Schouten
ec94a42be5 Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc 2011-12-28 06:56:11 +01:00
Phil Ringnalda
b8c127164a Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange 2011-12-27 21:09:44 -08:00
Bas Schouten
3c44803f6b Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc 2011-12-28 03:51:38 +01:00
Bas Schouten
ab39deeadf Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel 2011-07-05 06:28:14 +00:00
Takanori MATSUURA
4041dc2544 Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas 2011-06-26 23:10:35 +09:00
Bas Schouten
189472e8c9 Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00