Commit Graph

5019 Commits

Author SHA1 Message Date
Matt Woodrow
8ab773e4a8 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-11 16:44:09 +12:00
Matt Woodrow
f1c27870fb Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
0e8bdfe6c2 Bug 539356 - Part 6 - Add compositing paint flashing to BasicLayers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
e12899ee80 Bug 539356 - Part 2 - Add new API to BasicLayers. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
b17e4001dc Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-11 16:44:08 +12:00
Nicholas Cameron
41314b89f2 Bug 755078 - Backout previously-landed patch for bug 755078. r=roc 2012-06-09 14:22:40 -04:00
Jonathan Kew
15cc590196 bug 762484 - update OTS to upstream rev.92. r=emk 2012-06-07 17:00:13 +01:00
Yoan TEBOUL
76b26d2185 Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc 2012-05-16 12:24:55 +02:00
Chris Jones
d45528d7d4 Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel 2012-06-05 20:33:59 -07:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Oleg Romashin
1c4486299c Bug 760834 - Fix mIterationCallback initialization order warning. r=Cwiis 2012-06-04 16:49:57 -07:00
George Wright
9dcb1bb771 Bug 761201 - Trigger Skia's RGB565 blitter fast path by using SrcOver instead of Src. r=jrmuizel 2012-05-31 14:56:33 -04:00
Jacek Caban
3608ba0206 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Landry Breuil
12b0ed889c Bug 761019 - Remove extra comma at end of enum after bug 758236. r=jdaggett 2012-06-04 15:36:56 +09:00
Benoit Jacob
0ccf130a40 Bug 760675 - don't create a global context at all, on Android - r=jrmuizel
Indeed, it's currently unused except for Adreno blacklisting (see next commit) as
we don't do texture sharing just yet. We will soon do, though (bug 728524) and then
it is possible that on certain drivers we will have to use the global context as a
mean to share textures (if EGLImage can't be used). We'll see.
2012-06-02 16:28:16 -04:00
Andrew Quartey
ea5a6de0a9 Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob 2012-06-02 12:05:45 -04:00
Robert Longson
4bbc072620 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
Landry Breuil
4b47b250cb Bug 759671 - reapply missing chunk from bug 722011 to fix build on OpenBSD - r=ms2ger 2012-06-01 15:12:44 -07:00
Landry Breuil
0e874c4fb6 Bug 759683 - Check for -mssse3 instead of inconditionally using it. r=glandium 2012-06-01 15:12:09 -07:00
Bas Schouten
12cb490750 Bug 736460: Deal with gradient stops in a single position. r=jrmuizel 2012-06-02 00:00:28 +02:00
Ben Turner
785be4974a Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Ali Juma
ca60d38ab2 Bug 748088 - Part 2: Drawing to a non-default target should happen on the shadow side, not the shadowable side. r=BenWa 2012-06-01 08:42:36 -04:00
Ali Juma
eb79efd447 Bug 748088 - Part 1: Add a DrawToSurface message to PLayers. r=BenWa 2012-06-01 08:42:34 -04:00
Jonathan Kew
96190b93ce bug 758236 - force non-spacing marks to have zero width (merged forward from bug 727736). r=jdaggett 2012-04-21 22:25:03 +01:00
Jonathan Kew
7e2924f7d5 bug 758236 - update harfbuzz to upstream commit a3547330fa88e30a138f6f17e60d9c7d1e316622. r=jdaggett 2012-06-01 08:19:28 +01:00
Andreas Gal
d3eef34feb Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Jeff Muizelaar
8094c9788d Bug 759866. Crash more aggressively if we aren't going to be able to paint. r=bgirard
This should make it easier to get an idea how common these kinds of failures are.

--HG--
extra : rebase_source : c5c029ebfe723fc4d32d604528beb1769c21d98c
2012-05-31 17:51:52 -04:00
Ed Morley
698a10580d Backout fa3fe2aff1f5 (bug 756996) for bustage 2012-05-31 15:46:38 +01:00
Jacek Caban
2a959813ec Bug 756996 - GCC warnings in gfx/2d r=bas 2012-05-31 16:09:20 +02:00
Ehsan Akhgari
2c5d9f9d71 Bug 759979 - Compiler warning: 'MOZ_LAYERS_HAVE_LOG' macro redefined; r=roc 2012-05-30 23:32:10 -04:00
Marco Castelluccio
715c60f1c1 Bug 703484 - Part 1: Allow OMTC to be used with basic layers. r=bgirard
--HG--
extra : rebase_source : a96747d6ea09d7112649fa46d2d6a84ababaeaab
2012-05-15 15:56:56 -04:00
George Wright
a84669cbf5 Bug 755869 - Update the patches directory for Skia r=joe 2012-05-30 13:53:22 -04:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Jonathan Kew
d4492ede06 bug 753623 - update Graphite2 to release 1.1.3 from upstream. r=jdaggett 2012-05-30 14:17:51 +01:00
Gervase Markham
638c878b13 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
a9e9273d9c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Bas Schouten
b5b2e50a6b Bug 734404 - Part 1: Add support for DXGI shared surface handles to ImageLayers. r=roc 2012-05-30 07:14:30 +02:00
Bas Schouten
7066def599 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
749c58ca2f Bug 758531: Prevent leaking Azure Patterns' GradientStops. r=roc 2012-05-30 06:42:41 +02:00
Nicholas Cameron
f7e67fcad7 Bug 752380; correct use of enums. r=Bas 2012-05-30 15:04:59 +12:00
Doug Turner
1aeadbf78b backout df4cf37667ac 2012-05-29 17:40:27 -07:00
Doug Turner
2abb08a9b0 backout cd033f175e87 2012-05-29 17:40:09 -07:00
Doug Turner
0be21bd268 backout 664a8855fde5 2012-05-29 17:39:53 -07:00
Ehsan Akhgari
42c5f74294 Bug 755869 - Re-apply patch from bug 719575 to fix clang builds for the new Skia r=gw280 2012-05-29 15:39:55 -04:00
Ed Morley
80cc4331f8 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-29 12:49:27 +01:00
Phil Ringnalda
d8bb91cc56 Back out 36f327aaffa5 (bug 739804) for WinXP reftest orange 2012-05-27 22:14:25 -07:00
George Wright
9ef20b21d6 Bug 755869 - [13] Re-apply bug 750733 - Use handles in API object hooks where possible r=mattwoodrow 2012-05-23 14:52:36 -04:00
George Wright
da7857b7da Bug 755869 - [12] Re-apply bug 749533 - Add support for GNU/kFreeBSD and Hurd in Skia. r=mattwoodrow 2012-05-23 14:49:57 -04:00
George Wright
3d69b36ccc Bug 755869 - [11] Re-apply bug 687188 - Skia radial gradients should use the 0/1 color stop values for clamping. r=mattwoodrow 2012-05-23 11:40:25 -04:00
Ed Morley
7fc176bf24 Merge mozilla-central to mozilla-inbound 2012-05-30 13:26:37 +01:00
Jonathan Kew
42ddfd612f 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
63b620c3e6 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
08a143e083 bug 670901 pt 1 - add support for an error-message callback to OTS. r=jdaggett 2012-05-29 23:42:56 +01:00
George Wright
8930c6fdac Bug 755869 - [10] Re-apply bug 719872 - Fix crash on Android by reverting to older FontHost impl r=mattwoodrow 2012-05-18 14:52:40 -04:00
George Wright
6ca54bc4ef Bug 755869 - [9] Re-apply bug 751814 - Various Skia fixes for ARM without EDSP and ARMv6+ r=mattwoodrow 2012-05-18 14:16:08 -04:00
George Wright
983a3fb81f Bug 755869 - [8] Re-apply bug 731384 - Fix compile errors on older versions of clang r=mattwoodrow 2012-05-18 14:15:50 -04:00
George Wright
5fa822b2a5 Bug 755869 - [7] Re-apply bug 722011 - Fix trailing commas at end of enum lists r=mattwoodrow 2012-05-18 14:15:28 -04:00
George Wright
da8d99e005 Bug 755869 - [6] Re-apply SkUserConfig (no original bug) r=mattwoodrow 2012-05-18 14:13:49 -04:00
George Wright
c21dfca92d Bug 755869 - [5] Re-apply bug 688366 - Fix Skia marking radial gradients with the same radius as invalid. r=mattwoodrow 2012-05-18 14:11:32 -04:00
George Wright
8dab82b9bf Bug 755869 - [4] Re-apply bug 687189 - Implement SkPaint::getPosTextPath r=mattwoodrow 2012-05-18 14:10:44 -04:00
George Wright
4d320037ae Bug 755869 - [3] Re-apply bug 689069 - Patch to get arm opts to build with frame pointers enabled. r=mattwoodrow 2012-05-18 13:58:59 -04:00
George Wright
cca8cdcce2 Bug 755869 - [2] Update Makefile.in for the new Skia r=mattwoodrow 2012-05-18 14:47:02 -04:00
George Wright
f2c80db1a1 Bug 755869 - [1] Update Skia to r4037 r=mattwoodrow 2012-05-23 14:43:41 -04:00
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