Nicholas Nethercote
f4a32a6a38
Bug 1223215 (part 3) - Moz2Dify DeviceToUser(gfxSize) and UserToDevice(gfxSize). r=jrmuizel.
2015-11-08 21:03:40 -08:00
Randall Barker
d4aac2b75e
Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
2015-11-10 12:47:48 -05:00
Randall Barker
daf191b54a
Bug 1223436 - Fix AsyncCompositionManager so that mLayersUpdated is only set to false after SyncFrameMetrics has been called. r=kats
2015-11-10 12:01:35 -05:00
Milan Sreckovic
366aa52088
Bug 1222033 - Rename gfxCrash to gfxDevCrash. r=jrmuizel
2015-11-09 07:28:00 +01:00
Mason Chang
157fa6969b
Bug 1223052 - Add a gtest to test that the vsync source supplies a proper vsync rate. r=kats
2015-11-09 19:10:26 -08:00
Kartikaya Gupta
b84ed986fc
Bug 1174532 - Even if the APZC is not pannable, have a small slop area to consume touchmove events. r=botond
2015-11-09 16:42:34 -05:00
Jeff Muizelaar
13c6fac078
Bug 1222496
. Avoid having ANGLE default to D3D11.
...
This fixes a regression where we would not be able to ask
ANGLE not to use D3D11.
2015-11-09 16:33:53 -05:00
Bill McCloskey
c98949c21f
Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats)
2015-11-09 10:21:11 -08:00
Nathan Froyd
7be5c61b60
Bug 1222569 - remove unused variable from DrawTargetD2D1.cpp; r=Bas
2015-11-06 15:09:03 -05:00
Nathan Froyd
da2de4dcd7
Bug 1222569 - remove unused const variables from ExtendInputEffectD2D1.cpp; r=Bas
2015-11-06 15:08:29 -05:00
Nathan Froyd
a5300fc10c
Bug 1222569 - remove unused function from gfxPlatformFontList.cpp; r=Bas
2015-11-06 15:07:10 -05:00
Nathan Froyd
6a2fed7bb1
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
9c9d1d8a8a
Bug 1222569 - remove unused variable in TextureD3D9.cpp; r=Bas
2015-11-06 15:02:52 -05:00
Nathan Froyd
feb58ebb05
Bug 1222569 - remove unused variable in gfxDWriteFonts.cpp; r=Bas
2015-11-06 15:02:07 -05:00
Nathan Froyd
6df22bba1f
Bug 1222569 - fix -Wformat warning in gfxWindowsPlatform.cpp; r=Bas
2015-11-06 14:42:09 -05:00
Nathan Froyd
4eacc5dd3c
Bug 1222569 - fix initialization order in gfxWindowsPlatform.cpp; r=Bas
2015-11-06 14:40:48 -05:00
Nathan Froyd
3bc310d4a9
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
3faa877e16
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
7595d2a67b
Backed out changeset 663cc5ad5c32 (bug 1222033) for bustage on a CLOSED TREE
2015-11-09 09:44:08 +01:00
Milan Sreckovic
65bac6ecdf
Bug 1222033 - Rename gfxCrash to gfxDevCrash. r=jrmuizel
2015-11-05 07:32:00 +01:00
Sebastian Hengst
b86b5a59a1
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
55acd0e16b
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
5a696decc5
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).
2015-11-06 16:56:34 +13:00
Benoit Girard
9583d6cbc1
Bug 1221348 - Part 2: Fix texture sharing detection code on Intel. r=jrmuizel
2015-11-06 14:48:44 -08:00
Kevin Wern
d634b1e29f
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.
2015-11-06 12:31:36 -05:00
Jeff Muizelaar
8249936f48
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
128f7059f8
Bug 1221593 - Don't reset other axis' scroll position during APZ drag. r=kats
2015-11-04 13:00:56 -05:00
Benoit Girard
8b9b27b9d3
Bug 1221348 - Part 1: Unify crash signatures. r=jrmuizel
2015-11-06 11:54:32 -05:00
Mason Chang
783b0333c2
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
47323c50e4
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
d11c8bc813
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
420f16d0d5
Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical
2015-11-04 11:49:49 -05:00
Mike Hommey
1db89374d8
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
5b874069f1
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
362206025e
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).
2015-11-05 13:44:00 -08:00
Nathan Froyd
2258a5261d
Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo
2015-11-05 16:24:24 -05:00
Benoit Girard
4357fc5678
Bug 1220895 - Add layerviewer for layer tree & display list visualization NPOTB. r=botond
2015-11-05 16:23:23 -05:00
Mason Chang
ac63efa595
Bug 1221697 - Add a telemetry probe for time-to-composite. r=kats
2015-11-05 10:24:12 -08:00
Mason Chang
ba223fccf5
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
9859e44130
Bug 1221186 - Don't clobber a fling-snap with a snap-to-where-we-are-now in the overscroll handoff chain. r=botond
2015-11-05 09:31:39 -05:00
Kartikaya Gupta
7134329af8
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
2015-11-05 09:31:39 -05:00
Chris Lord
457f3bcd31
Backout ed2fdc36728d (Bug 1177842) for undesirable behaviour. r=botond
2015-11-05 13:58:16 +00:00
Benoit Girard
b727a23f99
Bug 1221276 - Don't crash if we don't have a surface. r=nical
2015-11-03 16:07:02 -05:00
Nicholas Nethercote
a4852a0e89
Bug 1221610 - Remove ToIntMargin(). r=jrmuizel.
...
It's now a no-op.
2015-11-04 09:40:16 -08:00
Timothy Nikkel
83fa7b1a59
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
467ada903a
Backed out changeset 722e121f6ce6 (bug 1217080) for b2g build failures
2015-11-04 15:39:35 -08:00
Bas Schouten
9e2d8fdf82
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
6b9d57c0ac
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
f52fe38d2a
Bug 1141127 - When inside a slop area around the first touchstart, prevent touchmove events from going to content. r=botond
2015-11-04 17:09:52 -05:00
Botond Ballo
5a5e7f5dd9
Bug 1220898 - Make nsIntMargin a typedef for mozilla::gfx::IntMargin. r=nical
2015-11-02 18:20:58 -05:00