Henri Sivonen
0a59ad7382
Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame.
2014-01-02 09:18:20 +02:00
Nicholas Cameron
42cc7a3660
Bug 898828. Don't even try async video on Windows. r=nical
2013-12-21 10:37:07 +13:00
Tor Arvid Lund
9d33e07888
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Jonathan Kew
3d30fb0ba7
bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc
2013-12-19 20:21:11 +00:00
Jonathan Kew
b3bc7a8f7a
bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc
2013-12-19 20:20:57 +00:00
Isura Edirisinghe
3eedf5ced4
Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa
2013-12-19 11:42:19 -05:00
Vladimir Vukicevic
4667d6c4ff
b=929508; implement gfxWindowsPlatform::GetScreenDepth; r=jrmuizel
2013-12-18 13:09:10 -05:00
Jeff Muizelaar
d2a14a64bd
Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas
...
gfxSurfaceDrawable::Draw() sets a gfxPattern(Snapshot()) to the gfxContext's
pattern. If the gfxSurfaceDrawable is created by
CreateSamplingRestrictedDrawable it will be destroyed before the Snapshot().
This causes the Snapshot to be copied unnecessarily.
If we set the pattern to something else we'll destroy the snapshot before the
gfxSurfaceDrawable and save a copy.
--HG--
extra : rebase_source : 03864e8a0fe021940747cf691df30ec51e4d8b2d
2013-12-17 13:33:34 -05:00
Chris Lord
aa34694d94
Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
...
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Trevor Saunders
c2b2fcd3d4
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Nicholas Cameron
09c8658b26
Bug 950504. Remove MatrixForThebesMatrix. r=mattwoodrow
...
--HG--
extra : rebase_source : 77103221abbb55d23f9d399d4973ef0b8f269079
2013-12-16 11:17:58 +13:00
Jim Mathies
c4383a34ed
Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy
2013-12-14 14:40:55 -06:00
Kevin Simons
63eee7d672
Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
...
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05:00
Bill McCloskey
88328fd5a2
Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg)
2013-12-12 14:13:20 -08:00
John Daggett
6344fce7da
Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam
2013-12-12 09:28:40 +09:00
Matt Woodrow
22a56a80d8
Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc
2013-12-12 10:05:26 +13:00
Matt Woodrow
f74e3ca655
Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas
2013-12-12 10:05:26 +13:00
Matt Woodrow
3426c1d1b0
Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc
2013-11-27 14:05:03 +13:00
Matt Woodrow
9cd39ec436
Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas
2013-12-12 10:05:26 +13:00
Jacek Caban
ab8a15b97f
Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten
2013-12-11 10:46:41 +01:00
John Daggett
648ee5ceb5
Bug 947812 - log font name loading times. r=bas
2013-12-11 09:58:27 +09:00
John Daggett
dd13cfa6ca
Bug 947812 - use DirectWrite API for fullname/psname lookup. r=bas
2013-12-11 09:58:19 +09:00
Ehsan Akhgari
d9cd92fa17
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Martin Stransky
f09c774110
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Jeff Muizelaar
e8b2f580b5
Bug 947379. Remove MOZ_PANGO. r=jfkthame
...
We haven't been able to build with this since
2008. Time for it to go.
--HG--
extra : rebase_source : 0e25f91e2a4308d3873ca2c240347b25d70d69c5
2013-12-09 10:03:28 -05:00
Nicholas Nethercote
e02408b49d
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
67495eb7f8
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Nicholas Cameron
0975651361
Bug 945088. Use the correct device offset in gfxContext. r=mattwoodrow
2013-12-09 21:04:44 +13:00
Birunthan Mohanathas
58325c73be
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
John Daggett
75f1ad492e
Bug 947025 - Limit the time spent in RunLoader to avoid chrome hang. r=roc
2013-12-06 12:47:46 +09:00
Carsten "Tomcat" Book
5ad51b9365
merge b2g-inbound to m-c
2013-12-05 12:57:24 +01:00
Andreas Gal
28fb485602
Bug 946541 - Fix Skia cache purging. r=gw280
2013-12-04 23:52:03 -05:00
Nicholas Nethercote
e9715bfc41
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Benoit Jacob
9a9e188f86
Bug 944703 - Part 2: make gfxReusableSharedImageSurfaceWrapper hold a strong reference to its ISurfaceAllocator - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Girard
cb5d1145f7
Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
...
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Ehsan Akhgari
7fc6e1f85b
Bug 945509 - Include 2D.h in gfxFont.h because it uses ScaledFont; r=glandium
2013-12-02 18:53:14 -05:00
Robert O'Callahan
cc183546b2
Bug 942672. When a gfxContext has a DrawTarget there's an extra device transform that we need to take account of here. r=mattwoodrow
...
--HG--
extra : rebase_source : 0b4c182ea6b1934b3136623539e4b8482de1481f
2013-12-02 10:10:50 +13:00
Benoit Jacob
223ed468ec
Bug 944571 - Fix the non-unified build of gfxBlur.cpp - no review, trivial compilation fix
2013-11-30 21:21:03 -05:00
Matt Woodrow
370c4bcb50
Bug 944571 - Part 1: Convert gfxAlphaBoxBlur to use Moz2D surfaces instead of Thebes. r=Bas
2013-10-02 17:20:47 +13:00
Ms2ger
cf53814bbc
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
b2a48b6753
Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal
2013-11-28 15:10:38 +01:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Andreas Pehrson
77bbd54cd0
Bug 943293 - Add CopyTo in gfxImageSurface to copy to a DataSourceSurface
2013-11-27 11:03:36 +01:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
ac70dfeea9
Bug 939585 - Build gfx/thebes in unified mode; r=BenWa
2013-11-27 08:03:04 -05:00
Jonathan Kew
a903d9cee4
bug 943319 - use our standard ArrayLength() instead of a custom macro. r=jdaggett
2013-11-27 11:03:43 +00:00
Jonathan Kew
471fb8aa1d
bug 943270 - use EncodingUtils::DecoderForEncoding instead of nsICharsetConverterManager::GetUnicodeDecoderRaw when decoding font names. r=jdaggett
2013-11-27 11:03:02 +00:00
Markus Stange
de91212dad
Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa
2013-11-27 08:33:39 +01:00
Nicholas Cameron
784b7170d5
Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow
2013-11-27 11:15:17 +13:00
Matt Woodrow
7f988c9761
Bug 940845 - Follow-up to add comments that got missed when rebasing.
2013-11-26 12:29:20 +13:00
Matt Woodrow
5d9eb4fc08
Bug 940845 - Part 5: Propogate the blur standard deviation up instead of the blur radius. r=roc
2013-11-26 12:09:04 +13:00
Matt Woodrow
a44cfe34e6
Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc
2013-11-26 12:08:29 +13:00
Matt Woodrow
dabf08b4eb
Bug 940845 - Part 1: Remove unused offset parameter from gfxAlphaBoxBlur. r=roc
2013-11-26 12:05:36 +13:00
John Daggett
595e66c8e0
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Phil Ringnalda
0ff610e3ae
Back out d280a1c64f76 (bug 939585) for Mac build bustage
...
CLOSED TREE
2013-11-24 18:02:14 -08:00
Benoit Girard
2be7874609
Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob
2013-11-21 14:22:45 -05:00
Benoit Girard
74c90d1629
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Mike Hommey
67df42f71d
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Jonathan Kew
bb53b2503a
bug 941940 - don't render stray <CR> characters ( entities) in the DOM as hexboxes, just leave them invisible. r=roc
2013-11-22 21:43:36 +00:00
Trevor Saunders
15a29c7ef2
bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob
2013-11-22 14:45:50 -05:00
Ed Morley
515fd9a20d
Backed out changeset c30371a66429 (bug 941450)
2013-11-22 15:59:22 +00:00
Mike Hommey
210fcbefa5
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Masatoshi Kimura
ad897a7f12
Bug 925599 - Replace gfxWindowsPlatform::WindowsOSVersion(). r=Bas
2013-11-22 12:35:40 +09:00
Wes Kocher
60d2ec27bd
Merge m-c to inbound
2013-11-21 19:18:18 -08:00
Nicholas Cameron
aa767195a9
Bug 900248. Better handling of device reset and recreation. r=Bas
2013-11-22 11:07:57 +13:00
Nicholas Cameron
4e826ed7fd
Bug 900248. Only create d3d9 device on the main thread. r=Bas
2013-11-22 11:07:57 +13:00
Nicholas Cameron
f93ee05073
Bug 900248. Rebuild the d3d9 device. r=Bas
2013-11-22 11:07:56 +13:00
Jonathan Kew
9a8222fab6
bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc
2013-11-21 21:31:53 +00:00
Chris Kitching
43102ed4c2
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
John Daggett
f66ccc7e96
Bug 913264 - add none value to font-variant-ligatures. r=dbaron
2013-11-19 13:30:25 +09:00
Mike Hommey
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Jonathan Watt
a325621454
Bug 939589 - Gut gfxPath. r=Bas
2013-11-18 09:42:51 +00:00
Matt Woodrow
d7d21d7937
Bug 923341 - Part 3: Use azure for CreateSamplingRestrictedDrawable. r=seth
2013-11-13 17:32:48 +13:00
Matt Woodrow
aed5bc94d9
Bug 923341 - Part 1: Add a gfxSurfaceDrawable constructor for a DrawTarget. r=seth
2013-11-13 17:31:12 +13:00
Benoit Jacob
4ecaf505b0
Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas
2013-11-17 21:06:23 -05:00
Benoit Girard
6702bd8431
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Benoit Jacob
f4004217bc
Bug 937204 - 1/3. Simplify the D3D9_LAYERS gfxinfo check and only run it on Windows - r=jrmuizel
2013-11-15 11:28:40 -05:00
Nicholas Cameron
d1aab0c912
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE.
2013-11-15 10:54:25 +13:00
Joshua Cranmer
af58170ec7
Bug 935789, part 2: Implement RotateLeft/RotateRight in MFBT and use them, r=Waldo.
...
--HG--
extra : rebase_source : efda8cfde4ec1b8cee007f528d682830f43f9111
2013-11-12 18:24:56 -06:00
Jonathan Kew
fcda2c5463
bug 909344 - treat U+007F as a control, not a printable character. r=roc
2013-11-12 23:53:07 +00:00
Jonathan Kew
538136cf67
bug 909344 - render stray control characters as hexboxes instead of invisible. r=roc
2013-08-26 16:32:55 -07:00
Jonathan Kew
f1a0044783
backout 739edf98ca0b (bug 909344) for reftest failure in layout/reftests/bugs/388367-1.html.
2013-11-12 10:13:10 +00:00
Jonathan Kew
7001ac9184
bug 909344 - render stray control characters as hexboxes instead of invisible. r=roc
2013-08-26 16:32:55 -07:00
Jaroslav Kopecký
c6168a4dd0
Bug 936196 - Explicitly include unistd.h for getpid() on XP_UNIX. r=BenWa
2013-11-08 09:04:30 -05:00
Andreas Gal
23a6963608
Bug 930451 - Part 3: Use the gradient cache for SVG gradients as well. r=roc
2013-11-08 17:50:39 +13:00
Andreas Gal
c5af5332e9
Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc
2013-11-08 17:50:39 +13:00
Peter Chang
785fc745d1
Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280
2013-11-07 09:20:58 -05:00
Matt Woodrow
082e0fed8c
Bug 934674 - Store the correct transform (with device offset applied) for the pattern. r=Bas
2013-11-07 22:08:56 +13:00
Benoit Girard
8ff314dc5d
Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
...
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Benoit Girard
19720a9e44
Bug 935701 - Get drawing recording working on b2g. r=bas
...
--HG--
extra : rebase_source : 783627519f291d187552b464689315ce2697df95
2013-11-06 18:11:18 -05:00
Nicholas Nethercote
b9e0d05f7e
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
fbfefcc32a
Bug 917496 - Disable GPUAdapterReporter because its values are frequently bogus. r=Hughman.
...
--HG--
extra : rebase_source : ae3bbbc142dfcf7101aaac94acc52e67e68e97fd
2013-11-05 14:01:24 -08:00
Matt Woodrow
bc7e07900f
Bug 934533 - Remove the azure content enabled pref since we require it to be enabled for all platforms now. r=nrc
...
--HG--
extra : rebase_source : f5152dd3c088009c80cda2844589967ed047e888
2013-11-06 08:54:12 +13:00
Chris Lord
d6149012b6
Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa
2013-10-31 15:53:51 +00:00
Jonathan Kew
b33da98ea4
bug 833087 - stop background font info loading when quit-application notification is observed. r=BenWa
2013-11-05 00:53:47 +00:00
Chris Peterson
fa4968b456
Bug 934261 - Use PostScript font name "LucidaGrande" for CoreText fallback. r=jdaggett
2013-11-02 12:51:48 -07:00
Matt Woodrow
b02e461257
Bug 922942 - Avoid crashes with PointInFill. r=Bas
...
--HG--
extra : rebase_source : cf209258a71342590c3d3488912d85df86a14b8b
2013-11-04 14:47:18 +13:00
Matt Woodrow
115c1e0543
Bug 922515 - Don't apply a skew matrix to the DT when it's cairo, since we use the cairo font with it already applied. r=Bas
...
--HG--
extra : rebase_source : 289ed3a9e02bd5499b49aa1181dd35bf16eba5d3
2013-11-04 14:47:18 +13:00
Jonathan Watt
de271da5c3
Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas
2013-11-01 13:29:53 +00:00
Ed Morley
b5a8731bc5
Backed out changeset 9eeddb8dc383 (bug 931915)
2013-11-01 14:34:51 +00:00
James Willcox
31af00dfd4
Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
...
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Jonathan Watt
8131d3fc10
Bug 931915, part 2 - Make gfxContext::RoundedRectangle use Moz2D's AppendRoundedRectToPath helper. r=Bas
...
--HG--
extra : rebase_source : e42577c112c2154b13e7e91cb4d7e54a30a411ce
2013-11-01 13:29:53 +00:00
Ryan VanderMeulen
3181194b69
Merge m-c to inbound on a CLOSED TREE.
2013-10-31 16:10:29 -04:00
Jonathan Kew
a242797cb7
bug 894798 - disable word-cache expiration timer on release builds. r=roc
2013-10-29 14:02:36 +00:00
Jonathan Watt
b52b5357b6
Bug 931769, part 1 - Make gfxPattern::GetPattern use its mExtend member. r=Bas
2013-10-29 08:14:39 +00:00
Milan Sreckovic
d112776b13
Bug 922600 - Avoid integer overflow. r=bjacob
2013-10-16 16:49:27 -04:00
Robert O'Callahan
971539a169
Bug 924679. Part 7: Remove gfxAlphaRecovery::Analysis since no-one uses it. r=mattwoodrow
...
--HG--
extra : rebase_source : f0481abfa3e5c4855f71cec66eea5c4501fd8565
2013-10-25 23:25:40 +02:00
Robert O'Callahan
aa07fb8924
Bug 924679. Part 6: Remove gfxXlibNativeRender::DrawOutput and convert tmpXlibSurface from gfxXlibSurface to cairo_surface_t. r=karlt
...
--HG--
extra : rebase_source : 724e9b7881949c868ba528250de6ce9d24eb2752
2013-10-25 23:25:40 +02:00
Robert O'Callahan
9590eb387d
Bug 924679. Part 5: Add gfxXlibSurface::CreateCairo. r=karlt
...
Factor out code from gfxXlibSurface::Create so it can be used to create a
cairo_surface_t instead of gfxXlibSurface. Except we leave the existing code
alone since it's really simple.
--HG--
extra : rebase_source : 1c3c0b9fd9997010d80240606c9fa4964361fc87
2013-10-25 23:25:40 +02:00
Robert O'Callahan
d0613ea5a7
Bug 924679. Part 3: Make gfxXlibNativeRenderer::DrawWithXlib callback take a cairo_surface_t instead of a gfxXlibSurface. r=karlt
...
--HG--
extra : rebase_source : 75bb23badb1f7a65cc7e82efca1ddb92e49d7e13
2013-10-25 23:25:40 +02:00
Robert O'Callahan
a04236ab2b
Bug 924679. Part 2: Create static gfxXlibSurface::GetColormapAndVisual so it can be used without a gfxXlibSurface. r=karlt
...
--HG--
extra : rebase_source : 10599d49077114cd214ceafd811bfea3135bb9ff
2013-10-25 23:25:40 +02:00
Robert O'Callahan
6ce0733df8
Bug 924679. Part 1: Band-aid robustness fix. r=mattwoodrow
...
--HG--
extra : rebase_source : fee33a1412e123adb2fbd91221684c1ece8d8b86
2013-10-25 23:25:39 +02:00
Brendan Dahl
f003bef988
Bug 811002 - Part 2: Never create a DIB when printing. r=bas
2013-10-25 14:50:29 +00:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Jonathan Watt
b901d8ac10
Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas
2013-10-24 17:50:26 +02:00
Jonathan Watt
42a45c35e4
Bug 930564 - Expose the gfxPath ctor that takes a Moz2D path to aid in converting code to Moz2D. r=Bas
2013-10-24 17:50:26 +02:00
Ed Morley
cc5300a8f5
Backed out changeset 236bd39eb36c (bug 930564) for WinXP crashes on a CLOSED TREE
2013-10-24 18:45:16 +01:00
Ed Morley
6e6ff636f5
Backed out changeset 9cd10d6fb0de (bug 930516)
2013-10-24 18:44:55 +01:00
Markus Stange
1c0fd7d46a
Bug 924194 - Add missing include for the patch in changeset a1d74808c325 in order to fix the CLOSED TREE.
2013-10-24 18:23:22 +02:00
Markus Stange
b629b72e15
Bug 924194 - Allow using the Cairo Azure backend on Mac for testing purposes. r=jrmuizel
...
--HG--
extra : rebase_source : e5a73f212fd5979e1a4dcc5fd653b21416e979cb
2013-10-24 17:57:23 +02:00
Markus Stange
8b7f7bf981
Bug 924194 - Make gfxQuartzNativeDrawing::BeginNativeDrawing able to handle DrawTargets with a different backend than BACKEND_COREGRAPHICS (e.g. BACKEND_CAIRO). r=jrmuizel
...
--HG--
extra : rebase_source : d284993fae8681854b73f4d9f935427b98731dfa
2013-10-24 17:53:39 +02:00
Jonathan Watt
96956cef65
Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas
2013-10-24 17:50:26 +02:00
Jonathan Watt
2d20a7ba1a
Bug 930564 - Expose the gfxPath ctor that takes a Moz2D path to aid in converting code to Moz2D. r=Bas
2013-10-24 17:50:26 +02:00
Matt Woodrow
7eebb50480
Bug 844819 - Don't create DrawTargets for invalid cairo surfaces. r=Bas
2013-10-24 16:35:29 +02:00
Matt Woodrow
f1e0403e39
Bug 930033 - Draw layer borders for the bounding box of the visible region for ThebesLayers. r=nical
2013-10-24 16:35:29 +02:00
Jonathan Watt
4dcd4d3589
Bug 930050 - Remove some dead graphics code. r=Bas
2013-10-24 14:46:37 +02:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Simon Montagu
a1e2ce99aa
Add new bidi control characters defined in Unicode 6.3. Bug 922530, r=jfkthame
2013-10-02 16:07:02 +03:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
George Wright
e4943a763f
Bug 920160 - Add prefs for SkiaGL cache size r=snorp
...
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Markus Stange
389c0d5b02
Bug 890997 - Enable OMTC on 10.6. r=bgirard
2013-10-09 13:15:54 -04:00
Jonathan Watt
8d9314d483
Bug 929350 - Allow the context for gfxContextMatrixAutoSaveRestore to be set lazily. r=mattwoodrow
2013-10-22 10:37:45 +02:00
Ehsan Akhgari
0d9df20b90
Bug 928053 - Remove some prtypes.h inclusions from gfx/; rs=bsmedberg
...
--HG--
extra : rebase_source : 229c47dfa11d1b1d36663daf87285ccd40bcc856
2013-10-18 20:34:58 -04:00
Josh Aas
38302ee0a5
Bug 869762: Use Core Foundation notifications instead of ATS for font changes on OS X. r=jdaggett
2013-10-15 23:53:52 -05:00
Matt Woodrow
0ab670ea72
Bug 922942 - Implement gfxASurface::CopyToARGB32ImageSurface using azure. r=seth
2013-10-16 14:00:31 +13:00
Ehsan Akhgari
d49da6a35b
Bug 921753 - Part 6: Define gfxPatternDrawable's destructor out of line; r=seth
2013-10-15 18:00:28 -04:00
Josh Aas
045b11fb5f
Bug 925241: Remove Quickdraw font name lookup code because it's no longer necessary and uses deprecated APIs. r=jdaggett
2013-10-15 16:17:37 -05:00
Nicholas Nethercote
73046bbae3
Bug 921923 (part 4) - Make multi-output sizeOfFoo() functions more consistent in gfx/thebes/. r=jkew.
...
--HG--
extra : rebase_source : 02ddce0e34ec6619fcaf92aa30addc77bdd8b80f
2013-10-14 19:19:47 -07:00
Matt Woodrow
76ab45c95f
Bug 926258 - Implement a Moz2D version of gfxPath. r=Bas
2013-10-15 16:23:21 +13:00
Matt Woodrow
e418bc6293
Bug 926258 - Remove gfxFlattenedPath as it doesn't match the abstraction we want for Moz2D. r=roc
2013-10-15 16:23:21 +13:00
Ehsan Akhgari
f63ca1a1a8
Bug 924019 - Do not assume that PRUnichar and UniChar/unichar are the same type; r=smichaud
2013-10-10 12:59:40 -04:00
Matt Woodrow
344c136924
Bug 923290 - Don't use the window CGContext as a source with Moz2D. r=Bas
2013-10-10 17:44:09 +13:00
Ryan VanderMeulen
499ad08449
Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
...
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange
3786553273
Bug 890997 - Enable OMTC on 10.6. r=bgirard
2013-10-09 13:15:54 -04:00
Josh Aas
e6ecaf1326
Bug 924465: Use better APIs to get ICC profile information on OS X. Maybe avoid some file i/o depending on how the OS behaves. r=mstange
2013-10-09 00:53:37 -05:00
Gian-Carlo Pascutto
73c91107c3
Bug 923170 - Require GCC 4.6.x before enabling strong enum support. r=Waldo
2013-10-08 15:25:13 -04:00
Ehsan Akhgari
a23cd291d5
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Jeff Muizelaar
e3faae1e97
Bug 922807. Always draw images with OVER. r=roc
...
There's no reason I can see to draw them with SOURCE. SOURCE is slower with the
Azure wrapper (see FillAzure()). It is also slow with cairo when we have a
clip.
--HG--
extra : rebase_source : 5c92c09a20699213ef90fad35ae8309f5ca88979
2013-10-01 21:22:44 -04:00
Nicolas Silva
1df67b87cd
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Wes Kocher
8c30d76bc7
Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage
2013-10-01 14:30:13 -07:00
Ehsan Akhgari
4f0b573862
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
18ef76b0d7
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron
6e9d987d30
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Ehsan Akhgari
cca7c5a263
Forward declare gfxMatrix as a struct, no bug
2013-09-28 18:20:45 -04:00
Bas Schouten
d457c68e85
Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel
2013-09-28 16:20:24 +02:00
Jonathan Kew
2f90b10687
bug 910506 - update harfbuzz to upstream release 0.9.21 plus latest bugfixes (commit 3d2c4f0c2ff8fab4262988aad65b170e5b479b20). r=jdaggett
2013-09-28 09:51:46 +01:00
Ryan VanderMeulen
0cfa34ad65
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Chris Kitching
9eed6c7f16
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
9a58f0b9f9
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
0d37cfdd60
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Jonathan Kew
c20f85e773
backout changesets 9a9382595fce and ff34f480df07 (bug 910506) on a CLOSED TREE for failure in reftest variation-selector-unsupported-1.html
2013-09-27 14:58:28 +01:00
Jonathan Kew
aac8635e97
bug 910506 - fix up gfxHarfBuzzShaper::GetGlyph for changed semantics of the hb_font_get_glyph callback. r=jdaggett
2013-09-27 13:22:26 +01:00
Nicholas Cameron
a8a95dc820
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Phil Ringnalda
a56199700e
Merge m-c to a CLOSED TREE m-i
2013-09-24 21:22:56 -07:00
Wes Kocher
07d04fc163
Merge b2g-i to m-c
2013-09-24 19:58:09 -07:00
Michael Wu
76f255f022
Bug 919845 - Really make Fira Sans the default font, r=jfkthame
2013-09-24 10:57:25 -07:00
Benoit Jacob
5a16c8030b
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
73b0788bc0
Bug 913872 - Take nested enums out of gfxASurface - 2/3 : manual changes - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Benoit Jacob
1d09af64ff
Bug 919219 - Trim gfxASurface more - r=jrmuizel
2013-09-24 16:45:13 -04:00
Benoit Jacob
7ae4cf3afc
Bug 919225 - Move the gfxIntSize typedef to nsSize.h to allow limiting the amount of useless #including that it forces - r=jrmuizel
2013-09-24 16:45:13 -04:00
Benoit Jacob
89bfa53c22
Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel
2013-09-24 16:45:13 -04:00
Nicholas Cameron
aed5c1666f
Bug 915940. Only report memory allocated from gfxWindowsSurfaces if it is actually allocated. r=jrmuizel
2013-09-25 14:14:39 +12:00
Ryan VanderMeulen
de22f29668
Merge m-c to inbound.
...
--HG--
rename : widget/gtk2/nsGtkIMModule.cpp => widget/gtk/nsGtkIMModule.cpp
2013-09-23 17:10:33 -04:00
Martin Stransky
4a7567357a
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-23 09:21:35 -04:00
Ehsan Akhgari
dee6c12c6f
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Ed Morley
0341739cfa
Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures
2013-09-24 16:49:11 +01:00
Anthony Jones
af656ab898
Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow
2013-09-23 15:28:16 +12:00
Nicholas Cameron
ddb224cd5c
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Anthony Jones ext:(%2C%20George%20Wright%20%3Cgwright%40mozilla.com%3E)
039b5d7811
Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa
2013-08-14 16:31:05 +12:00
Matt Woodrow
455cac99e8
Bug 916034 - Return the current surface from GetCairo when backed with a DrawTargetCairo. r=jrmuizel
2013-09-13 21:06:54 +12:00
Matt Woodrow
0b1453f93e
Bug 907926 - Enable Azure content for windows. r=nrc
2013-09-19 09:32:15 +12:00
Matt Woodrow
cf41ef0285
Bug 917703 - Mark gfxSubimageSurface as opaque if it is within the opaque rect of the parent surface. r=roc
2013-09-20 21:50:05 +12:00
Matt Woodrow
9ff7267e16
Bug 917703 - Avoid copying to a sub image in CreateSamplingRestrictedDrawable if possible. r=roc
2013-09-19 17:23:31 +12:00
Anthony Jones
63aef8e291
Bug 740200 - Azure content rendering on Linux; r=roc
2013-09-20 14:00:35 +12:00
Anthony Jones
bf9998d212
Bug 740200 - Removed some white space
2013-09-20 14:00:35 +12:00
Anthony Jones
08671d645a
Bug 740200 - Enable content pref; r=mattwoodrow
2013-09-20 14:00:35 +12:00
Wes Kocher
b03b0b7668
Backed out 5 changesets (bug 907926, bug 911393, bug 917703) due to OSX reftest bustage during an unrelated CLOSED TREE
...
Backed out changeset 94a6733b01dc (bug 907926)
Backed out changeset 44108fb6f7cc (bug 917703)
Backed out changeset f2dd2a27af69 (bug 911393)
Backed out changeset fdb0d1053128 (bug 907926)
Backed out changeset b3616b786e8f (bug 907926)
2013-09-19 17:56:18 -07:00
Matt Woodrow
92f0a0aa93
Bug 907926 - Enable Azure content for windows. r=nrc
2013-09-19 09:32:15 +12:00
Matt Woodrow
ea0898d9ec
Bug 917703 - Avoid copying to a sub image in CreateSamplingRestrictedDrawable if possible. r=roc
2013-09-19 17:23:31 +12:00
Ryan VanderMeulen
9c958fd45f
Backed out changeset 98271bb483eb (bug 914607) for crashtest/reftest crashes.
...
CLOSED TREE
2013-09-19 11:27:50 -04:00