Граф коммитов

6690 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta c65eaafded Bug 1219391 - Request snapping for the entire handoff chain when ending the fling animation. r=botond
--HG--
extra : commitid : 6yaFBO8ZuY
2015-10-28 15:39:13 -04:00
Botond Ballo 4797e62ace Bug 1218618 - Assert that the hit-testing tree's root node doesn't have siblings. r=kats
--HG--
extra : source : 94dc564a7dd0b93e22e60395391b4b951b09c002
2015-10-28 15:27:35 -04:00
James Willcox 7a528d20d4 Bug 1213968 - Renew the surface on iOS when resuming the compositor r=kats 2015-10-28 14:10:28 -05:00
James Willcox 7fa8522446 Bug 1213970 - Enable APZ on iOS r=kats 2015-10-28 14:10:27 -05:00
James Willcox faa1a44adb Bug 1208513 - Resurrect SharedSurface_GLTexture for use on iOS r=jgilbert 2015-10-28 14:10:25 -05:00
Kartikaya Gupta e9975e4779 Bug 1190469 - Request scroll snapping in a few places that animations are cancelled so that we don't leave things unsnapped. r=botond
--HG--
extra : commitid : E2vwH6RDvR5
2015-10-28 14:02:36 -04:00
Kartikaya Gupta 731d7a9cdf Bug 1190469 - Refactor some code to have a general-purpose snap function available in APZC. r=botond
--HG--
extra : commitid : FuJ8LNkJWKv
2015-10-28 14:02:33 -04:00
David Anderson 7e275205ba Use compositor clip rects, not client clip rects, when computing the compositor's backbuffer damage region. (bug 1189159, r=mattwoodrow) 2015-10-28 10:22:16 -07:00
Kartikaya Gupta 823c68c255 Bug 1217818 - Ignore injected touchstart events for the purposes of prevent-default notifications back to APZ. r=botond
--HG--
extra : commitid : Gf3wynm1xt9
2015-10-28 12:53:52 -04:00
Kartikaya Gupta eee88093b7 Bug 1217818 - Add support for the mHandledByAPZ flag on touch events as well. r=botond
--HG--
extra : commitid : Dcfgar8CZOi
2015-10-28 12:53:34 -04:00
Kartikaya Gupta 792a61aa26 Bug 1217818 - Add some more logging to more easily diagnose issues. r=botond
--HG--
extra : commitid : 7BLbPMQX8g2
2015-10-28 12:52:54 -04:00
Kartikaya Gupta 19ae3d2b17 Bug 1217818 - Minor refactoring to reuse a function. r=botond
--HG--
extra : commitid : 3KFxfvP88Fq
2015-10-28 12:52:54 -04:00
Sotaro Ikeda e95d404678 Bug 1216056 - Always sent OpRemoveTextureAsync as pending async Messages r=nical 2015-10-28 04:04:28 -07:00
Sotaro Ikeda 963cb70aca Bug 1218617 - Invalidate whole widget area after external composition r=mattwoodrow 2015-10-27 22:56:27 -07:00
Nicolas Silva 91b4564002 Bug 1194775 - Paper over a crash in ContentClient. r=Bas 2015-10-27 18:21:58 +01:00
David Anderson 8dd3b854fb Compute the compositor's damage region before composites, rather than layers updates. (bug 1217560, r=mattwoodrow) 2015-10-27 10:15:02 -07:00
Nicolas Silva fbb1c0bfe7 Bug 1211204 - Remove possible false-negative with D3D9 texture memory reporting. r=mattwoodrow 2015-10-27 11:58:05 +01:00
Sotaro Ikeda d7e0a22d6a Bug 1210182 - Implement GrallocTextureHostBasic r=nical 2015-10-26 22:43:07 -07:00
Chris Lord e31fb8cd6d Bug 1177842 - Introduce separate friction for fling-snap. r=botond
--HG--
extra : rebase_source : 1ce9d27b5208622a9ba14be4b684116adbc6c453
2015-10-26 18:04:02 +00:00
Kartikaya Gupta 3f91f07360 Bug 1218160 - Fix a build error with some compiler versions on OS X. r=froydnj
--HG--
extra : commitid : ESxduyz6cYH
2015-10-26 13:25:25 -04:00
Sotaro Ikeda 29259a9e77 Bug 1215364 - Implement BasicCOmpositor::EndFrameForExternalComposition r=nical 2015-10-25 22:41:57 -07:00
Bas Schouten df2cb10dd3 Bug 1216349: Upload the old valid region as well if our texture host changed. r=nical 2015-10-25 16:00:59 +01:00
Botond Ballo e2037b8b38 Bug 1217251 - In TaskThrottler, dispatch the timeout task correctly from the Java UI thread on Android. r=kats
--HG--
extra : source : 4d35b236cec7651049af00eac2dd38ba868c6cdd
2015-10-22 16:46:11 -04:00
Botond Ballo 534b661e0d Bug 1217251 - Add APZThreadUtils::RunDelayedTaskOnCurrentThread(). r=kats
--HG--
extra : source : 2f201dbbe6417bd41d616a5dcebc7a72f6918a6a
2015-10-22 16:45:26 -04:00
Thinker K.F. Li fd72ecbc34 Bug 1214212 - Remove clips from separator transform items. r=roc 2015-10-22 23:29:00 -04:00
Nathan Froyd 9f16f39c05 Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Nathan Froyd 6ce5981d38 Bug 1217662 - part 4 - move {LayerManager,Layer}::RemoveUserData out-of-line; r=mattwoodrow
Having these out-of-line means that we don't have to have
LayerUserData's destructor in scope for the destruction of the local
nsAutoPtr.  This change will enable us to forward-declare LayerUserData
in Layers.h and thereby encourage people to use the correct header for
LayerUserData.
2015-10-22 16:57:29 -04:00
Nathan Froyd 735e488da3 Bug 1217662 - part 2 - move mozilla::layers::LayerUserData to a separate header; r=mattwoodrow
Having to include all of Layers.h just to get at the definition of
LayerUserData is inconvenient, especially as most of the interesting
things in Layers.h can be forward-declared.  Let's move LayerUserData to
its own header, so clients can include a small header for that,
forward-declare anything else they need from Layers.h, and reduce header
bloat.
2015-10-22 16:04:35 -04:00
Nathan Froyd 7699d5d9c4 Bug 1217662 - part 1 - make LayerManagerUserDataDestroy a static function of LayerManager; r=mattwoodrow
LayerManagerUserDataDestroy is a static function in Layers.h that we
only ever take a pointer to, to use it as a destruction function for
gfx::UserData.  It's *possible* the compiler is smart enough to call it
directly, rather than through the function pointer stored in
gfx::UserData, but that seems highly unlikely.  And
LayerManagerUserDataDestroy does a virtual call anyway, so it's not as
though it being inlined is particularly important.

