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

6745 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Nicholas Nethercote ae19c23f26 Bug 1223215 (part 4) - Remove a ToSize() call. r=jrmuizel.
--HG--
extra : rebase_source : c4305bf12e75da89fca8be0468ff8438c36cc016
2015-11-08 21:04:42 -08:00
Randall Barker 02228538d3 Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
--HG--
extra : commitid : al8R68DZJ5
2015-11-10 12:47:48 -05:00
Randall Barker 9199477993 Bug 1223436 - Fix AsyncCompositionManager so that mLayersUpdated is only set to false after SyncFrameMetrics has been called. r=kats
--HG--
extra : commitid : 14Ip4CDsoEZ
2015-11-10 12:01:35 -05:00
Milan Sreckovic cec30dd69d Bug 1222033 - Rename gfxCrash to gfxDevCrash. r=jrmuizel 2015-11-09 07:28:00 +01:00
Kartikaya Gupta cca6bbe4e9 Bug 1174532 - Even if the APZC is not pannable, have a small slop area to consume touchmove events. r=botond
--HG--
extra : commitid : 4O6nOyxOfbz
2015-11-09 16:42:34 -05:00
Bill McCloskey f8aa3d2562 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-09 10:21:11 -08:00
Nathan Froyd bc83fc417c Bug 1222569 - remove unused variables in CompositorD3D9.cpp; r=Bas
None of the other DrawPrimitive calls in DrawQuad are checked, so
discaring the result from this call of DrawPrimitive seems OK.
2015-11-06 15:04:40 -05:00
Nathan Froyd 33ff686226 Bug 1222569 - remove unused variable in TextureD3D9.cpp; r=Bas 2015-11-06 15:02:52 -05:00
Nathan Froyd 383397bc5b Bug 1222569 - fix initialization order in DataTextureSourceD3D9; r=Bas
Member fields are supposed to be initialized in the order they are
declared, but the constructors of DataTextureSourceD3D9 initialized
mFormat prior to mCompositor.  This is probably harmless, but it does
cause a warning on clang-cl, so let's fix it.
2015-11-05 14:34:14 -05:00
Sebastian Hengst 7399ac0b2a Backed out 3 changesets (bug 1221368, bug 1221371) for build failures in B2G JB Emulator. r=backout
Backed out changeset a50c676caf7f (bug 1221371)
Backed out changeset bd99e5060e1e (bug 1221371)
Backed out changeset 3a22461c8ce8 (bug 1221368)

gecko/ipc/chromium/src/base/task.h:36:4: error: use of deleted function 'RefPtr<T>::operator T*() const && [with T = nsScreenGonk]'
make[6]: *** [nsScreenManagerGonk.o] Error 1
2015-11-08 21:25:22 +01:00
Bill McCloskey 50c9efe1a4 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-08 10:25:09 -08:00
Robert O'Callahan cf2724f213 Bug 1222308. Assume frames that are very old will never be composited. r=nical
This also makes NotifyCompositeInternal take O(N) time in the length of
mFrameIDsNotYetComposited instead of O(N^2).

--HG--
extra : commitid : 6cKD9FP2S5x
extra : rebase_source : c9e99b36f847daa2c32217dc76dfd9f0cc311fe5
2015-11-06 16:56:34 +13:00
Kevin Wern 6a1cf14315 Bug 1199798 - Use more generic tree traversal algorithms in APZCTreeManager. r=botond
Extend the tree traversal algorithms in TreeTraversal.h, and use them
instead of manual loops in APZCTreeManager.

- Create function ForEachNode(), which calls a function on each node
  of a tree. The function must return a TraversalFlag to indicate
  whether the node's children should be visited or skipped.
- Modify DepthFirstSearch() and BreadthFirstSearch() to operate on
  pointers that are not (necessarily) const. This makes them more
  general.
- Refactor functions in APZCTreeManager: Collect, FlushRepaints,
  FlushRepaintsRecursively, FlushPendingRepaint,
  FlushPendingRepaintRecursively, UpdateZoomConstraints,
  UpdateZoomConstraintsRecursively, ClearTree, FindScrollNode.

