Commit Graph

2928 Commits

Author SHA1 Message Date
Joe Drew
fb6ead6ceb Bug 706908 - Add a definition for Windows 8 to gfxPlatform. r=bbondy 2012-08-31 12:42:07 -04:00
David Anderson
1a676b6d41 Merge from mozilla-central. 2012-06-21 14:02:16 -07:00
Jonathan Kew
41d102520b bug 766326 - try Roboto as well as Droid Sans for Android default font. r=blassey 2012-06-21 07:45:55 +01:00
David Anderson
99dd2a9400 Merge from mozilla-central.
--HG--
rename : accessible/src/msaa/CAccessibleText.cpp => accessible/src/msaa/ia2AccessibleText.cpp
rename : accessible/src/msaa/CAccessibleText.h => accessible/src/msaa/ia2AccessibleText.h
2012-06-20 17:36:56 -07:00
David Anderson
0dd273f1b9 Merge from mozilla-central. 2012-06-15 15:23:58 -07:00
Bas Schouten
fecc69df4f Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Jonathan Kew
8d1e2dedbe bug 763693 - simplify the word-cache telemetry to reduce overhead. r=jdaggett 2012-06-20 20:58:19 +01:00
Jonathan Kew
b36614de01 bug 764005 - optimize gfxFontGroup::FindFontForChar for the most common case, and lift array Length() accesses out of other loops in font code. r=smontagu 2012-06-20 20:58:18 +01:00
Jonathan Kew
69145c8e73 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Kan-Ru Chen
2f1e76a0a8 Bug 764752 - Choose optimal 2D format based on off-screen format. r=joe
--HG--
extra : rebase_source : 064638dfa5fa4324aa376f794ebf10bf4d6dd2c3
2012-06-20 12:03:24 +08:00
Chris Jones
c6542471a4 Bug 759653: Use RGB24 for offscreen surfaces on android-esque platforms. r=mwu 2012-06-11 20:41:46 -07:00
Ed Morley
865fc92be0 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
9f3d34c218 Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-11 16:45:40 +12:00
Matt Woodrow
cee7c9d24b Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Nicholas Cameron
997a3716ac Bug 746896. Fix a bug with printing Azure canvas. r=joe 2012-06-15 10:00:44 +12:00
David Zbarsky
877c2bf21e Bug 764704 - Reorder initializer list in gfxReusableSurfaceWrapper r=benwa 2012-06-14 14:08:12 -07:00
John Daggett
869f32cde3 Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew 2012-06-14 15:31:56 +09:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Robert Longson
fefd1ff8c2 Bug 758505, Part 3: Avoid unnecessary invalidations on repeated calls to set the same animated value (for SMIL animations of CSS, mapped attrs, and motion). r=dholbert 2012-06-01 16:53:57 -07:00
Anthony Jones
addbceb368 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
57cabdb240 Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
ce97d078d1 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
a09794d38c 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
9bcaf104d6 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Ehsan Akhgari
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
168fb8fc56 Backout changeset 3f8e99e92344 (bug 539356) because of performance and correctness regressions 2012-07-03 20:11:59 -04:00
Jonathan Kew
847da3363a bug 754452 - use GDI synthetic italic rather than cairo font matrix when it's safe to do so, for better glyph spacing. r=jdaggett 2012-07-03 11:42:07 +01:00
Jonathan Kew
d05a119289 bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett 2012-07-03 11:35:18 +01:00
Martin Stransky
ccc6f3119c Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt 2012-06-27 20:15:32 -04:00
Nicholas Cameron
2314a427af Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas 2012-06-14 10:40:43 +12:00
Ehsan Akhgari
f70d1188f6 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (gfx parts); r=joedrew 2012-06-13 00:14:28 -04:00
Ed Morley
5e91e96ae5 Backout a55eea2c294d (bug 627699) for bustage 2012-06-13 16:07:22 +01:00
Martin Stransky
46bc6e3ec7 Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad 2012-06-13 10:47:54 -04:00
Robert O'Callahan
cedd410a70 Backout bug 768775 for now 2012-07-02 14:43:37 +12:00
Robert O'Callahan
7abd565f63 Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Matt Woodrow
f132718f0c Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel 2012-06-30 15:06:13 +12:00
Matt Woodrow
31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Jonathan Kew
a3f6b9f448 bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Jonathan Kew
f541ef9791 bug 764805 - fix handling of src:local style properties in the GDI backend. r=jdaggett 2012-06-28 10:59:37 +01:00
Nicholas Cameron
e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
5c8c9441ba Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron
c934b676bb Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
3843356847 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Anthony Jones
0de5f9da76 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
48ad611564 Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
9f057a5253 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
1292400ee5 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
d671f23535 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Ed Morley
6cf4e96cb1 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
05f4dda244 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Bas Schouten
8c640d8015 Bug 759643: Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter. r=roc 2012-05-30 06:55:15 +02:00
Bas Schouten
d2bb6613fd Bug 758531: Prevent leaking Azure Patterns' GradientStops. r=roc 2012-05-30 06:42:41 +02:00
Nicholas Cameron
a99476d9be Bug 752380; correct use of enums. r=Bas 2012-05-30 15:04:59 +12:00
Doug Turner
d19adf44a5 backout 664a8855fde5 2012-05-29 17:39:53 -07:00
Ed Morley
f814429f97 Merge mozilla-central to mozilla-inbound 2012-05-30 13:26:37 +01:00
Jonathan Kew
02f1aeb65f bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett 2012-05-29 23:44:50 +01:00
Jeff Muizelaar
93743fee4c Bug 752799. Move image pattern translation within pixman's range. r=roc
--HG--
extra : rebase_source : 0b135838d189944b012e83ec8a225e27ab7dcdca
2012-05-27 21:11:18 -04:00
Jonathan Kew
3340060c7b bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett 2012-05-29 23:44:50 +01:00
Phil Ringnalda
14e63f87fb Back out 36f327aaffa5 (bug 739804) for WinXP reftest orange 2012-05-27 22:14:25 -07:00
John Daggett
29522af35f Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew 2012-05-28 12:30:50 +09:00
Ginn Chen
7fc5368c1f Bug 758525 remove extra semicolon after NS_INLINE_DECL_THREADSAFE_REFCOUNTING r=roc 2012-05-28 09:34:20 +08:00
Takanori MATSUURA
92faf33a5c Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Kan-Ru Chen
52fc902deb Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Jonathan Kew
49eae009af bug 758257 - work around broken fonts on android when using cached font list as well as when first reading the list. r=jdaggett 2012-05-25 15:03:42 +01:00
Landry Breuil
879803dcda Bug 752380 - Directly using enums from a namespace (a:🅱️:enum::value) is a c++11 feature, add 'using namespace a::b;' to workaround it. r=Bas 2012-05-24 18:45:10 -04:00
Masatoshi Kimura
9cee24d959 Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Nicolas Silva
75542595f3 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Karl Tomlinson
fc12fcc075 b=782185 provide a gfxXlibSurface method to indicate when cairo's extend_pad will be slow r=joe
--HG--
extra : transplant_source : M%D2%05%3A%C1%18W%BD.%BA8%18%BD%F9%F9%AEu%EEX%CE
2012-08-14 23:47:49 +12:00
Rafael Ávila de Espíndola
61a4f26d9c Bug 774016 - Remove extra ;. r=khuey. 2012-07-16 11:01:45 -04:00
Nicolas Silva
966f3cd0b1 Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones 2012-07-13 15:38:09 -04:00
Nicolas Silva
08004b7444 Bug 763234 - Use only one compositor thread with OMTC. r=cjones 2012-07-13 11:25:29 -04:00
Matt Brubeck
ef84814399 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
3fcec5de9d Bug 759036. Fix a masking bug in Thebes-Azure. r=Bas
--HG--
extra : rebase_source : 2bb553e52f2d4058e1c7865dadccfc6a20c6d66c
2012-06-08 11:44:07 +12:00
Nicholas Cameron
4580878291 Bug 746896. Fix a bug with printing Azure canvas. r=joe
--HG--
extra : rebase_source : 0f1b44a5be4a3b7fa3f4df3080de50da96b95c58
2012-06-08 11:42:21 +12:00
Bas Schouten
5934a62347 Bug 758120: Block attempts to do manual subpixel-AA on bitmap fonts. r=jfkthame 2012-05-24 17:43:55 +02:00
Jonathan Kew
e0db93c657 bug 757871 - don't generate warnings from FT2FontEntry::GetFontTable during normal control flow. r=jdaggett 2012-05-24 09:16:01 +01:00
Jonathan Kew
17d841d068 bug 737315 - use the proxy's name for the FT2 entry when instantiating a downloaded font. r=jdaggett 2012-05-24 09:15:54 +01:00
Marco Castelluccio
6dcdc8b048 Bug 754329 - Crash with cairo mutexes enabled. r=joe
--HG--
extra : rebase_source : d2ae2005ebe4b525f44bdf9951f4279af7b34f5e
2012-05-11 23:21:41 +02:00
Jonathan Kew
1e3898e57c Bug 755730 - don't mask out Indic codepoints in OpenType fonts supported by OS X 10.7. r=jdaggett 2012-05-23 14:15:43 +01:00
Nicholas Cameron
0fdb7cc441 Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Jonathan Kew
e76a617c73 bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett 2012-05-21 22:09:54 +01:00
Robert O'Callahan
4f3c49e191 Befixing Bas build bustage, bug 757329 2012-05-22 18:00:23 +12:00
Bas Schouten
3598ccf8df Bug 757329: Support changing transforms while emitting path instructions. r=roc 2012-05-22 07:29:19 +02:00
Bas Schouten
8302213ec9 Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Jonathan Kew
19d81907c6 bug 756850 - HBGetGlyph callback for harfbuzz needs to return whether the glyph existed. r=smontagu 2012-05-21 21:05:36 +01:00
Ed Morley
465e967ce9 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
6e6a125cda Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew
e38d57ad83 bug 752459 - respect clusters when doing word-wrap:break-word. r=smontagu 2012-05-18 16:51:39 +01:00
Jonathan Kew
a0b1efadaa bug 752455 - don't allow word break within cluster when copying glyph data for text-transform. r=smontagu 2012-05-18 16:51:39 +01:00
Vladimir Vukicevic
1f3f8f2832 b=749426; don't use CreateSamplingRestrictedDrawable on mobile to avoid OOM; r=jrmuizel 2012-05-16 10:03:08 -04:00
Benoit Jacob
f5e1330f5c Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe 2012-05-15 15:41:20 -04:00
Benoit Jacob
6de3cc03da 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
3eed0050e2 Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc 2012-05-15 16:57:51 +02:00
Ed Morley
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 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
Benoit Jacob
0f7357a542 Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Bas Schouten
a6473beab0 Bug 753835: Clip to mask image rather than relying on EXTEND_NONE. r=roc 2012-05-12 19:01:20 +02:00
Benoit Jacob
cb6c0c6172 Bug 749678 - 1/5 - Switch GLContext to use mozilla::tls for current context - r=jrmuizel
See comment above class GLContextTLSStorage
2012-05-08 09:47:34 -04:00
Jonathan Kew
8198aaa2dd harfbuzz shaper should not modify character-clustering info due to diacritic within ligature. Bug 249159, r=smontagu 2012-05-07 12:18:24 -07:00
Jeff Muizelaar
15a0969a86 Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.
2012-05-01 16:35:04 -04:00
Ed Morley
f73cfb4319 Backout 4c6759dcecd3 (bug 750598) for Android reftest-1 failures in background-size-zoom-repeat.html 2012-05-04 09:57:59 +01:00
Jeff Muizelaar
6c8c52a043 Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.

