Commit Graph

3586 Commits

Author SHA1 Message Date
Botond Ballo
07af8b0a38 Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats 2014-01-22 18:44:59 -05:00
Botond Ballo
0a08c5b4ea Bug 958596 - Print the APZC tree for debugging. r=kats 2014-01-22 15:09:03 -05:00
Botond Ballo
9c798dd5bb Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn 2014-01-22 16:37:57 -05:00
Wes Kocher
1282000702 Backed out 12 changesets (bug 958596) for several Android permafails to fix a CLOSED TREE
Backed out changeset e4c0e3d3a768 (bug 958596)
Backed out changeset 7bc4f48d6b05 (bug 958596)
Backed out changeset 89cd12e3db45 (bug 958596)
Backed out changeset 283411053340 (bug 958596)
Backed out changeset 5329fa8c8847 (bug 958596)
Backed out changeset 0d1d26d588e3 (bug 958596)
Backed out changeset 715fe9eb5dfd (bug 958596)
Backed out changeset 66dde9d67ffa (bug 958596)
Backed out changeset 79e589f75065 (bug 958596)
Backed out changeset 1ed4c880ab70 (bug 958596)
Backed out changeset 1d40b0b8036d (bug 958596)
Backed out changeset ad35d51d9781 (bug 958596)
2014-02-25 18:34:47 -08:00
Botond Ballo
d9ee73dc9d Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats
--HG--
extra : amend_source : 11e8919bbe6c3ac9e28663cc5d4ab9a20aeef896
2014-02-25 19:35:06 -05:00
Botond Ballo
6598eb3605 Bug 958596 - Print the APZC tree for debugging. r=kats 2014-01-22 15:09:03 -05:00
Botond Ballo
bf9ca02460 Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn 2014-01-22 16:37:57 -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
Ed Morley
afee079378 Backed out changeset a29e486e2214 (bug 958596) 2014-02-25 17:17:02 +00:00
Ed Morley
37101405ae Backed out changeset 7a16622e6b38 (bug 958596) 2014-02-25 17:16:59 +00:00
Ed Morley
35a77da61e Backed out changeset 63d96f3e3e42 (bug 958596) 2014-02-25 17:16:52 +00:00
Botond Ballo
4f03179492 Bug 958596 - Print ScrollableLayerGuids of APZCs when printing the tree. r=kats
--HG--
extra : rebase_source : cc3688109bb8a8a074e24b2f0268fdc556f05c1f
2014-02-25 10:56:46 -05:00
Botond Ballo
445a53b951 Bug 958596 - Print the APZC tree for debugging. r=kats
--HG--
extra : rebase_source : bac86951246ba92f983a2ced3f7079143b5d42a1
2014-01-22 15:09:03 -05:00
Botond Ballo
1d1bf83ff4 Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn
--HG--
extra : rebase_source : f009ad9d779fb1a3afa525fe7e5eb3a399aee628
2014-01-22 16:37:57 -05: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
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
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
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
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
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
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
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
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
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
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
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
Nicolas Silva
e6f2d98eed Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel 2014-02-24 11:42:54 +01: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
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
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
387770d792 Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc 2014-02-25 12:55:39 +13: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
Ryan VanderMeulen
bb75ebbe6a Merge inbound to m-c. 2014-02-18 15:18:19 -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
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
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
Matt Woodrow
58b1d4f48c Bug 966543 - Group implementations in MacIOSurfaceTextureHost. r=nical 2014-02-18 09:36:57 +13:00
Matt Woodrow
bccfc9bf4a Bug 966543 - null check mSurface in MacIOSurfaceTextureHostOGL. r=nical 2014-02-18 09:32:49 +13:00
Matt Woodrow
b5987bbf40 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Matt Woodrow
a6e0daab7c Bug 889959 - Implement GetTextureClient for CairoImage. r=nical 2014-02-17 11:23:39 +13:00
Phil Ringnalda
71b27f8c88 Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
CLOSED TREE

Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
5c5e3de5e8 Bug 889959 - Don't clear compositor when detaching compositables. r=nical 2014-02-17 11:24:08 +13:00
Matt Woodrow
551fc01152 Bug 889959 - Implement GetTextureClient for CairoImage. r=nical 2014-02-17 11:23:39 +13:00
Sotaro Ikeda
abff10a46a Bug 972623 - Call SetCompositableBackendSpecificData() in ImageHost::Composite() r=nical 2014-02-15 17:00:16 -08:00
Kartikaya Gupta
34db632e35 Bug 967671 - Insure apzc always acknowledges scroll offset updates. r=botond 2014-02-15 07:06:27 -06:00
Ehsan Akhgari
dc28f1ce88 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
7b82ee95c1 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Bill McCloskey
337d1fec3b Back out assertion in bug 963952 for crashes 2014-02-14 13:35:49 -08:00
Andreas Pehrson
920f9c11d5 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
7969de45f2 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Ryan VanderMeulen
87113f5765 Backed out 8 changesets (bug 959154) for various oranges.
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Ehsan Akhgari
f6735f6300 Bug 969865 - Fix the allocation handling of frame time recording; r=avih
The size of these arrays can be controlled by a pref, but the max size
is bound to 216k, therefore we do not need to do a fallible allocation
for them.
2014-02-14 12:56:35 -05:00
Andreas Pehrson
1eada6baf8 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson
919b8e3183 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Morris Tseng
3680515b7f Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal 2013-11-07 22:22:05 -08:00
Ali Akhtarzada
00b1ca84d3 Bug 972843 - Make Image::GetAsSourceSurface pure virtual. r=nical 2014-02-18 08:59:34 -05:00
Nicolas Silva
1589113786 Bug 972397 - Fix BufferTextureClient::Lock. r=jrmuizel 2014-02-14 10:20:41 +01:00
Wes Kocher
57a27d0812 Merge b2g-inbound to m-c 2014-02-13 17:02:58 -08:00
Ryan VanderMeulen
0e311b4331 Merge m-c to b2g-inbound. 2014-02-13 10:32:21 -05:00
Sotaro Ikeda
ccd1c78ece Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical 2014-02-13 09:46:59 -05:00
Nicolas Silva
27d133cd82 Bug 971744 - Move checks from GetAsDrawTarget to Lock in D3D9 TextureClient. r=mattwoodrow 2014-02-13 11:45:13 +01:00