Commit Graph

20478 Commits

Author SHA1 Message Date
Nathan Froyd
62b66d3dba Bug 1222569 - remove unused variable from DrawTargetD2D1.cpp; r=Bas 2015-11-06 15:09:03 -05:00
Nathan Froyd
ff7379df68 Bug 1222569 - remove unused const variables from ExtendInputEffectD2D1.cpp; r=Bas 2015-11-06 15:08:29 -05:00
Nathan Froyd
048d9143a0 Bug 1222569 - remove unused function from gfxPlatformFontList.cpp; r=Bas 2015-11-06 15:07:10 -05: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
9c46bc20f5 Bug 1222569 - remove unused variable in gfxDWriteFonts.cpp; r=Bas 2015-11-06 15:02:07 -05:00
Nathan Froyd
20624ec388 Bug 1222569 - fix -Wformat warning in gfxWindowsPlatform.cpp; r=Bas 2015-11-06 14:42:09 -05:00
Nathan Froyd
2b88ed7158 Bug 1222569 - fix initialization order in gfxWindowsPlatform.cpp; r=Bas 2015-11-06 14:40:48 -05:00
Nathan Froyd
1faded305e Bug 1222569 - fix initialization order in SourceSurfaceD2D1; r=Bas
Member fields are supposed to be initialized in the order they are
declared, but the constructor of SourceSurfaceD2D1 initialized
mDrawTarget prior to mDevice.  This is probably harmless, but it does
cause a warning on clang-cl, so let's fix it.
2015-11-05 15:22:08 -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
Carsten "Tomcat" Book
cddfda5e2c Backed out changeset 663cc5ad5c32 (bug 1222033) for bustage on a CLOSED TREE 2015-11-09 09:44:08 +01:00
Milan Sreckovic
49f15c1e44 Bug 1222033 - Rename gfxCrash to gfxDevCrash. r=jrmuizel
--HG--
extra : rebase_source : 435421b5ca7e89c439e8ece6f4bf10306337f389
2015-11-05 07:32:00 +01: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
Benoit Girard
f592f0fa5b Bug 1221348 - Part 2: Fix texture sharing detection code on Intel. r=jrmuizel
--HG--
extra : commitid : 7OxVAv5q4NJ
2015-11-06 14:48:44 -08: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
Benoit Girard
ca56eb47b0 Bug 1221348 - Part 1: Unify crash signatures. r=jrmuizel
--HG--
extra : commitid : JmqLdOjZe0m
2015-11-06 11:54:32 -05:00
Mason Chang
8aa60c20d6 Bug 1221674 - Add telemetry probe in the content process to measure the time between refresh driver ticks. r=kats 2015-11-06 08:20:58 -08: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
Nathan Froyd
6f23e9f332 Bug 1222175 - initialize base of ScaledFontDWrite before its members; r=Bas
Initializing things in the other order causes warnings on clang-cl.
2015-11-05 15:19:33 -05: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
Nicholas Nethercote
03f9b8a57c Bug 1222171 - Re-establish equivalence between gfxImageFormat and cairo_format_t. r=mstange.
It would be nice to add static assertions for this equivalence but I don't want
to have to include cairo.h in gfxTypes.h. (Indeed, that's why
gfxImageFormatToCairoFormat and gfxCairoFormatToImageFormat are macros in the
first place).

--HG--
extra : rebase_source : 894fcce51ebbb17283c8f5ad325ea6dd403056cc
2015-11-05 13:44:00 -08:00
Nathan Froyd
e763192040 Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo 2015-11-05 16:24:24 -05: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
Mason Chang
1dcb06648d Bug 1211264. Fallback to render dest rect with outer box shadows on non-int transforms. r=mstange 2015-11-05 07:29:52 -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
Nicholas Nethercote
4a551425d8 Bug 1221610 - Remove ToIntMargin(). r=jrmuizel.
It's now a no-op.
2015-11-04 09:40:16 -08: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
Bas Schouten
2ece23a6d8 Bug 1220624: Make MaskSurface properly take into account the possibilities of partial uploads. r=jrmuizel 2015-11-05 00:05:26 +01: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
Botond Ballo
ca6ad4ebaa Bug 1220898 - Make nsIntMargin a typedef for mozilla::gfx::IntMargin. r=nical
--HG--
extra : source : a0ebe522b207e15b6b959cce7f7e0ded6d60c1c8
2015-11-02 18:20:58 -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
Jonathan Kew
f2f1669512 Bug 1220591 - Update graphite2 to release 1.3.4. r=jdaggett 2015-11-04 07:07:15 +00: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
Mats Palmgren
7920856c17 Bug 1151214 part 3 - [css-grid][css-align] Implement layout for the 'justify-content' and 'align-content' CSS properties on grid containers. r=dholbert 2015-11-03 17:52:40 +01: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