Commit Graph

168 Commits

Author SHA1 Message Date
Jeff Muizelaar
a543ac8b3f 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
e83aeac3ec Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage 2012-06-21 00:32:52 +02:00
Bas Schouten
64457eec20 Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel 2012-06-20 23:41:16 +02: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
aa4bc97d31 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280 2012-04-26 10:04:35 +12:00
Jeff Muizelaar
8006b61cd7 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
7c405d7b37 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
8aad0a2626 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
0826e53b52 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
a73fc227f9 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
fb73b4d31a Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-11 16:44:08 +12:00
George Wright
c9b3bda634 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
b1497ba19b Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Bas Schouten
b2f14f0253 Bug 736460: Deal with gradient stops in a single position. r=jrmuizel 2012-06-02 00:00:28 +02:00
Ed Morley
b25cf7619c Backout fa3fe2aff1f5 (bug 756996) for bustage 2012-05-31 15:46:38 +01:00
Jacek Caban
1ff3736ac2 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-05-31 16:09:20 +02:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Nicholas Cameron
c6a97ccb55 Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Jacek Caban
be0488a3e1 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
94bed9e6d8 Bug 757329: Support changing transforms while emitting path instructions. r=roc 2012-05-22 07:29:19 +02:00
Bas Schouten
d27e8a8a34 Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
2c927c7673 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
efff313ab0 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +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
Bas Schouten
4174e69824 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
e6b26d6359 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Jeff Muizelaar
b1181a6cd4 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
2bc5761600 Merge m-c to inbound. 2012-05-17 23:23:57 -04:00
Makoto Kato
ba1e39b53d 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
4841e973e1 Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe 2012-05-17 17:54:22 -04:00
Bas Schouten
a0e90dc55b Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated 2012-05-17 02:33:01 +02:00
Makoto Kato
91b8a5cff0 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
14cca23918 Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel 2012-05-16 03:34:18 +02:00
Benoit Jacob
17b0e7f92d 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
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
e36b44e8c2 Bug 717393 - Part 3: Cache ClippedGeometry for D2D Azure backend. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
13c1257585 Bug 717393 - Part 2: Refactor clip management and add ClippedMask texture. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
98d653e97b Bug 717393 - Part 1: Add helper for creating DWriteGlyphRuns. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
870387f59e Bug 754751: Fix GetClippedGeometry to work with rectangular clips. r=jrmuizel 2012-05-15 16:57:51 +02:00
Honza Bambas
4ce304fb77 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
8a77bd6592 Bug 754138 - Prevent Rect.h warning spam. r=roc 2012-05-14 19:01:05 -04:00
Ed Morley
8b2dbc3dca Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da 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
2ec4edf80b 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
f0e0d55139 Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel 2012-05-10 06:31:14 +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
Nicholas Cameron
dafb189f11 Bug 747822 - Implement push/pop clip for Cairo/Azure. r=joe 2012-04-26 10:04:36 +12:00
Bas Schouten
ffa6f985a1 Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89). 2012-05-08 04:58:37 +02:00