Commit Graph

9669 Commits

Author SHA1 Message Date
Ehsan Akhgari
50862d75c8 Bug 935778 - Part 1.1: Re-add the refcount assertions for AddRef(), and make the assertions for Release() use a signed integer 2014-02-22 11:23:03 -05:00
Kartikaya Gupta
e8bce1378a Bug 898563. r=botond 2014-02-21 17:58:30 -05:00
Benoit Jacob
1b9fd6371f Bug 970747 - 6/6 - Make LayerTransactionParent::RecvUpdate error out if RepositionChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
340ad52d84 Bug 970747 - 5/6 - Make ContainerLayer::RepositionChild always perform checks and return bool - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
52bcbbf9fd Bug 970747 - 4/6 - Make LayerTransactionParent::RecvUpdate error out if RemoveChild fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
42f76f6266 Bug 970747 - 3/6 - Make ContainerLayer::RemoveChild always perform checks and return bool - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
cc2564fac3 Bug 970747 - 2/6 - Make LayerTransactionParent::RecvUpdate error out if InsertAfter fails - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
de6342ddcf Bug 970747 - 1/6 - Make ContainerLayer::InsertAfter always perform checks and return bool - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
5a2a768330 Bug 968825 - Null pointer checks in LayerTransactionParent - r=jrmuizel 2014-02-21 16:50:25 -05:00
Morris Tseng
acfcb2590b Bug 975121 - Fix reversed colors with gfx.xrender.enabled = false. r=gal 2014-02-24 10:09:55 -05:00
Mason Chang
709b458cbc Bug 917416 - Make App Renderframe Opaque. r=roc 2014-02-24 10:09:55 -05:00
Ehsan Akhgari
fe19ed8113 Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj 2014-02-21 14:45:50 -05:00
Ryan VanderMeulen
2ca1b199db Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures. 2014-02-21 12:35:35 -05:00
Milan Sreckovic
3923aa0c9b Bug 910860 - Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated. r=BenWa 2014-02-18 19:55:48 -05:00
Robert O'Callahan
860f3a36ae Bug 973767. Put the compositor into test mode via an IPDL transaction. r=mattwoodrow
--HG--
extra : rebase_source : d40cf8624f93b85298cc501ff315522220522fb6
2014-02-12 17:41:57 +13:00
Ehsan Akhgari
067fa188b6 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Oleg Romashin
79dd3f3972 Bug 974335 - Refactor Qt Widget Backend implementation. Qt Only changes NPDB. r=romaxa
--HG--
rename : dom/system/unix/Makefile.in => dom/system/qt/Makefile.in
rename : dom/system/unix/QTMLocationProvider.cpp => dom/system/qt/QTMLocationProvider.cpp
rename : dom/system/unix/QTMLocationProvider.h => dom/system/qt/QTMLocationProvider.h
rename : dom/system/unix/nsHapticFeedback.cpp => dom/system/qt/QtHapticFeedback.cpp
rename : dom/system/unix/nsHapticFeedback.h => dom/system/qt/QtHapticFeedback.h
rename : dom/system/unix/moz.build => dom/system/qt/moz.build
2014-02-20 18:09:02 -08:00
Oleg Romashin
97ea26ae06 Bug 974335 - Refactor Qt Widget Backend implementation. skia build fix. r=gw280 2014-02-18 12:45:31 -08:00
Oleg Romashin
dd8bbb70eb Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob 2014-02-20 18:08:50 -08:00
Bill McCloskey
b9eee1d1e8 Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe) 2014-02-20 17:26:41 -08:00
Wes Kocher
a774349143 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
Kartikaya Gupta
03c5e5c8ce Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob 2014-02-19 12:08:00 -05:00
James Willcox
df0c006a7c Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Matt Woodrow
365afc3765 Bug 947227 - Remove SurfaceStream_TripleBuffer_Async since it no longer has any users. r=jgilbert 2014-02-21 11:08:36 +13:00
Matt Woodrow
87af70d830 Bug 947227 - Stop using SurfaceStream_TripleBuffer_Async since it can hang if the compositor fails to pull the latest surface. r=jgilbert 2014-02-21 11:08:05 +13:00
Benoit Jacob
fa38812d80 Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical 2014-02-20 16:04:13 -05:00
Benoit Jacob
fb744ce009 Bug 971695 - 1/2 - make ImageDataSerializer check data size - r=nical 2014-02-20 16:04:11 -05:00
Benoit Jacob
b9dfe856c4 Bug 971678 - Validate the compositable type in SetCompositableHost - r=nical 2014-02-20 15:07:04 -05:00
Benoit Jacob
e025cb0982 Bug 969549 - Make PCompositableTransaction check actual layer types before casting - r=nical 2014-02-20 15:05:48 -05:00
Benoit Jacob
513b00930e Bug 968001 - In OpSetRoot, check that the new root is a root - r=nical 2014-02-20 15:05:08 -05:00
Benoit Jacob
0fad7ce678 Bug 963974 - Null mCurrentCompositeTask after calling Cancel() on it - r=mattwoodrow 2014-02-20 11:41:39 -05:00
Benoit Jacob
2452416427 Bug 968833 - 2/2 - ThebesLayerComposite should be TYPE_THEBES, not TYPE_SHADOW - r=nical 2014-02-20 11:41:04 -05:00
Benoit Jacob
9372f00a95 Bug 968833 - 1/2 - Make PLayerTransaction check actual layer types before casting - r=jrmuizel 2014-02-20 11:40:55 -05:00
Jan Beich
fa2fd2e470 Bug 974272 - Remove obsolete skia patch for BSDs. r=gw280 2014-02-20 09:36:10 -05:00
Jan Beich
ab53755dd8 Bug 974272 - Unbreak skia on tier3 platforms by dropping unused setProcessorAffinity() implementation. r=gw280 2014-02-20 09:35:58 -05:00
Benoit Jacob
04c3513b8a Bug 972682 - make UploadImageDataToTexture not pass uninitialized parameters to glTexImage2D - r=jgilbert 2014-02-20 08:05:34 -05:00
Benoit Jacob
833c2733e9 Bug 967330 - UpdateThebes should fail gracefully instead of aborting - r=nical 2014-02-20 08:05:32 -05:00
Benoit Jacob
58170e7e65 Bug 967824 - Make SetCompositableHost gracefully handle errors instead of just aborting - r=nical 2014-02-20 08:05:30 -05:00
George Wright
3357fe696d Bug 974360 - Disallow Skia's use of static global initialisers r=vlad 2014-02-19 17:26:45 -05:00
Kartikaya Gupta
344f74d28a Merge backout of bug 965945 from m-c 2014-02-19 17:26:48 -05:00
Kartikaya Gupta
41be014aae Back out 679e69e79fe2 (bug 965945) for causing C2 bustage on B2G emulator builds. r=backout 2014-02-19 17:21:09 -05:00
George Wright
a3a5b5f60b Bug 910754 - Add a header to moz.build indicating that it shouldn't be edited by mortals r=vlad DONTBUILD 2014-02-19 17:10:33 -05:00
George Wright
28fa21744b Bug 910754 - Ensure gonk is catered for in the mozbuild generator for FontMgr woes r=vlad DONTBUILD 2014-02-19 17:10:06 -05:00
Ryan VanderMeulen
49bf33920f Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
0b9a742df4 Bug 973892 - Fix b2g bustage on a CLOSED TREE. 2014-02-19 20:00:50 +01:00
Nicolas Silva
d87bd76fa2 Bug 973892 - Fix gtest bustage on a CLOSED TREE. 2014-02-19 19:29:01 +01:00
Nicolas Silva
da82a09e89 Bug 973892 - part 2) Specify the moz2d backend when creating a TextureClient. r=Bas 2014-02-19 18:17:49 +01:00
Nicolas Silva
dc64acd28e Bug 973892 - Part 1) Choose the backend in ImageDataSerializer::GetAsDrawTarget. r=mattwoodrow 2014-02-19 18:17:40 +01:00
Kartikaya Gupta
4abb4c4bbb Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob 2014-02-19 12:08:00 -05:00
Ali Akhtarzada
095c305910 Bug 974314 - Fix memleak in CreateDrawTargetForData when backend is skia. r=gal 2014-02-19 11:37:26 -05:00
Morris Tseng
012a7d59e0 Bug 974189 - Black screen in content area during browser start with OMTC enabled. r=gal 2014-02-19 11:37:25 -05:00
Nicolas Silva
abf97b4300 Bug 969388 - Fix locking in textures gtest. r=kats 2014-02-19 17:34:49 +01:00
Nicolas Silva
1c837a4ea9 Bug 973875 - Make CanvasClient2D not keep a TextureClient's DrawTarget after unlocking its memory. r=bjacob 2014-02-19 16:53:26 +01:00
Nicolas Silva
31b55ad7c6 Bug 973869 - Make SharedPlanarYCbCrImage properly Lock its TextureClient. r=mattoodrow 2014-02-19 16:53:14 +01:00
Jan Beich
3bc3626b04 Bug 974272 - Unbreak skia/qt on tier3 as well. r=gw280 2014-02-24 09:41:55 -05:00
Chris Lewis
f22dc6ad70 Bug 974097 - AppendChild operation in LayersMessages.idplh should be called PrependChild. r=gal 2014-02-24 09:41:55 -05:00
Kartikaya Gupta
e4d4c9d29e Bug 976030 - Fix a typo in my patch for bug 898563. r=me and DONTBUILD because trivial
Thanks to Maks Naumov's eagle eyes for spotting it.
2014-02-24 08:31:58 -05:00
Ehsan Akhgari
5664081d99 Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Nicolas Silva
e6f2d98eed Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel 2014-02-24 11:42:54 +01:00
Ehsan Akhgari
fa370e4e9f Bug 973143 - Move some variables to moz.build; r=glandium
--HG--
extra : rebase_source : b767d6cb044efa50844129df80864b9e802b51bd
2014-02-18 02:02:00 -05:00
George Wright
1d99a6ee1a Bug 910754 - Ensure B2G builds don't use SkFontMgr r=snorp 2014-02-18 17:49:26 -05:00
George Wright
5c806ac290 Bug 910754 - Re-apply bug 921670 - Import the old Android FontHost to provide fonts for skia-npapi r=snorp 2014-02-14 16:10:48 -05:00
George Wright
a8632074d3 Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp 2014-02-13 16:55:43 -05:00
George Wright
2bea7ef8b3 Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
5a5d0aa86b Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
1eb404b7fc Bug 910754 - [Skia] Defer deletion of our shader objects until after linking the program r=upstream(bsalomon) 2014-02-13 01:19:51 -05:00
George Wright
fa5a870fa1 Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00
George Wright
49aa28efd0 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
Jonathan Watt
1bff7ee358 Bug 975900 follow-up to fix unified build failures. r=me on CLOSED TREE 2014-02-25 01:30:48 +00:00
Jonathan Watt
e51d5225c2 Bug 975900 - Convert imgUtils to Moz2D (from gfxASurface to SourceSurface). r=mattwoodrow
--HG--
extra : rebase_source : aaa405346704d67005a4453de34cf67d68e2a7c6
2014-02-25 00:51:45 +00:00
Kartikaya Gupta
ceb4722d3a Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond 2014-02-24 19:22:45 -05:00
Matt Woodrow
937c007de1 Bug 680817 - Keep GLXPixmaps bound to textures between updates on NVIDIA drivers to improve performance. r=joe 2014-02-25 12:56:51 +13:00
Matt Woodrow
387770d792 Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc 2014-02-25 12:55:39 +13:00
James Willcox
dae6a7337b Bug 970096 - Try a 16 bit OpenGL context as a last result on Android r=bjacob 2014-02-24 16:17:34 -06:00
George Wright
8c401a23b7 Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
George Wright
30e76f0796 Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
George Wright
2b32dd27bb Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
94e8677de9 Bug 910754 - Re-apply bug 921670 - Import the old Android FontHost to provide fonts for skia-npapi r=snorp 2014-02-14 16:10:48 -05:00
George Wright
2a0ebe055f Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp 2014-02-13 16:55:43 -05:00
George Wright
6436571427 Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
48e45aa8de Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
c17f28a756 Bug 910754 - [Skia] Defer deletion of our shader objects until after linking the program r=upstream(bsalomon) 2014-02-13 01:19:51 -05:00
George Wright
9026d94fa5 Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00
George Wright
71f60661f9 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
George Wright
612ed9a7d5 Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
George Wright
afb5f9a0ee Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
Markus Stange
72f4431fe8 Bug 973308 - Don't let empty clip rects put infinities into the gradient calculations. r=jrmuizel 2014-02-18 23:18:29 +01:00
Kartikaya Gupta
e35dd07e1e Bug 969483 - Fix the RepositionChild function and add a test for it. r=BenWa 2014-02-18 16:38:30 -05:00
Kartikaya Gupta
ad5d620e67 Bug 969483 - Remove stub test code that is inferior to the real code. r=BenWa 2014-02-18 16:38:29 -05:00
Ryan VanderMeulen
e2d6196f12 Merge m-c to inbound. 2014-02-18 15:25:07 -05:00
Ryan VanderMeulen
bb75ebbe6a Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Ehsan Akhgari
f6787f583a Backed out changeset 5ecd0339a087 (bug 973143) because of a possible Talos regression 2014-02-18 14:27:51 -05:00
Sotaro Ikeda
2e29803c25 Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec 2014-02-18 06:50:20 -08:00
Sotaro Ikeda
b23f7d7072 Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical 2014-02-18 06:46:13 -08:00
Ehsan Akhgari
5d49ab766c Bug 973143 - Move some variables to moz.build; r=glandium 2014-02-18 02:02:00 -05:00
Tom Schuster
ac951e8537 Bug 973227 - Add a new X11TextureSourceOGL for upload x11 pixmaps to textures. r=nical 2014-02-18 01:30:05 +01:00
Tom Schuster
4427acfe3d Bug 973227 - Split up TextureHostX11 into TextureSource and TextureHost file, make it backend independent. r=nical
--HG--
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/basic/X11TextureSourceBasic.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/basic/X11TextureSourceBasic.h
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/composite/X11TextureHost.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/composite/X11TextureHost.h
2014-02-18 01:30:05 +01:00
Tom Schuster
7180283dc9 Bug 973227 - Add GetBackendType to every Compositor class. r=nical 2014-02-18 01:30:05 +01:00
Jonathan Kew
af7148f18a bug 973682 - ensure emHeight is initialized even if no 'head' table is available. r=karlt 2014-02-17 23:01:00 +00:00
Masatoshi Kimura
9f0004eb6e Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00