All of this is to say that we don't need to define
LayerManagerUserDataDestroy in Layers.h; defining it out-of-line will be
just as effective.  Defining it out-of-line also means that we don't
need the definition of LayerUserData anywhere in Layers.h, and we can
move LayerUserData to a separate header.
2015-10-22 15:39:30 -04:00
Milan Sreckovic dd6aa8383f Bug 1217192 - Use gfxCriticalNote where we're already using the non-default construction parameter. r=mchang 2015-10-21 14:34:00 +02:00
Phil Ringnalda 0f3cf4490c Back out changeset 02d17c84afff (bug 1214212) for (mostly) transform-3d reftest failures
CLOSED TREE
2015-10-21 20:22:45 -07:00
Thinker K.F. Li 517b105b08 Bug 1214212 - Remove clips from separator transform items. r=roc 2015-10-21 03:35:00 -04:00
Jim Mathies 176b60b4a8 Bug 1213671 - CompositorParent::UpdatePluginWindowState should always return an accurate result indicating when an ipc request for plugin geometry updates was sent. r=roc 2015-10-21 17:27:48 -05:00
Wes Kocher 312565be9b Backed out changeset 2bc866307e4b (bug 1189159) for browser_animation_* permafail 2015-10-21 13:42:05 -07:00
Jamie Nicol 65912b35e8 Bug 1210444 - Set DEALLOCATE_CLIENT flag for EGLImage SharedSurfaceTextureClients. r=nical
SharedSurface_EGLImages are deallocated on the client side and are
unable to be recycled. This led to a race condition where CanvasClient
would free a TextureClient, destroying its underlying data, but
ImageHost might attempt to composite the corresponding TextureHost
before receiving a replacement to use instead.

