Commit Graph

9691 Commits

Author SHA1 Message Date
Botond Ballo
9179478234 Bug 958596 - Add support for gfx logging on android and b2g. r=Bas 2014-01-21 20:11:52 -05:00
Botond Ballo
9600ef6281 Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas 2014-02-18 21:59:34 -05:00
Matt Woodrow
5a28db799a Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Matt Woodrow
20b7e3325b Bug 974709 - Use a separate texture for each X11TextureSource and keep the pixmap bound. r=nical
--HG--
extra : rebase_source : 06012985e185f517d8a807788e35ea1efcaf39d8
2014-02-22 22:22:43 +13:00
Sotaro Ikeda
c0ff94d478 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00
Wes Kocher
e45e2f6185 Merge m-c to b2g-inbound 2014-02-24 18:28:37 -08:00
Ben Kelly
e97af6982f Bug 976035: Cap max fling velocity at pref'd limit. r=kats 2014-02-24 16:08:31 -05:00
Maksim Lebedev
c40bfc6b23 Bug 973660 - TEST-UNEXPECTED-FAIL AsyncPanZoomController.LongPress when touch action enabled r=drs,kats 2014-02-24 01:31:18 -05:00
Ehsan Akhgari
b8d7d5b236 Bug 975730 - Remove an unused CFLAGS from the qcms build system; r=mshal
MOZ_QCMS is not used anywhere.
2014-02-22 21:41:02 -05:00
Milan Sreckovic
cb708a45b9 Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob 2014-02-22 18:53:04 -05:00
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
Milan Sreckovic
ddf1b72ddf Bug 971942: 7. gfx.canvas.skiagl.dynamic-cache, gfx.canvas.skiagl.cache-items, gfx.canvas.skiagl.cache-size moved to gfxPrefs. r=jwillcox 2014-02-26 21:53:32 -05:00
Milan Sreckovic
f30fcd9095 Bug 971942: 6. layers.low-precision-resolution, layers.prefer-opengl, layers.prefer-d3d9, layers.enable-tiles, gfx.direct2d.disabled, gfx.direct2d.force-enabled, moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
e2c417842a Bug 971942: 5. nglayout.debug.widget_update_flashing, canvas.azure.accelerated, layers.offmainthreadcomposition.enabled, layers.offmainthreadcomposition.testing.enabled, layers.offmainthreadcomposition.force-enabled, layers.acceleration.disabled moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
b2051f6d2f Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva 2014-02-26 21:53:31 -05:00
Milan Sreckovic
aebaca5cae Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord 2014-02-26 21:53:27 -05:00
Milan Sreckovic
03e58f0c76 Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard 2014-02-26 21:52:54 -05:00
Milan Sreckovic
b2ee1cb13b Bug 971942: 1. layers.async-video.enabled moved to gfxPrefs and only evaluated at startup. r=nsilva 2014-02-26 21:52:54 -05:00
Wes Kocher
a2aaa61c62 Merge m-c to inbound on a CLOSED TREE 2014-02-26 18:31:11 -08:00
Cameron McCormack
96ec7643ed Bug 976908 - Remove unncessary TelemetryHistogramEnums.h inclusion from Layers.cpp. r=mattwoodrow 2014-02-27 10:29:18 +11:00
L. David Baron
dfb9ad9186 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Benoit Jacob
f9e3479a5c Bug 974629 - Make TextureChild hold on to its CompositableForwarder - r=nical 2014-02-26 16:23:51 -05:00
Benoit Jacob
228f2919b8 Bug 968001 - Missing null pointer check in TOpSetRoot - r=jrmuizel 2014-02-26 16:23:51 -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