Nicholas Cameron
d157fedf81
Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel
2012-07-24 22:18:38 +12:00
Nicholas Cameron
437dc05421
Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
3b6dfef245
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
0ea5f6253c
Bug 764125; small Windows Cairo text fix. r=Bas
2012-07-24 22:18:38 +12:00
Anthony Jones
6c8010e34e
Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas
2012-07-24 22:18:37 +12:00
George Wright
2656b05f5e
Bug 774728 - Do a null pointer check before using any gradient shaders in DrawTargetSkia r=mattwoodrow
...
--HG--
extra : rebase_source : 7db2d28692a3cd9cccbd542ca752950f5df90511
2012-07-25 20:11:17 -04:00
Matt Woodrow
fba08bf999
Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc
2012-07-23 15:00:36 +12:00
Matt Woodrow
01e1e7144d
Bug 741682 - Add ScaleToInsidePixels and ScaleToNearestPixels to nsRegion. r=roc
2012-07-23 15:00:36 +12:00
Bas Schouten
14b569ca4d
Bug 772726. Part 4: Fix SampleTextTexturesPS(Masked) shaders to premultiply TextColor. r=jrmuizel
...
--HG--
extra : rebase_source : 76781e7f69db6d47b3ecf8d8c37bac284133c6be
2012-07-18 01:02:08 -04:00
Matt Woodrow
4047b6bdf3
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-07-17 13:03:50 -04:00
Bas Schouten
15f0ce5314
Bug 770033 - Part 3: Deal with extend modes for D2D partial bitmap uploads. r=jrmuizel
2012-07-04 20:23:16 +02:00
Bas Schouten
ffbbf02cae
Bug 770033 - Part 2: Add order test for horizontal halfscaling code. r=jrmuizel
2012-07-04 20:21:27 +02:00
Bas Schouten
38ab7bbbf2
Bug 770033 - Part 1: Fix shuffling bug in horizontal halfscaling code. r=jrmuizel
2012-07-04 20:21:12 +02:00
Ehsan Akhgari
e4d2d195ad
Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions
2012-07-03 20:32:33 -04:00
Matt Woodrow
eb7d17c374
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-06-30 15:06:09 +12:00
Bas Schouten
61058bf288
Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel
2012-06-26 02:59:18 +02:00
Jeff Muizelaar
54317a6cbc
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
Bas Schouten
f8ade67ce6
Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage
2012-06-21 00:32:52 +02:00
Bas Schouten
8d0bcd0646
Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel
2012-06-20 23:41:16 +02:00
Bas Schouten
022fb4437b
Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel
2012-06-20 23:41:16 +02:00
Nicholas Cameron
2a39d6cdd8
Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
2012-04-26 10:04:35 +12:00
Jeff Muizelaar
6fbc239e10
Bug 763120. Avoid using vm_copy when snapshoting. r=bgirard
...
CGBitmapContextCreateImage uses vm_copy which ends up being
slower than memcpy if we actually need to make a copy. Further,
since it does the copy by pagefaulting, it's shows up poorly
on profiles. Since, we already manually track modification we
don't really have need for the copy-on-write semantics. This
change ensures that we'll only use memcpy when we need to make
a copy.
--HG--
extra : rebase_source : 93afb1423605a13cb4c76a6c389e1989aa814ae0
2012-06-11 16:21:55 -07:00
Bas Schouten
c644cf11a7
Bug 758980: Assume DirectWrite is buggy when it returns empty alpha texture bounds. r=jrmuizel
2012-06-13 10:42:23 +02:00
Matt Brubeck
72ef8c96fc
Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
...
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
ed4d4e45c3
Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
...
--HG--
extra : rebase_source : 89b3501dad46f0c1284107afe906869548623992
2012-04-26 10:04:35 +12:00
Ed Morley
7d13aab294
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
b17e4001dc
Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc
2012-06-11 16:44:08 +12:00
George Wright
9dcb1bb771
Bug 761201 - Trigger Skia's RGB565 blitter fast path by using SrcOver instead of Src. r=jrmuizel
2012-05-31 14:56:33 -04:00
Jacek Caban
3608ba0206
Bug 756996 - GCC warnings in gfx/2d r=bas
2012-06-04 13:02:02 +02:00
Bas Schouten
12cb490750
Bug 736460: Deal with gradient stops in a single position. r=jrmuizel
2012-06-02 00:00:28 +02:00
Ed Morley
698a10580d
Backout fa3fe2aff1f5 (bug 756996) for bustage
2012-05-31 15:46:38 +01:00
Jacek Caban
2a959813ec
Bug 756996 - GCC warnings in gfx/2d r=bas
2012-05-31 16:09:20 +02:00
Takanori MATSUURA
5c9f3f4809
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Nicholas Cameron
277e41b99e
Bug 752380. Refactor gfxFont out of Azure. r=Bas
2012-05-17 10:30:10 +12:00
Jacek Caban
0496c2dfda
Bug 756430 - Missing return statement in DrawTargetD2D::FillGlyphsManual r=bas
...
--HG--
rename : toolkit/content/tests/widgets/test_menubar_gtk.xul => toolkit/content/tests/widgets/test_menubar.xul
rename : toolkit/content/tests/widgets/window_menubar_gtk.xul => toolkit/content/tests/widgets/window_menubar.xul
extra : rebase_source : 1f231cb0a881091853319a9e311405182a4e07f1
2012-05-21 11:03:06 +02:00
Bas Schouten
990e913754
Bug 757329: Support changing transforms while emitting path instructions. r=roc
2012-05-22 07:29:19 +02:00
Bas Schouten
b04ba2bf25
Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel
2012-05-21 17:27:30 +02:00
Bas Schouten
d6881666b8
Bug 756454: User 2D texture for gradient realizations. r=jrmuizel
2012-05-21 17:24:05 +02:00
Bas Schouten
f0b2b86750
Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel
2012-05-21 17:24:00 +02:00
Ed Morley
c6b0785957
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
8444e2eeeb
Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel
2012-05-21 17:27:30 +02:00
Bas Schouten
c89569b17b
Bug 756454: User 2D texture for gradient realizations. r=jrmuizel
2012-05-21 17:24:05 +02:00
Bas Schouten
4287a47aa4
Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel
2012-05-21 17:24:00 +02:00
Jeff Muizelaar
6ee514463a
Bug 752341. Avoid using CGContextSetTextMatrix. r=bgirard
...
CGContextSetTextMatrix has behaviour that depends on the text
drawing mode. We want consistency so avoid CGContextSetTextMatrix.
--HG--
extra : rebase_source : c6e46252823586d947ec1dd19db7df980dee23f8
2012-05-21 10:22:11 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
9bc3429f7a
Merge m-c to inbound.
2012-05-17 23:23:57 -04:00
Makoto Kato
eba5513681
Bug 756010 - Don't build ImageScalingSSE2.cpp on VC2005 due to no _mm_castsi128_ps. r=bas
2012-05-18 11:17:26 +09:00
Nicholas Cameron
13a632fa04
Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe
2012-05-17 17:54:22 -04:00
Bas Schouten
1e9105b35d
Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated
2012-05-17 02:33:01 +02:00
Makoto Kato
b843767fc2
Bug 753772 - [VC8 (SeaMonkey)] gfx/2d/Factory.cpp compilation fails since bug 732985 landed. r=bas
2012-05-16 17:40:51 +09:00
Bas Schouten
17982eb2b6
Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel
2012-05-16 03:34:18 +02:00
Benoit Jacob
6598b33e08
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Bas Schouten
73d50f4a6a
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
9348b020c7
Bug 717393 - Part 3: Cache ClippedGeometry for D2D Azure backend. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
28581d2aad
Bug 717393 - Part 2: Refactor clip management and add ClippedMask texture. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
e82d65b328
Bug 717393 - Part 1: Add helper for creating DWriteGlyphRuns. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
0a269a2595
Bug 754751: Fix GetClippedGeometry to work with rectangular clips. r=jrmuizel
2012-05-15 16:57:51 +02:00
Honza Bambas
778033e649
Bug 753790 - define hypotf as _hypotf in gfx/2d/Tools.h when building with MSCV9 or older+include emmintrin.h in ImageScalingSSE2.cpp, r=bas
2012-05-15 16:44:25 +02:00
David Zbarsky
efdd0b3f7f
Bug 754138 - Prevent Rect.h warning spam. r=roc
2012-05-14 19:01:05 -04:00
Ed Morley
d38b916352
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Robert O'Callahan
69c4c13441
Bug 681192. Part 0.1: Add BaseRect::ClampPoint. r=bas
...
--HG--
extra : rebase_source : 32e086725d450d8867a4b5978cd76a2f03609572
2012-05-10 17:24:17 +12:00
Bas Schouten
a1e540b756
Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel
2012-05-10 06:31:14 +02:00
Bas Schouten
ba7b7826bb
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-10 06:31:14 +02:00
Nicholas Cameron
c22151c2bc
Bug 747822 - Implement push/pop clip for Cairo/Azure. r=joe
2012-04-26 10:04:36 +12:00
Bas Schouten
e2245a8bc2
Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89).
2012-05-08 04:58:37 +02:00
Bas Schouten
6e06e63991
Bug 732985 - Followup 2: Only compile HasCPUIDBit when using SSE2. r=bustage
2012-05-08 04:52:06 +02:00
Bas Schouten
a1f9436ef2
Bug 732985 - Followup: Fix include order in gfx/2d Makefile. r=bustage
2012-05-08 04:40:13 +02:00
Bas Schouten
f1cad61c49
Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel
2012-05-08 04:31:30 +02:00
Bas Schouten
ca48ea5c42
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-08 04:31:30 +02:00
Bas Schouten
12b9c87e20
Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc
2012-05-03 23:41:37 +02:00
Bas Schouten
b23f9ad1b3
Bug 738413 - Part 1: Add OpaqueRect API to Azure DrawTargets. r=roc
2012-05-03 23:31:02 +02:00
Bas Schouten
700c1894dd
Bug 751463: Remove Azure from XUL. r=khuey
2012-05-03 21:21:52 +02:00
Jeff Muizelaar
d2356ee6d6
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
8fcd3b1235
Bug 745054 - Part 2: Allow factory construction of Skia drawtargets on all platforms. r=mattwoodrow
2012-04-13 04:10:22 +02:00
Bas Schouten
038184f126
Bug 745054 - Part 1: Fix Skia compilation on windows. r=mattwoodrow
2012-04-13 04:10:22 +02:00
Bas Schouten
bdc56d9de0
Bug 742566: Add stand-alone unit test framework to Azure. r=jrmuizel
2012-04-12 02:03:07 +02:00
Bas Schouten
ced03e7ec4
Bug 719776 - Part 5: Fix MSVC build files for Azure. r=jrmuizel
2012-04-12 02:03:07 +02:00
Bas Schouten
1288fbb92c
Bug 719776 - Part 4: Do not depend upon mozalloc inside Azure. r=jrmuizel
2012-04-12 02:03:07 +02:00
Bas Schouten
36ca188749
Bug 719776 - Part 3: Only include ScaledFontWin when using Skia. r=jrmuizel
2012-04-12 02:03:07 +02:00
Matt Woodrow
721e5429cc
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Ehsan Akhgari
49598484f5
Backed out changeset 690cba3bb817 (bug 719776) because of build failures
2012-04-03 17:49:59 -04:00
Matt Woodrow
47b3a0a846
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Bas Schouten
397da36bfc
Bug 740815 - Part 1: Add DrawTargetDual to Azure for Component Alpha drawing. r=jrmuizel
2012-04-03 22:25:52 +02:00
Matt Woodrow
cf0ac03d81
Bug 740560 - [Azure] Add Factory::CreateDrawTargetForData. r=Bas,gw280
2012-04-02 15:15:08 -04:00
Joe Drew
a0a15d0e56
Bug 739969 - Port patch from bug 633627 to use fixed point division instead of integer. r=jmuizelaar
2012-04-01 15:16:33 -04:00
George Wright
b8f758f5bc
Bug 740963 - [Skia] Handle non-multiple-of-two dash lengths in HelpersSkia::StrokeOptionsToPaint(). r=jrmuizel
2012-03-30 17:36:34 -04:00
Bas Schouten
2bdf71a9a7
Bug 738691 - Part 1: Add CopyGlyphsToBuilder API. r=jrmuizel
2012-03-29 20:53:44 +02:00
Jeff Muizelaar
b91dddfcfa
Bug 738919. Accept dash arrays of length > 0. r=mwoodrow
...
I copied a bug from the skia code here. This fixes the CG
version and puts a note into the skia code.
2012-03-26 22:50:08 -04:00
Bas Schouten
c098f1f9b2
Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel
2012-03-19 19:20:17 +00:00
Bas Schouten
6e7653caf4
Bug 717302: Make sure to mark transform dirty after resetting to push clip. r=jrmuizel
2012-03-15 20:26:10 +00:00
Jonathan Watt
1374ace393
Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas.
2012-03-02 08:28:59 +00:00
Justin Lebar
62dbeeb1ab
Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo
2012-02-29 22:56:43 -05:00
Jeff Muizelaar
ec40979a31
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.
--HG--
extra : rebase_source : 6ef9c66a91068f75ddef90a3453a7360dd91fa78
2012-02-29 21:30:11 -05:00
Jeff Muizelaar
956ea69c6a
Bug 729850. CG: Get the point order correct when transforming a path. r=mwoodrow
2012-02-25 00:35:41 -05:00
Jeff Muizelaar
937c5ca852
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
Jeff Muizelaar
a6b24bfbf7
Bug 729145. Don't ignore curves when we don't have a current point. r=mwoodrow
...
This was a copy & paste typo and is caught by
http://philip.html5.org/tests/canvas/suite/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html
which is not in our test suite.
--HG--
extra : rebase_source : dc77d4bfa4da0d79e97da1e10e72bbd77223e8fa
2012-02-22 17:06:02 -05:00
Bas Schouten
0d910f5ed3
Bug 726951: Correctly use height to normalize mask v-texture coordinate. r=jrmuizel
2012-02-16 04:08:08 +01:00
Jeff Muizelaar
c6320b4170
Bug 726764. Avoid leaking CGPaths when getting text paths. r=joe
2012-02-14 17:59:11 -05:00
George Wright
0635b52db3
Bug 723110. Refactor font code to lay the groundwork for having a ScaledFontFreetype class. r=jrmuizel
2012-02-13 14:58:01 -05:00
Nathan Froyd
b9d5bef2be
Bug 724275 - fix -Wswitch warnings; r=jrmuizel
2012-02-04 07:22:47 -05:00
Rafael Ávila de Espíndola
f6cbb34577
Bug 723122 - fix clang build. r=jmuizelaar.
2012-02-02 10:02:06 +01:00
Ed Morley
08314b3ec8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-01-31 10:52:29 +00:00
Jeff Muizelaar
f687321a23
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
Bas Schouten
89db024398
Bug 718730: Allow creating a bitmap from just an A8 texture. r=jrmuizel
2012-01-31 06:15:23 +01:00
Bas Schouten
b6c6b4d6dc
Bug 719136: Don't attempt to upload when there's nothing to upload. r=jrmuizel
2012-01-31 06:15:23 +01:00
Marco Castelluccio
1e527c9676
Bug 702158 - [Skia] Get Skia backend working on Linux, part 2
2012-01-31 10:24:27 +09:00
Jeff Muizelaar
c6a61d7d9a
Bug 722444. Initialize mData for 0 sized surfaces. r=bgirard
...
This avoids an invalid free() during destruction found with the
online canvas test suite.
--HG--
extra : rebase_source : e1aeff36e557b045fbaff38d7b46fdf91956ae49
2012-01-30 11:17:42 -05:00
Benoit Girard
33ac1e18fe
Bug 722164 - Set Azure Quartz Canvas image interpolation to low for better performance. r=jmuizelaar
2012-01-29 17:08:58 -05:00
George Wright
f175ca9984
Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
...
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Joe Drew
24e53f97aa
Bug 719631 - Support creating offscreen DrawTargets for the Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 6103e88ec0de91c16aa36829db1e8c988920bcfe
2012-01-27 13:09:20 -05:00
Joe Drew
fcbcf9f7e7
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
84e78d7e00
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
6f502219b5
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
Matt Woodrow
196bdab913
Bug 716415 - Enable soft clipping with Skia in Azure. r=gwright
2012-01-19 17:48:35 +13:00
Matt Woodrow
6c5402ee40
Bug 716415 - Update Azure for Skia API changes. r=gwright
2012-01-19 17:48:35 +13:00
Matt Woodrow
eca8f67d5a
Bug 716802 - Implement new 2D API functions. r=gwright
2012-01-19 17:48:33 +13:00
Jeff Muizelaar
5b18ceba55
Bug 717921. Add UserData to DrawTarget. r=bas
...
* * *
Bug 717921. Fix bustage about moz_xrealloc.
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
d2397bb29b
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Matt Brubeck
717184f6d9
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
3fadf04e1c
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
Jeff Muizelaar
529f347f49
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
...
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Joe Drew
e8ce3c3d82
Bug 473236 - Remove executable bits from ScaledFontSkia.*. r=jrmuizel DONTBUILD
2012-01-16 16:29:42 -05:00
Joe Drew
8cc05dbabc
Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
...
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Joe Drew
6593f1f545
Bug 715652 - Jeff's review requested changes which were easier to implement on top of path support. r=jrmuizel
...
--HG--
extra : rebase_source : 1918afdd0ea2629169dff36353fdf01d66377e26
2012-01-09 17:19:11 -05:00
Joe Drew
66ceb3e991
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
4c94d92fc6
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
e5a1558ee6
Bug 711063 - Part 1.5: Add operator to gfx::Matrix for size transformation. r=jrmuizel
2012-01-05 08:17:51 +01:00
Joe Drew
f2f60e1a73
Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas
2012-01-04 18:02:59 -05:00
Joe Drew
3a35e54343
Bug 705204 - Add mozilla::gfx::Matrix::operator!= and operator==. r=Bas
2012-01-04 18:02:59 -05:00
Joe Drew
b5c69f08ff
Bug 705200 - Add mozilla::gfx::Matrix::IsIdentity(). r=Bas
2012-01-04 18:02:59 -05:00
Bas Schouten
03a07b498c
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
ef2c35d259
Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange
2011-12-27 21:09:44 -08:00
Bas Schouten
73338f5f2f
Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc
2011-12-28 03:51:38 +01:00
Jacek Caban
bc99c7e07d
Bug 711385 - DrawTargetD2D.h fails to compile on mingw r=bas.schouten
2011-12-19 14:06:10 +01:00
Bas Schouten
30e9aaa45c
Bug 710509: Allow Skia to be easily switched off. r=khuey
2011-12-14 08:04:32 -05:00
Robert O'Callahan
8da82fdaeb
Bug 705559. Part 4: Speed up AddDependencyOnSource by exiting early when we already have the dependency. r=bas
2011-12-09 22:53:14 +13:00
Robert O'Callahan
b372c99c3b
Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas
2011-12-09 22:53:14 +13:00
Robert O'Callahan
f8d6c819fc
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
Jeff Walden
461e38f5e8
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Robert O'Callahan
81cdee0bdd
Bug 705173. Make mDependentTargets weak by tracking the inverse relationship in mDependingOnTargets. In Flush(), remove dependencies on other targets. r=bas
2011-11-25 15:12:40 +13:00
Kyle Huey
47d524c029
Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me
2011-11-21 09:56:24 -05:00
Joe Drew
269d23bf72
Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow
2011-11-18 22:19:24 +13:00
Ed Morley
aa5192da19
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
b742a745e6
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Joe Drew
e4e41060d9
Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow
2011-11-14 17:29:28 +13:00
Joe Drew
0c584068af
Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas
2011-11-14 17:29:14 +13:00
Joe Drew
41d3e91f25
Bug 685322 - Create explicit conversion constructors for Rect and Point taking IntRect and IntPoint. r=roc
2011-11-14 17:29:01 +13:00
Matt Brubeck
78721ee177
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
79b0975cc8
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Matt Woodrow
124df6dcdb
Bug 703463 - Let SourceSurfaceSkia snapshots take ownership of DrawTargetSkia pixel data when it is destroyed. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
e3d1b3bda5
Bug 703428 - Handle invalid stroke options. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
eab0e59bcb
Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
9b0b24f9e9
Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Marco Castelluccio
34d53ff8bc
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Matt Woodrow
f3a5978660
Bug 688368 - Make SourceSurfaceSkia data surfaces copy-on-write. r=joe
2011-11-03 08:55:03 +13:00
Matt Woodrow
20deb50620
Bug 698318 - Share ArcToBezier code. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
85518431cb
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Bas Schouten
f8f9365920
Bug 691571: Properly mark Azure DrawTarget changed on all drawing operations. r=jrmuizel
2011-10-05 16:08:56 +02:00
Chris Coulson
4f70e5207f
Bug 690432: Fix "format not a string literal and no format arguments" error in gfx logging code. r=bas
2011-09-29 12:25:07 -07:00
Jeff Muizelaar
531d78716c
Bug 688902. 2d: Document Color as being non-premultiplied. r=bas
2011-09-24 11:51:29 -04:00
Atul Aggarwal
3360aa4b4c
Bug 679618 - Uninitialized memory in gfx/2d/SourceSurfaceCG.cpp; r=jmuizelaar
2011-08-31 13:16:12 +01:00
Matt Woodrow
f9d4b0bc4e
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Jacek Caban
0cbb10bd5d
Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten
2011-08-23 17:35:13 +02:00
Bas Schouten
773198cdeb
Bug 676753: Support subpixel-AA for the Azure D2D backend. r=jrmuizel
2011-08-16 04:37:00 +02:00
Matt Woodrow
9486dc0d39
Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc
2011-08-03 15:04:20 +12:00
Jeff Muizelaar
783a3434f0
Bug 674003. D2D: Fix premultiplying to only premultiply the color components. r=bjacob
...
We were accidentally squaring alpha this caused our surface to end up with superluminescent values.
Fix this by only multiplying alpha with the color componenets and not itself.
2011-07-28 16:31:28 -04:00
Jeff Muizelaar
49346550bd
Bug 672646. D2D: Fix trasparent radial gradients. r=roc
...
The output merger stage was expecting premultiplied alpha
and we were giving non-premultiplied. Fix by premultiplying
in the shader.
Also adds a reftest for this situation.
2011-07-21 18:40:41 -04: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
d364586638
Bug 666452 - Part 2: Minimize drawing done with shadow in the Azure D2D backend. r=BenWa
2011-07-13 02:34:43 +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
20707018d6
Bug 668801 - Followup: Properly address review comments.
2011-07-05 08:52:48 +00:00
Bas Schouten
951afc154e
Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel
2011-07-05 06:28:20 +00:00
Bas Schouten
1234946c68
Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel
2011-07-05 06:28:17 +00: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
Ehsan Akhgari
68be621524
Merge mozilla-central and mozilla-inbound
2011-06-30 05:08:20 -04:00
Oleg Romashin
fdc131bf41
Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten
2011-06-29 15:13:21 -07:00
Bas Schouten
915c27a3f4
Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel
2011-06-28 02:10:06 +02:00
Takanori MATSUURA
bd263d1c2f
Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas
2011-06-26 23:10:35 +09:00
Chris Jones
1ed2dae061
Bug 662038, part 3: Implement dashing for d2d. r=Bas
2011-06-29 14:34:58 -07: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