Commit Graph

154 Commits

Author SHA1 Message Date
Matt Woodrow
768318cdfa 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
Dan Glastonbury
0734e4a2d9 Bug 963492 - Assertion failure: GetTransform() == Matrix(mat.xx, mat.yx, mat.xy, mat.yy, mat.x0, mat.y0). r= matt.woodrow 2014-04-15 14:57:29 +10:00
peter chang
a81c4bdea2 Bug 970007 - Fix incorrect colorformat when using CairoSurface. r=gal r=bas 2014-04-14 20:51:00 +02:00
Matt Woodrow
a276d6b20f Bug 993784 - Part 2: Add gfxContext API to mask directly from a moz2d SourceSurface. r=roc 2014-04-09 21:15:19 +12:00
Horia Iosif Olaru
d87bd0cb39 Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Benoit Jacob
61c6bc7c4e 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
23af944896 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
f634d4797a 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
7a2cb34f70 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
Nicholas Cameron
eb9e8fd441 Bug 950550. Restore the transform in DrawTargetCairo::PopClip. r=jrmuizel 2014-01-07 11:27:03 +13:00
Markus Stange
0fb6c31b16 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
4464f05504 Bug 924102 - Let AlphaBoxBlur take separate blur radius parameters for X and Y. r=Bas 2013-11-27 12:22:36 +01:00
Jaroslav Kopecký
2931726472 Bug 937978 - Make SetPermitSubpixelAA a nop with --enable-system-cairo (like bug 623797). r=mattwoodrow 2013-11-13 08:23:19 -05:00
Matt Woodrow
89bd3b701a Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Nicholas Cameron
bc5099c604 Bug 934842. CopySurface for data source surfaces. r=Bas 2013-11-08 14:39:34 +13:00
Matt Woodrow
cf75f5afa0 Backout c99d15a060e2 for causing windows Ru reftest failures. 2013-11-05 20:00:05 +13:00
Matt Woodrow
02256950d5 Bug 926023 - Use the value of SetPermitSubpixelAA for DrawTargetCairo. r=Bas 2013-11-05 17:50:56 +13:00
Bas Schouten
0b3209d44f Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Bas Schouten
a383618c8b Bug 934286: Ifdef Mozilla specific cairo function usage. r=mattwoodrow 2013-11-04 00:57:36 +01:00
Robert O'Callahan
fc0b8f080a Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow 2013-10-25 23:25:40 +02:00
Matt Woodrow
c573a541fe Bug 928727 - Don't clear before drawing with OPERATOR_SOURCE in DrawTargetCairo, since we know all required pixels will be clear already. r=jrmuizel 2013-10-22 12:11:30 +02:00
Matt Woodrow
45392bb9f9 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
aabc79b799 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Benoit Girard
f60f94a85e Bug 928123 - Avoid PushGroup during simple FillRect. r=Bas 2013-10-17 19:08:20 -04:00
Ryan VanderMeulen
92b01d4f75 Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Benoit Girard
2976f98010 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Matt Woodrow
08c1253d14 Bug 740598 - Add optimized version of CopyRect for the cairo backend. r=Bas 2013-10-15 14:55:16 +13:00
Bas Schouten
1e0b404367 Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel 2013-09-28 16:20:24 +02:00
Markus Stange
df751bbf08 Bug 921132 - Make CopyDataToCairoSurface respect stride. r=ncameron 2013-09-27 17:21:09 +02:00
Markus Stange
68f7521f4a Bug 921501 - Call CGBitmapContextGetHeight when getting the height for Cairo Quartz surfaces. r=Bas 2013-09-27 17:18:05 +02:00
Anthony Jones
0a390883bc Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow 2013-09-23 15:28:16 +12:00
Anthony Jones
7288282671 Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow 2013-09-20 14:00:35 +12:00
Matt Woodrow
a6fe957c74 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
b90b52063c Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Vladan Djeric
d827e2339b Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions 2013-09-11 13:32:23 -04:00
Vladan Djeric
3542e07561 Backed out changeset b5d9ee3b3538 (bug 907926) for TART regressions 2013-09-11 13:31:24 -04:00
Matt Woodrow
59ce69e9ed Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
856ad7168a Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Matt Woodrow
be5600cb1b Bug 907011 - Don't copy surface contents into the snapshot when destroying DrawTargetCairo. r=Bas 2013-08-23 16:54:03 +12:00
Matt Woodrow
292a28970c Bug 907011 - Expose cairo objects from gfxContext when using Azure/cairo. r=Bas 2013-08-23 16:53:53 +12:00
Matt Woodrow
1a7437fcdc Bug 907011 - Implement pattern matrices for the Cairo Azure backend. r=Bas 2013-08-21 11:57:57 +12:00
Matt Woodrow
5f24c520cc Bug 907011 - Implement antialias mode for the Cairo Azure backend. r=Bas 2013-08-21 11:56:27 +12:00
Matt Woodrow
0e9bcf2030 Bug 904981 - Clear surface devices offsets in DrawTargetCairo since we don't use them. r=Bas 2013-08-21 11:52:20 +12:00
James Kolb
bae3ce8f5b Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas 2013-07-11 10:43:34 -04:00
Jeff Muizelaar
e8ad1930d2 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592
2013-06-12 23:57:51 -04:00
Ryan VanderMeulen
61168f0ad6 Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
c6a8ad6595 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592
2013-06-12 23:57:51 -04:00
Milan Sreckovic
826b10c67a Bug 845125 - Add gfxImageSurface constructor that allocates more space than needed, change AlphaBoxBlur to not hold on to the data and let the callers manage it. r=jmuizelaar 2013-04-19 12:13:18 +02:00
Milan Sreckovic
a61d7bfb35 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Nicholas Cameron
cf5a8743c5 Bug 814828. DEST_OUT has no affect outside the source; r=bas 2012-12-05 13:02:52 +13:00