Commit Graph

4956 Commits

Author SHA1 Message Date
Benoit Girard
04c78756d4 Bug 759181 - Disable COMPOSITOR_PERFORMANCE_WARNING. r=ajuma 2012-05-28 17:28:31 -04:00
Jeff Muizelaar
18f44f5084 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
Oleg Romashin
20ef409664 Bug 757380 - BasicLayers Paint ignore NULL Clip when render with groupTarget. r=bas, r=roc 2012-05-24 18:36:22 -07:00
Jonathan Kew
589ff39ea3 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
Jonathan Kew
5d3c693bcf bug 670901 pt 2 - fix some typos and missing warning messages in OTS. r=jdaggett 2012-05-29 23:44:50 +01:00
Jonathan Kew
9913028a98 bug 670901 pt 1 - add support for an error-message callback to OTS. r=jdaggett 2012-05-29 23:42:56 +01:00
Dave Hylands
d267afdead Bug 759169 - Fix for compile error when MOZ_RENDERTRACE is enabled. r=bgirard
--HG--
extra : rebase_source : 56d1c44d4efeea7b2237385f560fad856dae15a4
2012-05-29 13:56:44 -04:00
Ali Juma
b802df3029 Bug 759162 - Part 2: Make CompositorParent::ScheduleResumeOnCompositorThread block until the compositor resumes. r=bgirard 2012-05-29 13:49:03 -04:00
Ali Juma
272f08ff30 Bug 759162 - Part 1: Remove unnecessary call to eglChooseConfig in GLContextProviderEGL::RenewSurface. r=bgirard 2012-05-29 13:46:37 -04:00
Kartikaya Gupta
7e40449c93 Bug 607417 - Clamp the transform of fixed-position layers to work with RTL pages (interaction with bug 748384). r=ajuma 2012-05-29 10:22:49 -04:00
Benoit Girard
886844596f Bug 681114 - Diagnostic patch to crash earlier when cairo_array is corrupted. r=jmuizelaar
--HG--
rename : b2g/config/mozconfigs/linux32/nightly => b2g/config/mozconfigs/linux32/debug
rename : mobile/android/config/mozconfigs/android-x86/debug => mobile/android/config/mozconfigs/android/debug
rename : mobile/android/config/mozconfigs/android-armv6/l10n-nightly => mobile/android/config/mozconfigs/android/l10n-nightly
rename : mobile/android/config/mozconfigs/android-x86/l10n-release => mobile/android/config/mozconfigs/android/l10n-release
rename : mobile/android/config/mozconfigs/android-armv6/nightly => mobile/android/config/mozconfigs/android/nightly
rename : mobile/android/config/mozconfigs/android-x86/release => mobile/android/config/mozconfigs/android/release
extra : rebase_source : e2f84d0e8df8dcd3aed4301f8911eeb18412601d
2012-05-28 10:15:48 -04:00
John Daggett
b30d89d574 Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew 2012-05-28 12:30:50 +09:00
Ginn Chen
d8d95d639b Bug 758525 remove extra semicolon after NS_INLINE_DECL_THREADSAFE_REFCOUNTING r=roc 2012-05-28 09:34:20 +08:00
Oleg Romashin
0ddefb4858 Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa 2012-05-24 18:36:18 -07:00
Ryan VanderMeulen
20e38de104 Backout 5baac057fc1a (bug 757933) due to red. 2012-05-26 10:03:20 -04:00
Oleg Romashin
e208665b78 Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa 2012-05-26 09:33:53 -04:00
Mats Palmgren
08ba65e8eb Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage 2012-05-26 13:32:57 +02:00
Chris Lord
063f625ae2 Bug 607417 - Reconcile async scrolling for fixed position layers (part 2). r=ajuma
Part of this patch got lost in a rebase, this completes it.

Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-26 11:43:41 +01:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Kan-Ru Chen
4509acf05c Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Jeff Muizelaar
1420f5a06f Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.3 because we can do that without changing the reftests too much. We
can still use a higher value if we need to later. This should give us sqrt(3)
reduction in the number of segments.

--HG--
extra : rebase_source : 39f1892a61f7e242460deb1bc21adb30778147e3
2012-05-25 00:49:54 -04:00
Jonathan Kew
6fdb8cc3f0 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
Jeff Muizelaar
45ccd6bd8e Backout 50178ba811f2 because of android reftest failures that I failed to notice on try
--HG--
extra : rebase_source : 51715bce8d1a5359e40055cb4ef16d060a5ef1bd
2012-05-24 23:55:28 -04:00
Phil Ringnalda
133797c58e Back out 8bc719810cd5 (bug 757380) and 3f93e4add42b (bug 757933) for mochitest-4 assertions 2012-05-24 19:56:42 -07:00
Jeff Muizelaar
2cd6775d18 Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.2 because we can do that without changing the reftests. We can still
use a higher value if we need to later.