--HG--
extra : rebase_source : 4e3396179193d6d7ca1dbe26b7dad090860abe0d
2012-05-01 16:35:04 -04:00
Bas Schouten
bc2f084e3e Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc 2012-05-03 23:41:37 +02:00
Bas Schouten
5cc7c5218c Bug 738413 - Part 3: Fix numerous issues with PushGroupAndCopyBackground. r=roc 2012-05-03 23:31:02 +02:00
Bas Schouten
b058c7e333 Bug 738413 - Part 2: Use OpaqueRect API in BasicLayers with non-cairo contexts. r=roc 2012-05-03 23:31:02 +02:00
Nicolas Silva
448bfb52b5 Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Andreas Gal
154b79964a Render active layers at full resolution and transform them on the GPU (bug 750006, r=roc). 2012-04-29 14:41:13 -07:00
John Daggett
d7547c60eb Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew 2012-04-27 17:26:41 +09:00
Jonathan Kew
248ae5fed9 bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
9fa44a2247 bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
Jonathan Kew
d7aee42d5b bug 706888 - ignore GSUB in broken version of Droid Sans Arabic. r=jdaggett 2012-04-26 20:06:52 +01:00
Ed Morley
55e83a7ae7 Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures 2012-04-26 19:09:20 +01:00
Jonathan Kew
a39295d6c1 bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
822c0d1ccc bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
John Daggett
15b7adf246 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
bae4d92415 Bug 718539. Merge per-font and style rule font features. r=jkew 2012-04-26 15:26:03 +09:00
John Daggett
4984947d00 Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
John Daggett
44ebb6fb98 Bug 718539. Move gfxFontFeature to a separate header. r=jkew 2012-04-26 15:22:24 +09:00
Simon Montagu
9235b950bd bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
Benoit Girard
0a221c25a9 Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Benoit Girard
4a9f986e70 Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Benoit Girard
6c1b206cd4 Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc 2012-04-16 19:04:24 -04:00
Bas Schouten
19c747aae6 Bug 746588 - Invert the gfxPattern matrix when using DrawTargets. r=jrmuizel a=akeybl 2012-04-23 13:30:46 -04:00
Jonathan Kew
14d5a8ace4 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Jonathan Kew
969d9ce796 bug 745580 - handle bad results from Core Text shaping more robustly. r=jdaggett a=tracking-firefox 2012-04-20 08:04:26 +01:00
Jeff Muizelaar
a571beb2bc Bug 745864 - Add profiling labels relevant for Fennec graphics performance. r=bgirard a=blassey
--HG--
extra : rebase_source : 9ec2966476988924331d021977e2713e044701df
2012-04-16 14:36:33 -04:00
John Daggett
ed5cb19215 Bug 710727. Share cmaps across all fonts. r=jkew, a=tracking-firefox 2012-04-19 08:59:43 +09:00
Benoit Girard
27feb4a559 Bug 746344 - gfxImageSurface should allow allocation without memset. r=jmuizelaar a=jpr
--HG--
extra : rebase_source : 271a72ec7911299d2a185df7c5139c00997e55df
2012-04-17 17:55:11 -04:00
Benoit Girard
c9b6f9c831 Bug 740557 - Add a Copy-On-Write surface wrapper (gfxReusableSurface) for OMTC tiling. r=jmuizelaar a=blocking-fennec 2012-04-17 19:21:07 -04:00
Ali Juma
278fdbbb68 Bug 733941 - Let callers of imgIContainer::draw choose to clamp instead of tile. r=roc a=blocking-fennec 2012-04-17 18:04:15 -04:00
Jonathan Kew
3cd1485d61 bug 745261 - check calls to SetupCairoFont for failure. r=jdaggett 2012-04-17 09:50:26 +01:00
Jonathan Kew
4bf22a422f bug 745555 - preserve character-identity flags in the CompressedGlyph record when updating glyph information. r=roc 2012-04-16 13:54:50 +01:00
Matt Brubeck
28eac2b5d9 Merge mozilla-central to mozilla-inbound 2012-04-13 14:09:05 -07:00
Mark Finkle
827c334987 Backing out e481b6ffc60b (bug 691061) because it breaks 'save as pdf' in Fennec (bug 704185) 2012-04-13 12:30:33 -04:00
Marco Bonardo
0a0adaecbc Backout e20a19a790dd (bug 743830) for linux QT bustage. 2012-04-13 21:43:13 +02:00
Nicolas Silva
071d0a2967 Bug 743830: Added 'gfx.xrender.enableded' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jrmuizel,gw280 2012-04-11 14:04:54 -04:00
Jonathan Kew
810adcf9ef bug 744480 - check for failure to set up the cairo font. r=bas 2012-04-13 17:39:39 +01:00
Bas Schouten
cf4dd68f30 Bug 743593: Properly cast gfxFont based on type. r=jfkthame 2012-04-11 16:55:31 +02:00
Nicholas Cameron
085d9c7416 Bug 737239 - Nix power of two for non-ARM builds. r=gw280 2012-03-21 08:47:02 +13:00
Benoit Jacob
b1ec60fb23 Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Jonathan Kew
fbc199beea bug 743767 - fix bugs in pattern matrix handling in GlyphBufferAzure. r=bas 2012-04-10 11:57:23 +01:00
John Daggett
1808afe847 Bug 738136. Add Lao to the list of scripts that require shaping under OSX. r=jkew 2012-04-10 11:06:31 +09:00
Ryan VanderMeulen
22c4c68ac2 Backout e54c650e8748 (bug 737239) due to lack of proper reviews. 2012-04-09 21:06:34 -04:00
Nicholas Cameron
bab74a92d2 Bug 737239 - Nix power of two for non-ARM builds. r=gw280 2012-03-21 08:47:02 +13:00
Wes Johnston
206d8691e9 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
eea4dccc79 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
John Daggett
61265580b9 Bug 710727. Revert shared cmap patch due to reftest/mochitest-4 failures on Win7. a=bustage 2012-04-09 22:03:28 +09:00
John Daggett
1e5af79b2e Bug 710727. Share cmaps across all fonts. r=jkew 2012-04-09 13:31:55 +09:00
Steven Michaud
c23bdb7e3d Bug 738076 - Missing "return NS_ERROR_FAILURE" after malloc failure. r=bgigard 2012-04-05 17:36:40 -05:00
Mike Hommey
609e12c771 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Matt Woodrow
026484c01a Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Marco Bonardo
10bda00159 Merge central to inbound 2012-04-04 13:39:52 +02:00
Marco Bonardo
30c673af46 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Kyle Huey
3f2d3e17c7 No bug: Shut up a struct/class warning. r=Bas 2012-04-03 14:00:34 -07:00
Jonathan Kew
4db8132fe1 bug 717175 - flush shaped-word caches if they grow excessively large. r=roc 2012-04-03 12:22:18 +01:00
Nicholas Nethercote
6ca9f23930 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Matt Woodrow
7e20c213c5 Bug 740560 - [Azure] Add Factory::CreateDrawTargetForData. r=Bas,gw280 2012-04-02 15:15:08 -04:00
Ms2ger
bfc7667f02 Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend
dfa7430e83 Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
George Wright
c5faeddadd Bug 740570 - Add conversion functions between SurfaceFormats and ImageFormats. r=bas 2012-03-30 15:48:03 -04:00
Veeraya Pupatwibul
344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Jacek Caban
7741551caa Bug 735194 - gfxDWriteFontList.cpp fails to compile on mingw r=bas 2012-04-04 11:12:11 +02:00
John Daggett
2ed034faf1 Bug 739706. Fix gfxFont.cpp compiler warning. r=jfkthame 2012-03-30 10:50:14 -07:00
George Wright
960bf080cc Bug 740372 - Handle MOZ_GFX_OPTIMIZE_MOBILE in gfxASurface and gfx2DGlue format conversion functions. r=jrmuizel 2012-03-30 11:56:08 -04:00
Marco Bonardo
932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Cameron McCormack
6653cbf8dd Bug 740271 - Allocate partial ligature advance rounding error to the last part. r=roc 2012-03-30 13:34:50 +11:00
Ms2ger
4827357dcf No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Bas Schouten
a8e8d73c32 Bug 738691 - Part 2: Add proper stroke and path support to Azure glyph drawing. r=jrmuizel 2012-03-29 20:53:44 +02:00
Bas Schouten
122049c6f7 Bug 738690: Properly convert patterns to userspace in the Azure-Thebes wrapper. r=jrmuizel 2012-03-29 20:53:43 +02:00
Bas Schouten
f4d3c36793 Bug 738688: Add supports for color patterns in the Azure-Thebes wrapper. r=jrmuizel 2012-03-29 20:53:43 +02:00
Nathan Froyd
ef06294f07 Bug 739635 - fix -Wunused-but-set-variable warnings in gfx/thebes/; r=jrmuizel 2012-03-27 11:55:54 -04:00
Chris Lord
936d09f4bc Bug 739604 - Split out dumping of paint buffers from paint lists. r=mattwoodrow
Split dumping of paint buffers into a separate environment variable, vs.
dumping of paint buffers to allow for dumping only of paint lists.
2012-03-28 19:10:28 +01:00
Jonathan Kew
402c1e42cf bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-27 14:38:39 -07:00
Ehsan Akhgari
dc62ac1760 Backed out changeset 690cba3bb817 (bug 719776) because of build failures 2012-04-03 17:49:59 -04:00
Matt Woodrow
4fbdb5afa4 Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Jonathan Kew
150f83cec7 bug 231162 - support custom casing behavior for Turkish and similar writing systems. r=smontagu 2012-03-27 08:49:03 -07:00
Jim Mathies
c2cd566559 Bug 737988 - Disable Win8 memory reportder due to missing headers in the latest consumer preview. r=jmuizelaar DONTBUILD 2012-03-27 08:42:03 -05:00
Oleg Romashin
84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Jonathan Kew
4358625535 bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Jeff Gilbert
f23bc53c69 Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Jonathan Kew
680806e579 bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Ryan VanderMeulen
554919925b Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
Jonathan Kew
5ffe5203cf bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Jonathan Kew
c278b0a18f bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-23 12:14:06 +00:00
Jonathan Kew
a44c1911ba bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Oleg Romashin
1567781c4d Bug 733922 - Fix Qt port compilation with --enable-skia. r=gwright 2012-03-22 13:24:57 -07:00
Nicholas Nethercote
1dae898653 merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
7ac3a573ad Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Oleg Romashin
979ea4107a Bug 737354 - Embedding initialize GL context before gfxPlatform::Init. r=roc 2012-03-21 16:14:09 -07:00
Nicholas Nethercote
e2181e8fb2 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Jonathan Kew
8d183ac530 bug 717175 - disable the timed expiration of shaped-word caches. r=roc 2012-03-21 09:01:08 +00:00
Nicholas Nethercote
91c9a2437c Bug 731923 - Convert the N "gfx-surface" memory reporters to a single multi-reporter. r=jlebar.
--HG--
extra : rebase_source : 176ed4f7e417b3f8fc4247b8f976ab6c47dc565f
2012-03-18 14:59:17 -07:00
Masatoshi Kimura
44ded05a7c Bug 736435 - Restore GetProcAddress check for t2embed library. r=jdaggett 2012-03-19 18:52:08 -04:00
Bas Schouten
1e44570b66 Bug 736134 - Followup: Put last parameter into an if-block. r=jrmuizel 2012-03-19 19:26:17 +00:00
Bas Schouten
0e7b846268 Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel 2012-03-19 19:20:18 +00:00
Bas Schouten
fa035d1125 Bug 736134 - Part 2: Add RenderingParams object creation to gfxWindowsPlatform. r=jrmuizel 2012-03-19 19:20:18 +00:00
Robert O'Callahan
7a31d32947 Bug 664764. Part 3: Don't record memory used by gfxWindowsSurface if we actually failed to allocate the surface. r=mattwoodrow 2012-03-19 12:36:33 +13:00
Nicholas Nethercote
4583ceebea Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Jonathan Kew
1c72946e05 bug 721719 - try Roboto as well as Droid Sans for fallback on Android. r=jdaggett 2012-03-17 09:39:09 +00:00
Jonathan Kew
04aa7ad2df bug 721719 - ignore the GSUB table in Roboto on Android because of bad ligature rule. r=jdaggett 2012-03-17 09:38:42 +00:00
John Daggett
f6d4d913cf Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
5da6046d35 Bug 512566. Load font data url's synchronously, gfx changes. r=jfkthame 2012-03-16 12:31:01 +09:00
Jonathan Kew
f28a975637 bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Jonathan Kew
58ed975449 bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett 2012-03-15 09:03:51 +00:00
Jonathan Kew
0c0e3015b0 bug 735439 - optimize order of fields in gfxFontStyle to save space. r=jdaggett 2012-03-15 09:03:00 +00:00
Kartikaya Gupta
a96a6f4142 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
dc6ea71b7e Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ali Juma
71fc64fb2f Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Kartikaya Gupta
60f5962bb6 Merge m-c to maple 2012-03-12 10:41:42 -04:00
Daniel Holbert
2248350fea merge m-c to m-i, up to m-c revision b9357da14ab8 2012-03-11 15:38:51 -07:00
Bas Schouten
f913ae7360 Bug 734478: Prevent shadowing of adapter1 variable in VerifyD2DDevice. r=jrmuizel 2012-03-11 22:33:22 +00:00
Benoit Jacob
c91d468518 Bug 711656 - Fix bug in D2D blocklisting check - no review
Two-fold bug:
 - d2dDisabled was set there, only to be overwritten below at line 432
 - d2dBlocked was only set there for certain status values, should have been set for any status != NO_INFO.

