Commit Graph

3168 Commits

Author SHA1 Message Date
Nicolas Silva
9fe0848f78 Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow 2013-12-11 13:05:07 -05:00
Nicolas Silva
fc2a2730d2 Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob 2013-12-11 13:05:05 -05:00
Nicolas Silva
9ff91e0baa Bug 948955 - AddMaskEffect handles locking failure. r=bjacob 2013-12-11 18:32:41 +01:00
Vivien Nicolas
150e335c3b Bug 946999 - [Homescreen] With APZ turned on the homescreen is not rendered until you touch the screen in certain conditions. r=kats 2013-12-12 11:41:47 +01:00
Chris Peterson
223f9eb3e9 Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
Relanded on a CLOSED TREE
2013-12-10 22:58:51 -08:00
Ehsan Akhgari
1aec92c6ff Backed out changeset 6d9cf51a012a (bug 949360) because of mochitest-3 timeouts on a CLOSED TREE 2013-12-12 11:26:24 -05:00
Chris Peterson
7bea49c784 Bug 949360 - Check for Image AllocateBuffer() failures. r=nical 2013-12-10 22:58:51 -08:00
Robert O'Callahan
ef28de860d Bug 945634. The fixed-pos anchor point should be in the layer's coordinate system, whose 0,0 is the top-left of the fixed-pos frame. r=mattwoodrow 2013-12-13 01:33:02 +13:00
Ryan VanderMeulen
60ee2fe8a8 Merge b2g-inbound to m-c. 2013-12-06 15:56:46 -05:00
Vivien Nicolas
bc70edf375 Bug 946955 - Set the default friction of Axis.cpp to 0.002. r=kats 2013-12-06 18:51:10 +01:00
Nicolas Silva
acd8439101 Bug 943392 - Let MemoryTextureClient use a fallible allocation. r=BenWa 2013-12-06 16:30:50 +01:00
Dan Glastonbury
9f3e0a0598 Bug 942507 - GLContext doesn't need to have userdata. r=bjacob 2013-12-06 10:23:16 -05:00
Chris Lord
e7a811b01a Bug 943846 - Make APZC's generated display port contain the composition bounds. r=kats
A bug in layout means that setting a displayport on an element that doesn't
contain its scroll frame may cause the display item to be optimised away
(bug 936500).
2013-12-06 13:15:58 +00:00
Anthony Jones
d86d36438d Bug 839911 - Separate animation out from layer code; r=kats 2013-12-06 16:21:39 +13:00
Benoit Girard
fbc0af88d6 Bug 940706 - Fix gesture detection transformation with APZC. r=kats,botond 2013-12-05 18:17:37 -05:00
Ryan VanderMeulen
402473c083 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Ryan VanderMeulen
4c584f3f4a Merge b2g-inbound to m-c. 2013-12-05 17:53:41 -05:00
Ryan VanderMeulen
fe93ce0fd5 Merge inbound to m-c. 2013-12-05 17:29:03 -05:00
Carsten "Tomcat" Book
5ad51b9365 merge b2g-inbound to m-c 2013-12-05 12:57:24 +01:00
Ryan VanderMeulen
185553654c Backed out changeset 8b33af450fc6 (bug 945632) for OSX asserts.
CLOSED TREE
2013-12-04 22:03:29 -05:00
Jim Chen
9bac879d9e Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa 2013-12-04 21:24:28 -05:00
Botond Ballo
4c6324e47d Bug 942754 - Propagate zoom constraints from parent to child APZCs. r=kats
--HG--
extra : rebase_source : 92c3dcac3db2cd457d650ec08abfbab03c9517ce
2013-12-02 18:01:19 -05:00
Vivien Nicolas
edd1526fcb Bug 938312 - Wrong orientation when starting browser in landscape mode. r=kats 2013-12-05 16:15:39 +01:00
Sotaro Ikeda
c077b722cb Bug 944420 - Create TextureHostOGL when Compositor is not present on gonk. r=nical
--HG--
extra : rebase_source : 289bb433a863d22c16ad8aacb727f2f52f7a81f3
2013-12-04 17:46:03 -05:00
Nicholas Cameron
5443a00ad1 Bug 945632. Assert we don't leak on the host side. r=nical 2013-12-05 14:21:15 +13:00
Morris
61f30fb321 Bug 938528 - Check if data in the layer is still valid. r=gw280, r=snorp 2013-12-04 17:46:20 -05:00
Benoit Jacob
b07c30f1d5 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
Nicholas Cameron
38548a3d93 Bug 946031. Fix a warning in DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer. r=mattwoodrow 2013-12-04 17:33:16 +13:00
David Anderson
2170305c2f Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow). 2013-12-03 16:20:04 -08:00
Andreas Pehrson
2f5df9cf35 Bug 944679 - Do not return nullptr in DeprecatedTextureHostBasic::GetAsSurface. r=nical 2013-11-29 13:39:52 +01:00
Nicholas Cameron
67786f3e74 Bug 893301. Don't use new textures content on b2g. r=bjacob,nical 2013-12-06 07:39:22 +13:00
Nicholas Cameron
95b6653483 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Nicholas Cameron
ec6049922f No bug. Remove an erroneous comment. r=me. DONTBUILD 2013-12-04 12:28:36 +13:00
Benoit Girard
5dae7b00ed Bug 944866 - Bustage Intermittent failure. r=bustage on a CLOSED TREE 2013-12-03 15:04:47 -05:00
Benoit Girard
adacb10cf2 Bug 944866 - Bustage fix for gfx::pint. r=bustage on a CLOSED TREE 2013-12-03 14:07:26 -05:00
Benoit Jacob
b384f45f52 Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
16059bd0ed Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
557445f231 Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
642b73e3ef Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
83397cfb49 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
27c7bbb642 Bug 944703 - Part 8: make ShmemTextureClient hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
a55f35a092 Bug 944703 - Part 7: make DeprecatedSharedRGBImage hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
759b559e56 Bug 944703 - Part 6: make DeprecatedSharedPlanarYCbCrImage hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
0e4939b19e Bug 944703 - Part 5: make AllocShmemParams hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
907ab42d17 Bug 944703 - Part 4: make ContentHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
5139f05917 Bug 944703 - Part 3: make TextureHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
3b2fcb7e51 Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Girard
cb5d1145f7 Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Nicolas Silva
9b7045644c Bug 929506 - Check that gl->MakeCurrent returns true when using OpenGL on the Compositor side. r=bjacob 2013-12-03 11:44:46 +01:00
Nicholas Cameron
49f9704662 Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
4bef2d9be1 Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicolas Silva
dcb85d8e1a Bug 893301. Fix alpha corruptions. r=nrc 2013-11-08 18:53:16 +01:00
Nicholas Cameron
ddcf22cfb8 Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
de8210f84b Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
6d1eb73ffb Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
f33fe5b3a9 Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
a637bdf7c0 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
7d8f9b7701 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
d3a8ce4de4 Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
5d21ed99e2 Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow 2013-11-28 10:16:33 +13:00
Nicholas Cameron
14e587347a Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical 2013-11-28 10:16:33 +13:00
Ryan VanderMeulen
e74bb8fe33 Merge m-c to inbound. 2013-12-02 16:58:15 -05:00
Ryan VanderMeulen
994cdadd13 Merge inbound to m-c. 2013-12-02 16:39:00 -05:00
Edwin Flores
10b0f383a8 Bug 934412 - Add header offset in SharedRGBImage::GetBuffer r=nical 2013-12-03 10:25:27 +13:00
Benoit Girard
a7c936fb86 Bug 944866 - Pat 1: Add DrawLines to Compositor.h and implement for OGL. r=gal 2013-12-01 15:54:46 -05:00
Botond Ballo
00053572e6 Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis 2013-11-29 16:40:21 -05:00
Dan Glastonbury
0b98ce2b6a Bug 830881 - Port layerscope GL changes to new layers. r=vlad 2013-11-29 14:11:49 +10:00
Mike Hommey
9a64081150 Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob 2013-12-01 07:20:57 +09:00
Chris Peterson
54aa07e1cf Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal 2013-11-27 19:19:56 -08:00
Ms2ger
cf53814bbc Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
b2a48b6753 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
fdd3247a81 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Benoit Jacob
b601ddf8b0 Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob
d702a7823d Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa 2013-11-28 15:57:19 -05:00
Mike Hommey
2f727b6d62 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Andreas Pehrson
79a5d7be7d Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Cameron
957ecba802 merge backout 2013-11-28 12:32:24 +13:00
Nicholas Cameron
a450c10d73 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
12b1030b59 Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
9d0c710da5 Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
1821bf5e96 Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
56b50d3cc3 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
79b6f5f45c Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
ccd962044d Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
0fef92269d Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
5c987f1e31 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
98c798769f Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
2cb7b55cca Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow 2013-11-28 10:16:33 +13:00
Nicholas Cameron
faa37d750a Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical 2013-11-28 10:16:33 +13:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Anthony Jones
895c664218 Bug 888084 - Use RollingMean to calculate mean; r=BenWa 2013-09-25 12:13:33 +12:00
Chris Lord
5ef337c5a4 Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.

