Matt Woodrow
9da84efe22
Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel
2013-07-12 17:19:29 -04:00
Phil Ringnalda
8dcbf36c38
Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
...
CLOSED TREE
2013-07-12 16:39:36 -07:00
Matt Woodrow
386a557051
Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel
2013-07-12 17:19:29 -04:00
Jeff Muizelaar
9000441a55
Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
...
This is not the best approach but it works for now. We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.
--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Jeff Muizelaar
273bf40ece
Bug 790673. Add BorrowedCGContext. r=bas
...
This can be used to safely get at the underlying CGContext.
2013-07-09 18:55:02 -04:00
Markus Stange
30c87eb8a8
Bug 888288 - Fix some typos in GFX header comments. r=nrc
2013-07-08 21:21:06 -07:00
Benoit Jacob
019e7f80e4
Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow
2013-06-16 22:07:18 -04:00
George Wright
3cc9485feb
Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel
2013-06-05 13:48:59 -04:00
George Wright
8ca610b51c
Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob
2013-05-29 14:04:25 -04:00
Bas Schouten
8cafae9a88
Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel
2013-06-27 20:20:30 +00:00
Jeff Muizelaar
6fc104ba83
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
--HG--
extra : rebase_source : a3031305302fb4abe93aa480df35ed0936d68cd8
2013-06-12 23:57:51 -04:00
Ryan VanderMeulen
01296b90c1
Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
...
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
f7aa0ef397
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
--HG--
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg => layout/reftests/svg/non-scaling-stroke-03-ref.svg
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke.svg => layout/reftests/svg/non-scaling-stroke-03.svg
extra : rebase_source : a1218b8bc5cdcec7d4dd94561d841fb6e2a8ce5d
2013-06-12 23:57:51 -04:00
George Wright
bbbab52ed9
Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow
2013-03-13 19:29:47 -04:00
George Wright
85199c3edd
[PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
...
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
content/canvas/src/CanvasRenderingContext2D.h | 5 +++
gfx/2d/2D.h | 8 +++++
gfx/2d/Factory.cpp | 10 ++++++
gfx/thebes/gfxPlatform.cpp | 34 ++++++++++++++++++++
gfx/thebes/gfxPlatform.h | 12 +++++++
6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
Ed Morley
d4f164b2da
Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563
2013-03-04 14:38:11 +00:00
Robert O'Callahan
fd02ebad7e
Bug 840695. Make aAntialiasMode default to AA_DEFAULT, because, well, it's the default. r=bas
...
--HG--
extra : rebase_source : f22329337aa120573efc13fa6ac0bb111ff0dba2
2013-02-25 12:01:16 +13:00
Anthony Jones
a867d6ab73
Bug 840693 - Add ZoomScale; r=Bas
2013-03-04 13:25:22 +13:00
Robert O'Callahan
70ccb25043
Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow
2013-02-12 17:56:28 +13:00
Phil Ringnalda
cb79659a5f
Back out 1b98c119cbfb (bug 8203709) for bustage
...
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
af668db99e
Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow
2013-02-10 00:28:18 +13:00
Brian R. Bondy
317076c311
Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas
2012-11-25 14:00:31 -05:00
Bas Schouten
bf4c845d16
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
Tobias Schneider
d0adae1591
Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar
2012-10-29 16:54:53 +01:00
Bas Schouten
1cbd658d18
Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
608b6fc192
Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
8cf02dc4f8
Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel
2012-09-24 15:02:49 +00:00
Bas Schouten
97f01fd610
Bug 792207 - Part 2: Add method to store and create from TrueType data. r=jrmuizel
2012-09-24 15:02:49 +00:00
Anthony Jones
e696585651
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
5886de8bb7
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
f900f266f1
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
cd3e2d436b
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
e1f0182516
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
Joe Drew
97cec546da
Bug 782416 - Make gfx::2d's nullptr definition actually work. r=nrc
...
--HG--
extra : rebase_source : da098e5e6d04aa1dce2ffefd4ccd0ad6ffb376b8
2012-08-15 15:24:44 -04:00
Nicholas Cameron
20cab98861
Bug 781943. nullptr macro. r=joe
2012-08-14 09:06:59 +12:00
Bas Schouten
69cb6d9312
Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel
2012-07-28 02:33:08 +02:00
Benjamin Peterson
627bc81505
Backout 46b27e913ac9 for windows failures
2012-07-27 21:46:51 -07:00
Bas Schouten
561e8409f6
Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel
2012-07-28 02:33:08 +02:00
Nicholas Cameron
a49759020b
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
34ba57113f
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
8c14bcf660
Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas
2012-07-24 22:18:38 +12:00
Bas Schouten
5dad9a7e0a
Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel
2012-06-20 23:41:16 +02:00
Nicholas Cameron
c6a97ccb55
Bug 752380. Refactor gfxFont out of Azure. r=Bas
2012-05-17 10:30:10 +12:00
Bas Schouten
d27e8a8a34
Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel
2012-05-21 17:27:30 +02:00
Ed Morley
4e2da8437f
Backout a693c64dc64e (bug 715768), c520957cc03f & 713ed280a80d (bug 756767), 20cb25a8b8ba (bug 756454), f3b5ad2320cb (bug 756424) for crashes
2012-05-21 18:56:46 +01:00
Bas Schouten
27f9d6c065
Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel
2012-05-21 17:27:30 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Bas Schouten
14cca23918
Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel
2012-05-16 03:34:18 +02:00
Bas Schouten
842825c810
Bug 717393 - Part 4: Add code for drawing subpixel AA to transparent surfaces. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
9cda15f84a
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-10 06:31:14 +02:00
Bas Schouten
ffa6f985a1
Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89).
2012-05-08 04:58:37 +02:00
Bas Schouten
0816eab785
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-08 04:31:30 +02:00
Bas Schouten
c8b3f6e810
Bug 738413 - Part 1: Add OpaqueRect API to Azure DrawTargets. r=roc
2012-05-03 23:31:02 +02:00
Bas Schouten
773069e08d
Bug 751463: Remove Azure from XUL. r=khuey
2012-05-03 21:21:52 +02:00
Bas Schouten
f7962e5181
Bug 740815 - Part 1: Add DrawTargetDual to Azure for Component Alpha drawing. r=jrmuizel
2012-04-03 22:25:52 +02:00
Bas Schouten
283bb94230
Bug 738691 - Part 1: Add CopyGlyphsToBuilder API. r=jrmuizel
2012-03-29 20:53:44 +02:00
Bas Schouten
ef709193e2
Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel
2012-03-19 19:20:17 +00:00
Joe Drew
93916b3c5b
Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
...
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -05:00
Jeff Muizelaar
8960edcfc7
Bug 717921. Add UserData to DrawTarget. r=bas
...
* * *
Bug 717921. Fix bustage about moz_xrealloc.
2012-01-13 09:47:58 -05:00
Matt Brubeck
0dc4c17288
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
2a24d649f4
Bug 717921. Add UserData to DrawTarget. r=bas
...
* * *
Bug 717921. Fix bustage about moz_xrealloc.
--HG--
extra : rebase_source : 62d38e561d1e64c725587b1de4d1ae609b828557
2012-01-13 09:47:58 -05:00
Ms2ger
ce301744c0
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
3080dfc168
Bug 717921. Add UserData to DrawTarget. r=bas
2012-01-13 09:47:58 -05:00
Bas Schouten
9be9c0d565
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
65d20c6b05
Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange
2011-12-27 21:09:44 -08:00
Bas Schouten
c30eae6661
Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc
2011-12-28 03:51:38 +01:00
Robert O'Callahan
bf1ffae6f7
Bug 705559. Part 2: Keep only one snapshot per DrawTargetD2D since all stored snapshots represent the 'last state'. Reuse that snapshot if the state hasn't changed since the last snapshot. Keep the last snapshot alive and make the snapshot's mDrawTarget weak instead. Change mDependingOnTargets/mDependentTargets to be hashsets instead of vectors. Remove SourceSurfaceD2DTarget::mIsCopy since the null-ness of mDrawTarget means the same thing. r=bas
2011-12-09 22:51:57 +13:00
Matt Woodrow
bc5c7f13cf
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Bas Schouten
9df92e2b44
Bug 666452 - Part 3: Create a minimal size temp surface for canvas shadow drawing. r=roc
2011-07-13 02:36:28 +02:00
Bas Schouten
aa8d9fe0e0
Bug 666452 - Part 1: Expose functions to get the (stroked) bounds of a path. r=BenWa sr=roc
2011-07-13 02:34:40 +02:00
Bas Schouten
70cf943058
Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
...
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Jeff Muizelaar
a4fa82cf61
2D: Add a comment about why we need to know the fill mode early. r=bas
2011-07-07 12:57:52 -04:00
Bas Schouten
756d1c7e15
Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel
2011-07-05 06:28:14 +00:00
Chris Jones
546a15416f
Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc
2011-06-29 14:34:58 -07:00
Bas Schouten
1fb2634ff2
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