See https://bugzilla.mozilla.org/show_bug.cgi?id=711656#c85
2012-03-10 13:32:33 -05:00
Benoit Girard
876fa332bc Merge mc->maple 2012-03-09 18:16:26 -05:00
Benoit Girard
9612045323 Merge mc->Maple 2012-03-09 11:13:30 -05:00
John Daggett
03a0ab732d Bug 705594. Fix build bustage on Linux, argh. 2012-03-09 12:38:01 +09:00
John Daggett
02491b26f3 Bug 705594. Fix build bustage on gtx/qt. 2012-03-09 12:10:05 +09:00
Jacob Holzinger
6a62cb6a9b Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Benoit Girard
1d55c5f593 Merge mc->Maple 2012-03-07 11:10:45 -05:00
John Daggett
ac584deb4b Bug 705594. Add script code for system font fallback. r=roc 2012-03-09 11:06:06 +09:00
John Daggett
460915fb42 Bug 705594. Use DirectWrite custom text renderer for fallback on Windows Vista/7. r=bas 2012-03-09 11:05:55 +09:00
John Daggett
d2a5c3aea1 Bug 705594. Use CoreText for system font fallback on OSX. r=jfkthame 2012-03-09 11:05:47 +09:00
John Daggett
94e1fbc8c2 Bug 705594. Add pref to force global cmap-based font fallback. r=roc 2012-03-09 11:05:40 +09:00
John Daggett
da54d7e9aa Bug 705594. Fixup of intra-family fallback code. r=jfkthame 2012-03-09 11:05:33 +09:00
John Daggett
1f4d27bf4c Bug 705594. Implement hard-coded font fallback. r=roc 2012-03-09 11:05:24 +09:00
John Daggett
1c51db548d Bug 705594. Add cmapdata logging. r=roc 2012-03-09 11:05:14 +09:00
John Daggett
b331b0f905 Bug 705594. Update Unicode range and pref font lists to avoid system fallback. r=roc 2012-03-09 11:05:05 +09:00
Benoit Girard
73a287f0ea Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Nicholas Nethercote
a4e916975c Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Benoit Girard
a4a3883264 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
7e6f558d70 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Benoit Girard
76425a9557 Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
1847cf91b3 Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
45668a01d2 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard
f7caef0932 Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe 2012-02-24 18:17:27 -05:00
Doug Turner
809efed1a1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Jonathan Kew
27d7fed0f6 bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew
c7fa86d451 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Matt Brubeck
a59d84c91f Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
c79d1b164a Bug 373266 - win support for rendering two layer themes on widgets. r=joe,bbondy 2012-03-07 09:29:42 -06:00
Doug Turner
754c5d2cbb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Stephen Perry
4b1f919fc3 Bug 666664 - Patch to fix warnings in gfx/thebes/gfxUserFontSet.cpp. r=BenWa 2012-03-06 16:44:23 -05:00
Stephen Perry
62e481793a Bug 666664 - Patch to fix warnings in gfx/thebes/gfxContext.cpp. r=BenWa 2012-03-06 16:44:18 -05:00
George Wright
fa376f2332 Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Jonathan Kew
43acd9229b bug 728866 - pt 3 - add support for Hebrew presentation forms, excluded from canonical composition. r=smontagu 2012-02-20 20:39:59 +00:00
Jonathan Kew
45c8227a48 bug 728866 - pt 2 - implement canonical composition callbacks for harfbuzz. r=smontagu 2012-02-20 20:39:59 +00:00
Nicholas Cameron
75f6c051a9 Bug 727681; correct gfx3DMatrix::CanDraw2D. r=Bas 2012-02-17 18:06:46 +13:00