--HG--
extra : rebase_source : e7a740a9833ba49b1d41849bb43ce9077d42bc07
extra : source : ef6f195f2259e103f0c1979a5f4ebb5a8601b15d
2015-11-06 12:31:36 -05:00
Jeff Muizelaar bcf6317ef4 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-06 13:55:31 -05:00
Benoit Girard cf1035b664 Bug 1221593 - Don't reset other axis' scroll position during APZ drag. r=kats
--HG--
extra : commitid : Lrtt64KrpO3
extra : rebase_source : 9c2962a1cdfc42ff17e784d5ffab88185439ceec
2015-11-04 13:00:56 -05:00
Nicolas Silva 8b09e3bc14 Bug 121976 - Add a destruction handshake to PCompositable so as to avoid races between messages and the protocol. r=sotaro 2015-11-06 16:56:03 +01:00
Botond Ballo 5bf85e9f9d Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical
--HG--
extra : source : 1f371f014048ed4c3c25095233fea927311a7e23
2015-11-04 11:49:49 -05:00
Mike Hommey 4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
Timothy Nikkel ae9c7ca837 Bug 1208780. Set a zero-margin displayport on all scrollable ancestors of frames with displayports if they don't already have a displayport. r=botond 2015-11-05 18:57:17 -06:00
Benoit Girard 0b2a0eb4b7 Bug 1220895 - Add layerviewer for layer tree & display list visualization NPOTB. r=botond
--HG--
extra : commitid : 7WUfAkbxIOu
2015-11-05 16:23:23 -05:00
Mason Chang 0cb3e0be35 Bug 1221697 - Add a telemetry probe for time-to-composite. r=kats 2015-11-05 10:24:12 -08:00
Kartikaya Gupta c2925e4554 Bug 1221186 - Don't clobber a fling-snap with a snap-to-where-we-are-now in the overscroll handoff chain. r=botond
--HG--
extra : commitid : LhatrEsh6wF
2015-11-05 09:31:39 -05:00
Kartikaya Gupta fba7cabf57 Bug 1216355 - Ensure that if a repaint request is ignored due to a stale generation number the next repaint request doesn't get dropped. r=botond
--HG--
extra : commitid : 5Zh7BCHsJWF
2015-11-05 09:31:39 -05:00
Chris Lord b80cfac62c Backout ed2fdc36728d (Bug 1177842) for undesirable behaviour. r=botond 2015-11-05 13:58:16 +00:00
Benoit Girard 339fc50993 Bug 1221276 - Don't crash if we don't have a surface. r=nical 2015-11-03 16:07:02 -05:00
Timothy Nikkel 528864b6be Bug 1215977. Add a flag for GetNearestScrollable that makes fixed pos frames return the root scroll frame of their document. And make APZCCallbackHelper use it to restore previous behaviour. r=botond
We may want to do this for fixed pos frames in all documents (not just root documents). However, this patch only maintains the previous behaviour on purpose.
2015-11-04 19:51:03 -06:00
Wes Kocher a6029c8941 Backed out changeset 722e121f6ce6 (bug 1217080) for b2g build failures
--HG--
extra : commitid : HdV0UNFbTFn
2015-11-04 15:39:35 -08:00
Jeff Muizelaar 83d63902a7 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-04 17:40:02 -05:00
Kartikaya Gupta 9c3bee6673 Bug 1141127 - When inside a slop area around the first touchstart, prevent touchmove events from going to content. r=botond
--HG--
extra : commitid : E3IfNyFrc0G
2015-11-04 17:09:52 -05:00
Kartikaya Gupta 1ca49c085c Bug 1194546 - Ensure that the timeout to allow the transaction to expire waits long enough. r=botond
--HG--
extra : commitid : C6hifevCLzO
2015-11-04 14:23:14 -05:00
Kartikaya Gupta 489b582b4b Bug 1194546 - Wait for the layer tree to reach the compositor before starting to scroll. r=botond
--HG--
extra : commitid : 6C8iDPDIm8E
2015-11-04 14:21:06 -05:00
Benoit Girard 0f1d97ed61 Bug 1220853 - Notify wheel transaction of mouse move when using async dragging. r=kats
--HG--
extra : commitid : Aw8xxcgcHKF
2015-11-03 14:21:35 -05:00
Kartikaya Gupta bc977a5380 Bug 1141884 - Rename ResetInputState and make it only apply to touch events. r=botond
In particular, we want to prevent requesting a snap in the scenario that a wheel
block gets prevent-defaulted. In general the function is really only relevant
for touch input and there's no need to run it for other types of input.