--HG--
extra : rebase_source : ffe8491adf978758b816da9d354dee51f4021892
2012-05-24 22:42:31 -04:00
Oleg Romashin
ad11357a1a Bug 757380 - BasicLayers Paint ignore NULL Clip when render with groupTarget. r=bas, r=roc 2012-05-24 18:36:22 -07:00
Oleg Romashin
c215784885 Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa 2012-05-24 18:36:18 -07:00
Landry Breuil
99fe0a63c6 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
b990b2de76 Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Benoit Jacob
b6bfe93e21 Bug 758315 - Desktop GL implementation of glGetShaderPrecisionFormat should return precision 23, not 0 - r=jrmuizel 2012-05-24 15:10:49 -04:00
Benoit Girard
8723541a2c Bug 748209 - Fix logic error in CompositorParent::ScheduleTask. r=ajuma
--HG--
extra : rebase_source : 216967a9a94eca09935d5b196ac04b95a6ed418c
2012-05-24 13:34:20 -04:00
Bas Schouten
acc2401ab8 Bug 758120: Block attempts to do manual subpixel-AA on bitmap fonts. r=jfkthame 2012-05-24 17:43:55 +02:00
Jonathan Kew
c4681816b2 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
0dcbb134ec 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
Jeff Muizelaar
7a3cb894d9 Bug 748816. Set the swap interval to 1 on OS X. r=bgirard
This fixes the tearing we get on OS X with OpenGL layers.
It does cause us to occasionally block waiting for vsync.
This isn't ideal but I think it's better than tearing.
OMTC should help us remove this wait.

--HG--
extra : rebase_source : 97739bb0a1a5094ff92e26f5513558ae389ae560
2012-05-24 00:40:40 -04:00
Ryan VanderMeulen
d0ecc827f3 Backout f987a378672f (bug 757380) due to M4 crashes. 2012-05-23 22:48:39 -04:00
Kartikaya Gupta
01f085c097 Bug 757847 - Use a reference rather than a pointer that is never null. r=ajuma 2012-05-23 21:52:29 -04:00
Kartikaya Gupta
0a9040618b Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta
84ade9c45e Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00
Oleg Romashin
e75053b95a Bug 757380 - Check clip before creating group target. r=Bas 2012-05-23 20:56:40 -04:00
Matthew Gregan
be355b004d Bug 744063 - Pass Y' texture size rather than picture size to Nv3DV. r=bas
--HG--
extra : rebase_source : 3a8744b67a9cd8b3f149d0c20fa5e0619b34fe9a
2012-05-24 11:00:26 +12:00
Jonathan Kew
156987c01e bug 747816 - update OTS to upstream r.91 to resolve endianness bug and other fixes. r=emk 2012-05-23 16:59:26 +01:00
Marco Castelluccio
a4d8cc42e2 Bug 754329 - Crash with cairo mutexes enabled. r=joe
--HG--
extra : rebase_source : d2ae2005ebe4b525f44bdf9951f4279af7b34f5e
2012-05-11 23:21:41 +02:00
Kartikaya Gupta
04a457fab1 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
9db13b7a79 Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta
d7e205e633 Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00
Jonathan Kew
91fd7c05b9 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
Chris Lord
ef58dee1cb Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-23 09:36:39 +01:00
Robert O'Callahan
ecbab2ff94 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Nicholas Cameron
277e41b99e Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Nicholas Cameron
a75759c60f Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc 2012-05-17 10:30:10 +12:00
Nicholas Cameron
a938e2e825 Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc 2012-05-22 19:15:16 -04:00
Nicholas Cameron
9be563af61 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
Benoit Girard
328a35caa4 Bug 752254 - qcms - Prefer precache output curves even if a A2B/B2A CLUT is present. r=jmuizelaar
--HG--
extra : rebase_source : fb5135434d7c7c80656a54e21b6e3b6216210b71
2012-05-22 14:51:29 -04:00
Benoit Girard
4d73f1dfec Bug 681114 - Diagnostic patch to crash earlier when cairo_array is corrupted. r=jmuizelaar
--HG--
extra : rebase_source : 97efb782c0ceba76330edf7a1be3b9cd14c11f15
2012-05-22 14:40:07 -04:00
Jonathan Kew
16ef5820ac bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett 2012-05-21 22:09:54 +01:00
Jacek Caban
ab7b61f390 Bug 733708 - gfx/layers fail to compile on mingw r=bas
--HG--
extra : rebase_source : 4ed99a22f66a20e4c6d2d7096396f6b2c261e63e
2012-05-21 11:03:23 +02:00
Jacek Caban
0496c2dfda 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
Robert O'Callahan
165be1aa93 Befixing Bas build bustage, bug 757329 2012-05-22 18:00:23 +12:00
Bas Schouten
990e913754 Bug 757329: Support changing transforms while emitting path instructions. r=roc 2012-05-22 07:29:19 +02:00
Bas Schouten
f42b87a13f Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Bas Schouten
b04ba2bf25 Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
d6881666b8 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
f0b2b86750 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Jonathan Kew
ec754c2581 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
c6b0785957 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
47b77d95ae Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Bas Schouten
8444e2eeeb Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
c89569b17b Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
4287a47aa4 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Jeff Muizelaar
6ee514463a 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
Ed Morley
f0346ff780 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew
c6a1b1400c bug 753230 - update graphite2 to upstream rev 978:c418207451a7. r=jdaggett 2012-05-21 08:41:53 +01:00
Bas Schouten
e438db859d Bug 595375: Fail brush creation when bitmap creation fails. r=jrmuizel 2012-05-20 22:29:07 +02:00
Brian Hackett
f8aa8c3c5a Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
aeda1d5c01 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
54e8d378fb Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Kartikaya Gupta
4072980290 Bug 756555 - Intersect the upload region with the valid region. r=ajuma 2012-05-18 21:19:43 -04:00
Jonathan Kew
067f9b740e bug 752459 - respect clusters when doing word-wrap:break-word. r=smontagu 2012-05-18 16:51:39 +01:00
Jonathan Kew
0b76bfd31b 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
David Zbarsky
40567fef5e Bug 756171 - Fix warning in LayerManagerOGLProgram.h. r=bgirard 2012-05-18 11:42:04 -04:00
Ms2ger
cc5eb59a6b No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning. 2012-05-18 10:29:38 +02:00
Ryan VanderMeulen
9bc3429f7a Merge m-c to inbound. 2012-05-17 23:23:57 -04:00
Makoto Kato
eba5513681 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
13a632fa04 Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe 2012-05-17 17:54:22 -04:00
Jeff Muizelaar
22391d9a7a Bug 755834. Use even lower precision bilinear interpolation when scaling 565 to 565. r=joe
This takes a trick from skia to go faster. For now, it's only
used on non-NEON devices.