This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Benoit Jacob
406f766862 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-27 10:19:34 -05:00
Benoit Jacob
8b7013b519 Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical 2013-11-27 10:18:38 -05:00
Benoit Jacob
f83f2f5858 Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical 2013-11-27 10:18:38 -05:00
Benoit Jacob
ca06bace5e Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-27 10:18:38 -05:00
Brad Lassey
6420e3c893 Bug 915673 - Only use tiled layers for scrollable layers on b2g. r=tn,bgirard
Introduce a constructor for thebes layers that can take a hint about what the
layer will be used for, and use that hint to only create tiled layers when
the layer represents scrollable content.
2013-09-17 13:55:09 -04:00
Chris Lord
fbbaf509a8 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Markus Stange
de91212dad Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa 2013-11-27 08:33:39 +01:00
Markus Stange
66dccf3af2 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Wes Kocher
aead8a0b38 Merge m-c to inbound 2013-11-26 20:05:18 -06:00
Nicholas Cameron
99d13970e7 Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Nicholas Cameron
e62140a1e5 Bug 932888. Remove some now unnecessary includes. r=mattwoodrow 2013-11-27 13:29:46 +13:00
Nicholas Cameron
8fd2269b9d Bug 932888. Azurify some intermediate surfaces in BasicLayerManager. r=mattwoodrow 2013-11-27 13:29:45 +13:00
Nicholas Cameron
d6f2d86ba3 Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow 2013-11-27 13:29:45 +13:00
Jim Mathies
06adfb766f Bug 940952 - Replace apzc GeckoContentController pan notifications with more general purpose transform notifications. r=botond 2013-11-26 14:14:39 -06:00
Carsten "Tomcat" Book
8f9ac16095 merge b2g-inbound to mozilla-central 2013-11-26 12:40:07 +01:00
Botond Ballo
7b0a4c5e9a Bug 942535 - Fix a compiler warning about signed/unsigned comparison in APZ. r=dholbert
--HG--
extra : rebase_source : 816fc31c43178e1b5841c3a49cd71d2c08751331
2013-11-25 14:29:41 -05:00
Matt Brubeck
ea61d6562d Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Nicholas Cameron
ac9e0dc0e3 Bug 943122. Don't repeat 'Mask layer:' in layer dumps. r=BenWa 2013-11-26 15:07:44 +13:00
Nicholas Cameron
dac6bc1d68 Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa 2013-11-26 15:07:41 +13:00
David Anderson
00687a381b Remove unnecessary Lock() calls from BasicCompositor (bug 942318, r=mattwoodrow). 2013-11-25 15:15:03 -08:00
Nicholas Cameron
d4f7e3a57b Bug 942819. Check the return value of GetD3D9DeviceManager. r=mattwoodrow 2013-11-26 10:54:13 +13:00
Benoit Girard
74c90d1629 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Ryan VanderMeulen
c0054e0452 Merge m-c to inbound. 2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
14bce8a31f Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Botond Ballo
ed2ca112ae Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis 2013-11-21 17:38:00 -05:00
Trevor Saunders
15a29c7ef2 bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Nicholas Cameron
09191b2b85 Bug 924403. Rename OGL shaders files. r=mattwoodrow
--HG--
rename : gfx/layers/opengl/LayerManagerOGLProgram.cpp => gfx/layers/opengl/OGLShaderProgram.cpp
rename : gfx/layers/opengl/LayerManagerOGLProgram.h => gfx/layers/opengl/OGLShaderProgram.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.h => gfx/layers/opengl/OGLShaders.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.txt => gfx/layers/opengl/OGLShaders.txt
2013-11-27 11:15:17 +13:00
Nicolas Silva
fd65e156ab Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Ryan VanderMeulen
9071a054e6 Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE. 2013-11-26 14:58:09 -05:00
Ryan VanderMeulen
f46648bc41 Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
CLOSED TREE
2013-11-26 14:12:05 -05:00
Benoit Jacob
6c51ca326b Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-26 14:00:29 -05:00
Benoit Jacob
304427731e Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical 2013-11-26 14:00:07 -05:00
Benoit Jacob
688f0181f9 Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical 2013-11-26 13:59:48 -05:00
Benoit Jacob
1055faf741 Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-26 13:59:28 -05:00
Matt Brubeck
574c2b7015 Bug 941327 - Match scale to scroll offset during zoom animation [r=botond] 2013-11-21 14:12:28 -08:00
Matt Brubeck
0b097c42d2 Bug 941123 - Pre-render content before starting animated zoom [r=botond] 2013-11-21 14:12:25 -08:00
Nicholas Cameron
e0c9c3571b No bug. Add a missing include to fix bustage in the previous patches. r=me 2013-11-22 11:07:58 +13:00
Nicholas Cameron
a94b3297b7 Bug 900248. Handle the add/remove monitor case. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
39f315cb76 Bug 900248. An extra safety check in TextureD3D9 plus some refactoring around it. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
b2aa6e53cd Bug 900248. Move logic for device checking to Ready() and check it at the start of transactions. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
aa767195a9 Bug 900248. Better handling of device reset and recreation. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
319f9ffb3c Bug 900248. Remove managed pool d3d9 texture use. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
e92709ffbc Bug 900248. Reinstate some removed code and don't composite immediately after resetting the device. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
4e826ed7fd Bug 900248. Only create d3d9 device on the main thread. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
c66f56b5ba Bug 900248. Don't return a d3d9 device from device() if we can't composite. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
203505be26 Bug 900248. Don't assume success for effect creation. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
f93ee05073 Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
beeacc6b62 Bug 900248. ReleaseTextureResources. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
d946444b25 Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow 2013-11-22 11:07:55 +13:00
Ryan VanderMeulen
7de5623bf1 Merge m-c to inbound. 2013-11-21 15:53:49 -05:00
Ryan VanderMeulen
3c15925167 Merge b2g-inbound to m-c. 2013-11-21 15:22:03 -05:00
Nicolas Silva
ede1cf13e7 Bug 940959 - Compiled shaders. r=generated code 2013-11-21 17:42:10 +01:00
Nicolas Silva
e2bfc7eef2 Bug 940959 - Use alpha textures for YCbCr planes with D3D11. r=nrc 2013-11-21 17:42:05 +01:00
Nicolas Silva
d944057511 Bug 940959 - Use alpha textures for YCbCr planes with D3D10. r=nrc 2013-11-21 17:41:58 +01:00
Nicolas Silva
028e95eb05 Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc 2013-11-21 17:40:55 +01:00
David Anderson
51ca221b03 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Botond Ballo
d902b6cdbd Bug 941210 - APZCTreeManager builds a wrong APZC tree for some layer trees. r=kats 2013-11-20 15:27:40 -05:00
Nicolas Silva
ad6579b6cd Bug 926558 - Remove a warning that is not used correctly. r=BenWa 2013-11-13 13:25:50 +01:00
Botond Ballo
c33a73dd59 Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis 2013-09-23 14:09:48 -05:00
Wes Kocher
e32eda92b7 Merge inbound to m-c 2013-11-21 19:14:06 -08:00
Benoit Girard
392ec61d0e Bug 936566 - Print mask layers in layers dump. r=nrc 2013-11-19 23:55:27 -05:00
Chris Lord
e19e0f1113 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Jacek Caban
c4f126f124 Bug 900248 - Removed extra qualification of IsInTextureHostList.
--HG--
extra : rebase_source : 8e0cdc445810aad2f3f4332462df69b07a6eac02
2013-12-02 12:25:51 +01:00
Ed Morley
f11b71bada Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Ryan VanderMeulen
9c7728d496 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Ben Kelly
940b24fcfa Bug 940488 - Initalize RotatedBuffer::mDidSelfCopy. r=BenWa 2013-11-19 14:56:57 -05:00
Botond Ballo
20adb2fb8e Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
James Willcox
12347a348f Bug 928804 - Always use an up-to-date texture transform when compositing SharedTextureSourceOGL r=nical 2013-11-19 08:41:57 -06:00
Chris Lord
c97c1763cd Bug 869696 - Enable Gralloc on the Geeksphone Peak again. r=bjacob
The issues that caused it to be disabled initially have now been resolved.
2013-11-19 13:29:29 +00:00
Nicholas Cameron
f64740250c Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow 2013-11-20 20:27:23 +13:00
Phil Ringnalda
e4aeb333c0 Back out 4d8015a52178 (bug 936566) for build bustage 2013-11-18 21:34:23 -08:00
Benoit Girard
d2974b1b18 Bug 936566 - Print mask layers in layers dump. r=nrc
--HG--
extra : rebase_source : cb960d4f8880f9c3fd39fafc8a4c8a21f6a19596
2013-11-18 20:22:41 -05:00
Nicholas Cameron
5e244c94b1 merge 2013-11-19 17:39:24 +13:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Wes Kocher
d600490156 Merge fx-team to m-c on a CLOSED TREE 2013-11-18 18:25:57 -08:00
Jim Mathies
5e6ef74079 Bug 937185 - Discard old apzcs if the ScrollableLayerGuid is updated. r=kats 2013-11-18 09:14:08 -06:00
Anthony Jones
f4ae9d8faf Bug 899154 - Disable dropping resolution during fling; r=kats 2013-11-15 11:12:03 +13:00
Benoit Jacob
012417f2af Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Jacob
fbd864db98 Bug 938970 - 4/5. Some gralloc-related tweaks required to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:25 -05:00
Benoit Jacob
4ecaf505b0 Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:23 -05:00
Benoit Jacob
633e63c6ef Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow 2013-11-17 21:06:21 -05:00
Benoit Jacob
e8e6415c11 Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow 2013-11-17 21:04:38 -05:00
Benoit Girard
6702bd8431 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Ehsan Akhgari
d5ce0b2339 Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Nicholas Cameron
407c5f8c6b Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Robert O'Callahan
a9af781aaa Bug 938316. Work around fractional texture resampling issues by switching to NEAREST sampling when we're doing a pixel-aligned compositing operation. r=jrmuizel
--HG--
extra : rebase_source : ec49c8c8993af402a24b57efbaea743d39dcd89c
2013-11-13 23:56:11 +13:00
Robert O'Callahan
b31c87b26b Bug 937987. Don't use lowp for texture coordinates. Only use it for colors. r=bjacob
--HG--
extra : rebase_source : 9dd8bcebb8b8ef3666f4deae1b1c49dc89bc4486
2013-11-13 17:45:19 +13:00
Matt Woodrow
df034c7574 Bug 937878 - Don't let too many ContentHostIncremental updates queue up. r=nrc 2013-11-15 12:56:42 +13:00
Michael Wu
55d15f2463 Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas 2013-11-15 12:50:00 -05:00
Benoit Jacob
49366dcf8c Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
ab53bf3ef7 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-11-14 20:57:32 -05:00
Nicholas Cameron
b7b3ca15bd Fix bustage from bug 915940 on a CLOSED TREE. r=me 2013-11-15 11:13:53 +13:00
Nicholas Cameron
d1aab0c912 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Botond Ballo
b158af9af4 Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats 2013-10-18 17:13:26 -04:00
Kartikaya Gupta
cc698c25b3 Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond 2013-11-12 11:56:57 -05:00
Kartikaya Gupta
5911da4a8a Bug 934420 - Try to preserve the right APZC in the face of layer tree changes. r=botond 2013-11-14 15:35:30 -05:00
Botond Ballo
d48fdb5dd0 Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE 2013-11-14 15:11:53 -05:00
Botond Ballo
522b1cd18e Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats 2013-11-13 14:13:40 -05:00
Kartikaya Gupta
3d2dfca62e Bug 937688 - Make UpdateCompositionBounds affect all of the root APZCs for the layers id. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
0aa34abca6 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
0ee64fe351 Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond 2013-11-13 13:20:31 -05:00