--HG--
extra : commitid : oBr4VmShHv
2015-11-03 14:21:40 -05:00
Kartikaya Gupta 6f1fa89293 Bug 1213120 - Ensure we don't try to use an uninitialized map. r=BenWa
--HG--
extra : commitid : KBCIVOZsVmU
2015-11-03 11:12:46 -05:00
Nicolas Silva 1ebb1e2bb7 Bug 1219330 - Handle PlanaYCbCrImage::SetData failure. r=jya, jesup 2015-11-03 12:24:26 +01:00
Boris Chiou b2d9321540 Bug 1108055 - Part 2: Refine ComputedTiming. r=birtles
Do some minor revisions in struct ComputedTiming.
1. Use Nullable<double> mProgress, so remove the static const kNullProgress.
   The generated ComputedTimingProperties dictionary uses "Nullable" variable,
   so we replace the origin type in ComputedTiming to make it more consistent
   with that in ComputedTimingProperties dictionary.
2. Use scoped enums for AnimationPhase.

--HG--
extra : rebase_source : 31280c867a30e7bcdcfe831cbc72ca08c8ddc762
2015-10-19 00:38:00 +02:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Thinker K.F. Li 2a3f9839c2 Bug 1211360 - Don't snap for non-translation 3D transform. r=roc
--HG--
extra : histedit_source : 7515376b0eb76c7957adce0fc37cc5bb52361de5
2015-10-25 22:05:00 -04:00
Nicholas Nethercote d932f3e261 Bug 1219476 (part 3) - Replace PRLogModuleInfo usage with LazyLogModule in gfx/. r=erahm.
--HG--
extra : rebase_source : 58323047fe8b571cd312120acb6c9adb8b7a3b2c
2015-10-29 15:44:31 -07:00
Timothy Nikkel 8b69679137 Bug 1220004. mozInnerScreenX/Y is in CSS pixels, not device pixels. Fix usage of it in apz test utils. r=botond 2015-11-01 11:45:40 -06:00
Kartikaya Gupta b4cf5cc4aa Bug 1219898 - Remove use of gPreventMouseEvents in APZ event state-tracking code. r=botond
--HG--
extra : commitid : 3raJl95nr6q
2015-10-30 22:22:28 -04:00
Benoit Girard 698006ddf9 Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
--HG--
extra : commitid : Grx9aF2UvH2
extra : rebase_source : ea2601a2a3ac2870383fa86d8e7bd90342424ce1
2015-10-26 16:06:49 -04:00
Nicolas Silva 07d26fbeb6 Bug 1219330 - Prevent the creation of TextureClient after shutdown. r=mattwoodrow 2015-10-30 13:25:29 +01:00
Markus Stange 030313a222 Bug 1216248 - Recomposite when the window overlay changes. r=mattwoodrow
--HG--
extra : commitid : JX5QiGz9HSG
extra : rebase_source : 7330073386d25c112cf1c0056383520a0bcf0e0b
extra : amend_source : 66cc16e8ad0ca361c3f9c25814d00ec5df4b169d
2015-10-30 11:49:07 +01:00
Markus Stange 76845de322 Bug 1217168 - Respect layer clip rects during plugin visibility computation. r=jimm
--HG--
extra : commitid : EAwkrjTK38j
extra : rebase_source : cfd8574444637eb284f11f9320530f386b3e52e4
2015-10-27 21:06:57 +01:00
Benoit Girard 248608a940 Bug 1219929 - Fix bad MouseInputData case. r=me 2015-10-29 17:36:05 -04:00
Milan Sreckovic 33b10a1074 Bug 1214802 - gfxEnv - consolidate environment variables used by the graphics code in one place. r=botond 2015-10-28 14:31:00 +01:00
Matt Woodrow 9ebdab0d64 Bug 1205913 - Differentiate YCbCr, NV12 and RGB textures when drawing layer borders. r=nical
--HG--
extra : rebase_source : 07e21d92965390711da32ab5ae8d797c1aeb98d8
2015-10-23 12:51:20 +13:00
Carsten "Tomcat" Book e3543211df Backed out changeset 94df1f873f5c (bug 1205913) 2015-10-29 13:52:14 +01:00