Jeff Muizelaar
3a1c80bf5a
Bug 886531. Fix MaskSurface implementation on CG. r=bas
...
The offsets were wrong.
2013-06-24 17:28:21 -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
Jonathan Kew
b3e03c1b36
bug 866747 - stroke glyphs individually instead of making a single path for the entire text run. r=bas
2013-04-30 19:26:28 +01:00
Daniel Holbert
636ed64315
Bug 839384: Fix build warnings for DrawTargetCG. r=jrmuizel
2013-02-12 20:00:54 -08:00
Milan Sreckovic
e8ea1f3f1a
Bug 818241 - Initialize mCg to nullptr. r=jmuizelaar
2013-01-29 10:22:52 -05:00
Rik Cabanier
8aa3b70fce
Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel
2012-12-12 21:28:17 +01:00
Jeff Muizelaar
8de047645a
Bug 811919. Include the pattern transform when painting patterns in DrawTargetCG. r=benwa
...
This fixes a lot of azure content bugs.
2012-11-14 16:52:02 -08:00
Jonathan Kew
889d1fbdfb
bug 715798 pt 3 - support Color Emoji font in the gfx/2d quartz backend. r=jrmuizel
2012-10-23 10:07:14 +01:00
Joe Drew
3f0afe00d0
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
2012-08-14 14:06:12 -04:00
Joe Drew
0a4da78c18
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
123b07964c
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
2012-08-14 14:06:12 -04:00
Benoit Girard
d0141bb4a3
Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar
2012-07-31 11:17:43 -04:00
Nicolas Silva
385b95cda7
Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel
2012-07-26 14:06:23 -04:00
Jeff Muizelaar
1581fa4ffa
Bug 764594. Remove some unneeded calls in the Azure CG backend. r=bgirard
...
Some old code that was copy-n-pasted but never used.
2012-06-12 21:15:32 -07:00
Jeff Muizelaar
5c2c486261
Bug 752341. Avoid using CGContextSetTextMatrix. r=bgirard
...
CGContextSetTextMatrix has behaviour that depends on the text
drawing mode. We want consistency so avoid CGContextSetTextMatrix.
2012-05-21 10:22:11 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jeff Muizelaar
8c753ee4ed
Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
...
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Bas Schouten
6de8d873e0
Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel
2012-03-19 19:20:17 +00:00
Jeff Muizelaar
58bfd1ef2d
Bug 731117. Bound the size of CG surfaces to match cairo. r=bas
...
This fixes crashes that can happen when we try to create
an image surface from a quartz surface larger than the maximum
size supported by image surfaces.
2012-02-29 21:30:11 -05:00
Jeff Muizelaar
a84aea7da3
Bug 728028. CG: Avoid double transforming filled gradients. r=mwoodrow
...
When we fixed transformed clips it caused us to double transform gradients. We
fix this by avoiding ::PushClip when drawing gradients. This has the advantage
of saving a save and restore pair and it makes Fill() more closely match
Stroke()
2012-02-25 00:35:39 -05:00
Rafael Ávila de Espíndola
01e68210d2
Bug 723122 - fix clang build. r=jmuizelaar.
2012-02-02 10:02:06 +01:00
Ed Morley
6d7ff433c6
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-01-31 10:52:29 +00:00
Jeff Muizelaar
7b8aea0338
Bug 720482. Make CG snapshots work more like the other backends. r=joe,mattwoodrow,bas
...
This has big improvement in the performance of GetImageData() because
we make the snapshot lazily instead of using the vm_copy() method
of CGBitmapContextCreateImage()
2012-01-31 01:46:54 -05:00
Jeff Muizelaar
55007ff406
Bug 722444. Initialize mData for 0 sized surfaces. r=bgirard
...
This avoids an invalid free() during destruction found with the
online canvas test suite.
2012-01-30 11:17:42 -05:00
Benoit Girard
ff53b75aa2
Bug 722164 - Set Azure Quartz Canvas image interpolation to low for better performance. r=jmuizelaar
2012-01-29 17:08:58 -05:00
Jeff Muizelaar
b3752a12b1
Bug 720721. Properly transform the clip path in DrawTargetCG. r=mwoodrow
...
This is a little tricky because we can't put a save/restore pair
around the operation because then we'll loose the clip.
2012-01-24 15:14:50 -05:00
Jeff Muizelaar
c72a9fbe07
Bug 719429. Fix canvas data leak in DrawTargetCG. r=ajuma
...
I forgot to fix this before landing and refound it using
http://s3.zazub.com/games/circle_game/index.html
2012-01-19 10:33:35 -05:00
Jeff Muizelaar
736c82e4a2
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Matt Brubeck
fe64931e21
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
70f6f7fcf8
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Ms2ger
b4f4c7b868
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
faa524d176
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Bas Schouten
ad529f7339
Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
2011-06-24 19:41:16 +02:00