Give SharedSurface an interface for its backends to specify any texture
flags that they require a TextureClient to set, and ensure that
DEALLOCATE_CLIENT is set for SharedSurface_EGLImage
SharedSurfaceTextureClients. This ensures that texture data is destroyed
synchronously and, importantly, after any outstanding ipdl messages have
been delivered. This guarantees that ImageHost has received a new
TextureHost to composite before the previous TextureHost's data is
destroyed.
2015-10-19 17:26:26 +01:00
David Anderson 7c417e6071 Layer tree invalidation should use the effective clip rect, not the base clip rect. (bug 1189159, r=mattwoodrow)
--HG--
extra : rebase_source : 46b7f5e0e8c7116577f541d82a2c58ce0743262c
2015-10-20 22:59:10 -07:00
David Anderson fb84bcaa55 Fix scrollbars on subframes not directing APZ events to the correct scrollframe. (bug 1213324, r=tn) 2015-10-20 02:39:34 -07:00
Jeremy Chen 5633e63929 Bug 1205521 - Part4: (v2) Align LayerScopePacket to fit changes in Bug 1211324. r=dglastonbury 2015-10-18 20:37:00 +02:00
Jeremy Chen 1665f755fd Bug 1205521 - Part3: (v3) Dump texture/mask attributes on layerscope viewer. r=dglastonbury 2015-10-20 02:05:00 +02:00
Jeremy Chen 9863e0ecbd Bug 1205521 - Part2: (v3) Generated file diffs from patched LayerScopePacket.proto. r=dglastonbury 2015-10-18 20:32:00 +02:00
Jeremy Chen 75ecd3c095 Bug 1205521 - Part1: (v3) Add texture/mask attribute fields in LayerScopePacket.proto. r=dglastonbury 2015-10-18 20:31:00 +02:00
Botond Ballo b73c1c58f3 Bug 1213273 - Use a chromium Task instead of an nsITimer for the timeout in TaskThrottler. r=mstange
--HG--
extra : rebase_source : 2ddc7714fff1d62aa394332fdafd8c2e5c97b065
extra : source : 00f7757e184487dc77e1be0e07ef7c4e9360e6c3
2015-10-16 19:00:15 -04:00
Carsten "Tomcat" Book 65d8ab26f0 Backed out 4 changesets (bug 1205521) for bustage
Backed out changeset 2a3c00d122c5 (bug 1205521)
Backed out changeset e8769c3e5d4f (bug 1205521)
Backed out changeset 1ff444636fbd (bug 1205521)
Backed out changeset 4ae51f091661 (bug 1205521)

--HG--
extra : rebase_source : cf4f338aa3043706c9fec37d2194b967d65ecaff
2015-10-20 10:45:31 +02:00
Botond Ballo c132f32fc8 Bug 1213762 - Clear AsyncCompositionManager::mIsFirstPaint on non-Android platforms, too. r=mstange
--HG--
extra : rebase_source : 86e4c9b185c9d5a0b57cc12099326008a5b08a55
extra : source : 84dbb629686454ce74c7cdf1ea18866f703a0b4d
2015-10-16 18:33:35 -04:00
Sotaro Ikeda 10f1bcce89 Bug 1206763 - Enable SkiaGL canvas on gonk r=mattwoodrow 2015-10-20 01:35:00 -07:00
Jeremy Chen b6f12e730b Bug 1205521 - Part4: (v2) Align LayerScopePacket to fit changes in Bug 1211324. r=dglastonbury
--HG--
extra : rebase_source : b26b76d31d3b4f3892269ae3741e73c6228e99d9
2015-10-18 20:37:00 +02:00
Jeremy Chen 0c5e2a9391 Bug 1205521 - Part3: (v3) Dump texture/mask attributes on layerscope viewer. r=dglastonbury
--HG--
extra : rebase_source : b89af8a8a1386b39ef872cbd0c4e2e9ef41e507a
2015-10-18 20:36:00 +02:00
Jeremy Chen 8906d8f27b Bug 1205521 - Part2: (v3) Generated file diffs from patched LayerScopePacket.proto. r=dglastonbury
--HG--
extra : rebase_source : 55a852d755a487c83b01710d20c97fbfbb67e2b5
2015-10-18 20:32:00 +02:00
Jeremy Chen ab22c82587 Bug 1205521 - Part1: (v3) Add texture/mask attribute fields in LayerScopePacket.proto. r=dglastonbury
--HG--
extra : rebase_source : 7f9910527bcf69682e2687eac460a2c28caf3001
2015-10-18 20:31:00 +02:00
Benoit Girard 6b9d783414 Bug 1216287 - Properly invalidate the debug overlay. r=mattwoodrow
--HG--
extra : commitid : 7FvAQbZecjW
2015-10-19 18:03:48 -04:00