Commit Graph

15454 Commits

Author SHA1 Message Date
Bas Schouten
74b3ef74ce Bug 1210560 - Part 2: Convert some simple users to use PushGroupForBlendBack. r=jrmuizel 2015-11-11 16:15:39 +01:00
Bas Schouten
33bb7ae164 Bug 1210560 - Part 1: Add an API specifically intended for users that just Push and Pop-Mask/Pop-Paint. r=jrmuizel 2015-11-11 16:15:39 +01:00
Thinker K.F. Li
24e3c2ac49 Bug 1210784 - Layer tree invalidation with Preserves3D. r=roc 2015-11-02 18:28:00 +01:00
Kartikaya Gupta
a84470d0f5 Bug 1214267 - Send the side to which fixed-pos items are attached so that we can move them in the compositor more correctly when the viewport size is changing. r=mattwoodrow 2015-11-11 10:07:29 -05:00
John Daggett
cbab96a8fe Bug 1160506 - support intra-family font fallback. r=heycam
Fontconfig allows for fonts to be arbitrarily mapped into another font
family. Under some versions of Debian and Fedora, families like Droid
Sans Japanese were mapped into the Droid Sans family. To match these
font families properly, it's necessary to test multiple fonts within a
single given family. Since this is a relatively time consuming
procedure, only do this when there are multiple regular faces for a
given family.
2015-11-11 21:13:33 +09:00
Milan Sreckovic
03b025515f Bug 1219494 - Part 1. TextureD3D11 and gfxDevCrash instead of MOZ_CRASH where appropriate. r=mchang 2015-11-09 11:28:00 +01:00
Nicholas Nethercote
8300e7517f Backout ea759b57d58a (bug 1223215 part 5) because the removed functions are still useful. r=me.
DONTBUILD because it just adds back a couple of small, unused functions.
2015-11-10 20:36:29 -08:00
David Anderson
5a26bddd1f Use RAII for more TextureClient locking cases. (bug 1222863 part 2, r=nical) 2015-11-10 23:58:29 -08:00
David Anderson
f9923890d2 Add an RAII class to lock and unlock textures. (bug 1222863 part 1, r=nical) 2015-11-10 23:58:21 -08:00
Nicholas Nethercote
7215329de9 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.
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
3e06c61b01 Bug 1223215 (part 5) - Remove ToSize() and ThebesSize(). r=jrmuizel. 2015-11-08 21:13:36 -08:00
Nicholas Nethercote
016b3e7be2 Bug 1223215 (part 4) - Remove a ToSize() call. r=jrmuizel. 2015-11-08 21:04:42 -08:00
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