Commit Graph

83 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
9c9009d7bf Bug 723122 - fix clang build. r=jmuizelaar. 2012-02-02 10:02:06 +01:00
Ed Morley
56c92d9d94 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-01-31 10:52:29 +00:00
Jeff Muizelaar
b17cef0f85 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
3969125446 Bug 718730: Allow creating a bitmap from just an A8 texture. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
614c2ee69d 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
db0b22097c Bug 702158 - [Skia] Get Skia backend working on Linux, part 2 2012-01-31 10:24:27 +09:00
Jeff Muizelaar
52ec6df53b 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
203dc9e4c5 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
d95f49e214 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
cb96f38c4a 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
b124e5c693 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
d10366daf2 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
6fd6cdc9c1 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
f6056a6e18 Bug 716415 - Enable soft clipping with Skia in Azure. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
55fe2b1be1 Bug 716415 - Update Azure for Skia API changes. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
d1919de730 Bug 716802 - Implement new 2D API functions. r=gwright 2012-01-19 17:48:33 +13:00
Jeff Muizelaar
cb7f95173b 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
3036b1473f Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Matt Brubeck
4b1bdf5b96 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
1381616ab4 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
0ac4c9201a Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Joe Drew
0cb071a623 Bug 473236 - Remove executable bits from ScaledFontSkia.*. r=jrmuizel DONTBUILD 2012-01-16 16:29:42 -05:00
Joe Drew
8b86d40164 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
c4651e1eae 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
9371772113 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
188a24ed30 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
c26856a098 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
4eba5b7917 Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas 2012-01-04 18:02:59 -05:00
Joe Drew
096b73608a Bug 705204 - Add mozilla::gfx::Matrix::operator!= and operator==. r=Bas 2012-01-04 18:02:59 -05:00
Joe Drew
8d91c03a0b Bug 705200 - Add mozilla::gfx::Matrix::IsIdentity(). r=Bas 2012-01-04 18:02:59 -05:00
Bas Schouten
ec94a42be5 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
b8c127164a Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange 2011-12-27 21:09:44 -08:00
Bas Schouten
3c44803f6b 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
3925b84b1c Bug 711385 - DrawTargetD2D.h fails to compile on mingw r=bas.schouten 2011-12-19 14:06:10 +01:00
Bas Schouten
8d17378543 Bug 710509: Allow Skia to be easily switched off. r=khuey 2011-12-14 08:04:32 -05:00
Robert O'Callahan
b6f282fb4f 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
f7fb3da105 Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan
6857f8955e 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
f76f7d6da3 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Robert O'Callahan
f9ccb9e0ae 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
f526cd64fb Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me 2011-11-21 09:56:24 -05:00
Joe Drew
9099fa5d4d 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
9f6a8ca44b Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-18 08:43:10 +00:00
Kyle Huey
990c3809c4 Back out Bug 685767 for leaking. 2011-11-17 13:01:11 -05:00
Joe Drew
36c2db467c 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
1bb0d43d4b 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
22c35b1a70 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
65a5f3ea90 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
d303f502ae Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Matt Woodrow
7af9c13518 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