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