--HG--
extra : rebase_source : c2ddce91cc8cf71ee609420107b0922d1166db43
2012-05-17 16:54:02 -04:00
Benoit Girard
d9bef21d83 Bug 754233 - Handle negative layer coordinate in Tiled layers. r=ajuma 2012-05-17 15:47:53 -04:00
Vladimir Vukicevic
9d6a42d017 b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma,kats 2012-05-09 22:32:54 -04:00
Bas Schouten
1e9105b35d Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated 2012-05-17 02:33:01 +02:00
Nicholas Cameron
044718db79 Bug 755078 - Disable mask layers on Android. r=roc 2012-05-17 10:30:10 +12:00
Benjamin Smedberg
63ab5318c1 Bug 749459 - Load the EGL libraries correctly on Windows from the GRE path and the system location on other platforms (should be Android-only currently), r=bjacob
--HG--
extra : rebase_source : 12750d4c6dbcc5324256039b9f05b207ed7ec990
2012-05-15 14:55:50 -04:00
Benoit Girard
2dcf372f4e Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc 2012-05-15 16:34:06 -04:00
Vladimir Vukicevic
1e324efc24 b=749426; don't use CreateSamplingRestrictedDrawable on mobile to avoid OOM; r=jrmuizel 2012-05-16 10:03:08 -04:00
Makoto Kato
b843767fc2 Bug 753772 - [VC8 (SeaMonkey)] gfx/2d/Factory.cpp compilation fails since bug 732985 landed. r=bas 2012-05-16 17:40:51 +09:00
Jeff Muizelaar
3388f68759 Bug 754364. Fix bustage from changing the wrong #if 0 2012-05-16 02:04:31 -04:00
Jeff Muizelaar
e80b46f17e Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
This gives significantly faster bilinear sampling when we
don't have NEON.

--HG--
extra : rebase_source : 4473dd220020e65e4bc22b84fa780c7828b357a7
2012-05-15 18:26:16 -04:00
Kyle Huey
0ab789d7a3 Back out bug 703484 on this CLOSED TREE. 2012-05-15 20:19:37 -07:00
Bas Schouten
17982eb2b6 Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel 2012-05-16 03:34:18 +02:00
Ryan VanderMeulen
28caa3b877 Backout df38ed62a24a (bug 754364) due to Windows red. a=CLOSED TREE 2012-05-15 20:29:13 -04:00