Commit Graph

7227 Commits

Author SHA1 Message Date
Botond Ballo
cef313ddc5 Bug 1240202 - Avoid getting stuck in overscroll when the screen is tapped during an overscroll animation. r=kats 2016-01-20 20:13:13 -05:00
Botond Ballo
4329320b29 Bug 1240202 - Change input event generation utilities used by APZ gtests to take points instead of loose coordinates. r=kats 2016-01-20 20:12:41 -05:00
Botond Ballo
eafa291308 Bug 1240202 - Rename APZOverscrollHandoffTester to APZScrollHandoffTester. r=kats 2016-01-20 19:28:33 -05:00
Kartikaya Gupta
500b074581 Bug 1238042 - Expose the checkerboard reports out to JS. r=ehsan,botond 2016-01-22 20:27:28 -05:00
Kartikaya Gupta
ee99705205 Bug 1241678 - Fix low-volume null-deref crash. r=BenWa 2016-01-22 15:28:03 -05:00
Kartikaya Gupta
408d400824 Bug 1240622 - Guard mCheckerboardEvent with a mutex to avoid races. r=botond 2016-01-22 14:02:28 -05:00
David Anderson
748aeac0d5 Fix the backdrop copy rect in nested mix-blend containers. (bug 1241273, r=mstange) 2016-01-21 15:20:29 -08:00
David Anderson
3d9aab0990 Backed out changeset f16cb2a018a8 2016-01-21 15:19:50 -08:00
Markus Stange
926f5cd049 Bug 1241665 - Correctly convert IOSurfaces to SourceSurfaces in MacIOSurfaceTextureSourceBasic and MacIOSurfaceTextureData. r=mattwoodrow 2016-01-21 23:28:19 +01:00
Markus Stange
7d15f65edb Bug 1241665 - Move IOSurface YCbCr conversion code to a new file MacIOSurfaceHelpers.cpp. r=mattwoodrow
Ideally this would live in gfx/2d/MacIOSurface.cpp, but we don't have access to the
YCbCr conversion utilities in Moz2D.
2016-01-21 23:38:53 +01:00
David Anderson
9eb33df4a1 Fix the backdrop copy rect in nested mix-blend containers. (bug 1241273, UNREVIEWED) 2016-01-21 15:18:48 -08:00
Carsten "Tomcat" Book
66895648af Merge mozilla-central to mozilla-inbound 2016-01-21 16:50:24 +01:00
Carsten "Tomcat" Book
1b73b54797 Backed out changeset 415f713d58b0 (bug 1239861) to fix perma-busted Android 4.3 debug R34 2016-01-21 16:47:31 +01:00
Kartikaya Gupta
44ea469238 Bug 1238040 - Add a telemetry probe for potential checkerboarding duration. r=botond,vladan 2016-01-21 09:13:47 -05:00
Kartikaya Gupta
0dde2fe3ac Bug 1238040 - Update telemetry measures for checkerboarding. r=botond,vladan 2016-01-21 09:13:47 -05:00
Sotaro Ikeda
83adff0089 Bug 1240659 - Add GonkNativeHandle::CreateDupNhObj() r=nical 2016-01-20 21:36:00 -08:00
Sotaro Ikeda
0e56cea504 Bug 1006688 - Support capture screen via adb r=mwu 2016-01-21 00:21:50 -08:00
Randall Barker
76df12fed8 Bug 1231517 - part 2, Add support for APZ ZoomToRectBehavior flags r=kats 2016-01-20 16:24:58 -08:00
Randall Barker
8a426fdd78 Bug 1231517 - part 1, Move GetBoundingContentRect to nsLayoutUtils r=botond 2016-01-20 16:24:57 -08:00
David Rajchenbach-Teller
41e4edde4b Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
2016-01-14 23:03:11 +01:00
Lee Salzman
a0772fffaf Bug 1241163 - Replace DrawTarget::CreateSourceSurfaceFromNativeSurface(CAIRO_CONTEXT) with Factory::CreateSourceSurfaceForCairoSurface. r=jrmuizel 2016-01-20 13:31:44 -05:00
Kartikaya Gupta
472add557a Bug 1240867 - Fix non-unified build bustage in OGLShaderProgram.cpp. r=nical 2016-01-20 09:58:17 -05:00
Kartikaya Gupta
05e5229517 Bug 1240867 - Add missing include. r=nical 2016-01-20 09:56:01 -05:00
Sotaro Ikeda
b2cf0e47ac Bug 1240668 - Duplicate GonkNativeHandle::NhObj in ImageClientSingle::UpdateImage() r=nical 2016-01-20 01:47:05 -08:00
Jerry Shih
df931937e8 Bug 1231042 - clean current composition task and related flag when screen off. r=mchang 2016-01-19 20:58:00 +01:00
Mason Chang
f48ff90703 Bug 1239861. Normalize composite timestamps to now if timestamp is in the past. r=kats,vlad 2016-01-19 17:10:07 -08:00
Sebastian Hengst
e687c33b0f Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
3a3c914116 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
2016-01-14 23:03:11 +01:00
Nicolas Silva
68929d3195 Bug 1240708 - Various trivial coverity warning fixes. r=kats 2016-01-19 20:14:22 +01:00
David Anderson
92ea5e02b0 When mix-blending, only copy intersecting backdrop pixels. (bug 1235995 part 2, r=mattwoodrow) 2016-01-19 13:28:08 +07:00
David Anderson
cf1d101569 Add full mix-blend mode support to the OpenGL compositor. (bug 1235995 part 1, r=mstange) 2016-01-19 13:24:19 +07:00
Sotaro Ikeda
0b9c6aa4a1 Bug 1049296 - Handle Sideband stream compositing in HwcComposer2D r=mwu,nical 2016-01-18 20:52:32 -08:00
Kartikaya Gupta
e7d6383769 Bug 1213095 - Enable chaos mode on a couple of APZ tests. r=botond 2016-01-18 15:23:08 -05:00
Kartikaya Gupta
a90084942a Bug 1213095 - Ensure that stale FrameMetrics do not clobber more recent metrics for paint requests. r=botond 2016-01-18 15:23:08 -05:00
Kartikaya Gupta
7fd009dc11 Bug 1213095 - Don't allow RequestContentRepaint to mutate the provided FrameMetrics. r=botond 2016-01-18 15:23:08 -05:00
Kartikaya Gupta
d781805f64 Bug 1213095 - Inline the DispatchRepaintRequest function. r=botond 2016-01-18 15:23:08 -05:00
Kartikaya Gupta
958dafc4c0 Bug 1213095 - Fix APZEventState build with logging enabled. r=botond 2016-01-18 15:23:08 -05:00
Botond Ballo
a89ca7e077 Bug 1240244 - Split APZ gtests into several files. r=kats 2016-01-15 20:05:23 -05:00
Jeff Muizelaar
bada9d796a Bug 1228641. Add a initializer_list constructor to nsTArray. r=froydnj
This also adds a couple of users of the new pattern.
2016-01-17 22:11:25 -05:00
Benoit Girard
ab1692341a Bug 1240190 - Add D3D9 texture upload profiler labels. r=jrmuizel 2016-01-15 13:50:51 -08:00
Wes Kocher
457287dc55 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-15 15:13:21 -08:00
Kartikaya Gupta
91b08c67ed Bug 1226826 - Record if painted displayport updates were due to repaints from the relevant layer tree or not. r=botond 2016-01-15 16:19:59 -05:00
Kartikaya Gupta
2b6aedaa55 Bug 1226826 - Record paint times in the checkerboard event. r=botond 2016-01-15 16:19:59 -05:00
Kartikaya Gupta
f14f0b29d8 Bug 1226826 - Record velocity at point of displayport request in checkerboard event. r=botond 2016-01-15 16:19:58 -05:00
Kartikaya Gupta
1900d2d95d Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond 2016-01-15 16:19:58 -05:00
Kartikaya Gupta
4db2651811 Bug 1238239 - Update gecko scrollbar styling for Fennec. r=snorp f=antlam 2016-01-13 15:47:38 -05:00
Nicholas Nethercote
396aba2e6c Bug 1239537 - Remove Compositor::GetWidgetSize(), which is unused. r=mattwoodrow.
Also remove BasicCompositor::mWidgetSize because its only use can be replaced
by a temporary variable.
2016-01-13 15:27:34 -08:00
Nicholas Nethercote
60484915e6 Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats. 2015-12-02 22:29:54 -08:00
Jan de Mooij
d98775dbd4 Bug 1237201 part 2 - Handle Vector OOM in gfx/. r=jrmuizel,kats 2016-01-14 15:19:16 +01:00
Boris Chiou
4ad6263d9a Bug 1214536 - Part 7: Rename AnimationTiming as TimingParams. r=birtles, r=smaug
1. struct AnimationTiming -> struct TimingParams
2. AnimationEffectReadOnly::TimingAsObject() -> AnimationEffectReadOnly::Timing()
3. KeyframeEffectReadOnly::Timing() -> KeyframeEffectReadOnly::SpecifiedTiming()
2016-01-13 18:41:00 +01:00
Boris Chiou
13c38676f5 Bug 1214536 - Part 4: Use OwingUnrestrictedDoubleOrString for duration. r=birtles
We store the original value of duration in AnimationTiming, and add
computed duration in ComputedTiming, so both the Timing model and
AnimationEffectTimingReadOnly can get what they want.

By the way, replace mIterationDuration with mDuration.
2016-01-13 18:36:00 +01:00
Boris Chiou
e02d48f8a3 Bug 1214536 - Part 3: Store the original value of fill. r=birtles
FillMode could be 'auto', and we should treat it as 'none' in the timing model.
However, AnimationEffectTimingReadOnly should get its original value.

By the way, replace mFillMode with mFill.
2016-01-13 18:36:00 +01:00
Boris Chiou
4c469c5291 Bug 1214536 - Part 2: Replace mIterationCount in layers::Animation. r=birtles
Replace mIterationCount with mIterations.
2015-12-27 18:51:00 +01:00
Boris Chiou
850ababf4d Bug 1214536 - Part 1: Use unrestricted double for iterations. r=birtles
We want to store the original value from KeyframeEffectOptions whose
iterations is unrestricted double. Therefore, we can get the original value
of iterations by AnimationEffectTimingReadOnly.

By the way, replace mIterationCount with mIterations.
2016-01-10 18:41:00 +01:00
Nigel Babu
ca51f1ac3d Backed out 4 changesets (bug 1226826) for widespread bustage
Backed out changeset 95d373bec568 (bug 1226826)
Backed out changeset bb9970d440a4 (bug 1226826)
Backed out changeset 6c1fa0dc6bd7 (bug 1226826)
Backed out changeset 400ebf504171 (bug 1226826)
2016-01-14 08:33:11 +05:30
Nicholas Nethercote
c3523a2cbf Bug 1239225 - Remove unused args from TextureImage's constructor and related functions. r=mattwoodrow. 2016-01-12 23:10:56 -08:00
Wes Kocher
25dc74521e Backed out changeset 15145a32cd19 (bug 1231042) for b2g reftest bustage 2016-01-13 12:57:45 -08:00
Kartikaya Gupta
cb4e9783fc Bug 1226826 - Record if painted displayport updates were due to repaints from the relevant layer tree or not. r=botond 2016-01-13 15:46:08 -05:00
Kartikaya Gupta
c312cf4e59 Bug 1226826 - Record paint times in the checkerboard event. r=botond 2016-01-13 15:46:08 -05:00
Kartikaya Gupta
878863d494 Bug 1226826 - Record velocity at point of displayport request in checkerboard event. r=botond 2016-01-13 15:46:08 -05:00
Kartikaya Gupta
5bd3bf72dc Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond 2016-01-13 15:46:07 -05:00
Kartikaya Gupta
ccef825aea Bug 1239385 - Use correct coordinate system when computing the amount to scroll during a pinch r=botond 2016-01-13 14:44:47 -06:00
JerryShih
129f69bac0 Bug 1231042 - clean current composition task and related flag when screen off. r=hshih 2016-01-12 23:15:00 +01:00
Carsten "Tomcat" Book
b1b2328545 Merge mozilla-central to mozilla-inbound 2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book
0506fad16e merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Markus Stange
5c6a3be865 Bug 1239137 - Return early from BasicCompositor::DrawQuad if transformBounds is empty. r=mattwoodrow 2016-01-13 00:13:20 +01:00
Nicolas Silva
41a4c2a407 Bug 1238015 - Make sure PTexture actors are destroyed after all messages referring to them are sent. r=sotaro 2016-01-13 10:28:13 +01:00
Nicolas Silva
e2f86d0e39 Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats 2016-01-12 16:00:24 +01:00
Carsten "Tomcat" Book
b96a0845a0 Merge mozilla-central to fx-team 2016-01-12 11:57:10 +01:00
Matt Woodrow
b4819d9fd9 Bug 1234047 - Always reuse an existing TextureClient in IMFYCbCrImage if one exist. r=Bas 2016-01-12 18:08:21 +13:00
Jamie Nicol
b8b1c0492c Bug 1223144 - Scale texture coordinates in CompositorOGL for non POT textures. r=mwoodrow 2016-01-11 11:14:07 +00:00
Randall Barker
21c1a92664 Bug 1229752 - When C++ APZ scroll offset diverges from the Gecko scroll offset, it is not being applied properly to the event position r=botond,tnikkel 2016-01-11 16:06:14 -08:00
Jonathan Kew
78f0829154 Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk 2015-12-03 13:19:50 +00:00
Bas Schouten
b55cba1139 Bug 1237375: Add some more extensive debugging information. r=milan 2016-01-08 00:59:06 +01:00
Nicolas Silva
f7abdd62fc Bug 1235796 - Allow allocating YCbCr textures with Cb/Cr planes bigger than the Y plane. r=jrmuizel 2016-01-08 15:10:27 +01:00
Nicholas Nethercote
7240464401 Bug 1236802 (part 2) - Remove a dead CurrentSurface() call. r=mattwoodrow. 2016-01-10 14:05:27 -08:00
Matt Woodrow
fa0b94e974 Bug 1231564 - Don't trigger new composites just to repaint debug overlays. r=BenWa 2016-01-11 15:12:05 +13:00
Matt Woodrow
69588c498a Bug 1231564 - Don't take the compositor side layer-tree snapshot until after compositing. r=dvander 2016-01-11 15:11:14 +13:00
Nicholas Nethercote
6b299ad225 Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.
2016-01-07 20:57:38 -08:00
Alfredo Yang
1bd4376924 Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical 2016-01-08 06:24:00 -05:00
Botond Ballo
408b340fcc Bug 1236750 - Use strongly-typed matrices to represent layer transforms in APZ code. r=kats 2016-01-04 20:07:54 -05:00
Botond Ballo
115a44ca86 Bug 1236750 - Add typed getters for layer transform matrices. r=kats 2016-01-06 18:56:58 -05:00
Botond Ballo
b717649dfa Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats
Also add a related PixelCastJustification and a utility function.
2016-01-06 18:56:25 -05:00
Botond Ballo
fc10e39e51 Bug 1236750 - Rename ViewTransform to AsyncTransform. r=kats
It's only used to represent async transforms, and making this clear
allows us to replace (in a subsequent change) its conversion operator
to Matrix4x4 with a conversion operator to a specific typed matrix.
2015-12-30 18:24:26 -05:00
Nicholas Nethercote
84b71404df Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Kartikaya Gupta
872332b3f9 Bug 1235994 - For wheel events which may have momentum following them, handle scroll snapping in APZ. r=mstange 2016-01-07 10:39:46 -05:00
Kartikaya Gupta
bbeb5a72e5 Bug 1235994 - Extract a helper function to request a snap to the predicted destination. r=botond 2016-01-07 10:39:13 -05:00
Nicolas Silva
22bd281a42 Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-07 11:17:40 +01:00
Kartikaya Gupta
36bf103636 Bug 1219352 - Pack the FrameMetrics booleans. r=botond 2016-01-06 20:50:01 -05:00
Kartikaya Gupta
9382f48fdf Bug 1219352 - Rearrange fields in FrameMetrics. r=botond
This patch:
- Maintains a consistent ordering between the lists of fields in the
  FrameMetrics constructor, operator==, IPC read/write functions, and the
  actual order of fields in FrameMetrics. As part of this, missing default
  initializers are added to the FrameMetrics constructor, and fields omitted
  from the operator== are explicitly noted.
- Moves all the boolean values to the end of the set of field (for better
  packing).
- Moves the scroll id and parent scroll id to the front of the list, so that
  the operator== can fail faster in the common case.
2016-01-06 20:50:01 -05:00
Kartikaya Gupta
217d85f975 Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond 2016-01-06 20:50:01 -05:00
kearwood
b79965bb59 Bug 1230352 - Update to Oculus SDK 0.8.0,r=vlad 2015-09-22 09:38:28 -04:00
Nicholas Nethercote
70cc5ef746 Bug 1231881 - Remove NativeSurfaceType::CAIRO_SURFACE. r=bas.
We have both NativeSurfaceType::CAIRO_CONTEXT and
NativeSurfaceType::CAIRO_SURFACE. They both refer to DrawTargets with Cairo
backends. The only reason for having both is so you can call GetNativeSurface()
and get either the |cairo_t*| or the underlying |cairo_surface_t*|.

I argue that this convenience confuses things more than it helps. This patch
removes CAIRO_SURFACE, and adds explicit cairo_get_target() calls where
necessary.
2016-01-05 14:24:08 -08:00
Jean-Yves Avenard
5c97dc2f96 Bug 1236167: P1. Do not attempt to destroy a non allocated surface. r=nical 2016-01-07 09:30:32 +11:00
Ryan VanderMeulen
338175e6c4 Merge m-c to inbound. a=merge 2016-01-06 09:50:26 -05:00
Ryan VanderMeulen
0774f4bb2d Merge inbound to m-c. a=merge 2016-01-06 09:43:47 -05:00
Johan Lorenzo
67aa22b878 Backout Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
For breaking Firefox OS boot startup (see bug 1237197)
2016-01-06 14:59:35 +01:00
Nicholas Nethercote
0b7c26e0c9 Bug 1234343 (part 2) - Add a missing GfxMemoryImageReporter::DidAlloc() call. r=Bas. 2016-01-05 18:26:29 -08:00
Nicholas Nethercote
6bbb6f7293 Bug 1234343 (part 1) - Make GfxMemoryImageReporter::sAmount signed. r=Bas.
This is so that if it goes negative (due to missing DidAlloc() calls) it shows
up in about:memory as a negative number, rather than a huge positive number.
2016-01-05 18:26:17 -08:00
Bas Schouten
78555e1171 Bug 1220629 - Part 4: Allow gfxContext to use the native pushlayer implementations based on a pref. r=jrmuizel 2016-01-06 00:04:42 +01:00
Nicolas Silva
92691d9b3e Bug 1236167 - Don't attempt to take a compositor snapshot if parameters are incorrect. r=jrmuizel 2016-01-06 13:56:00 +01:00
Sotaro Ikeda
66491f2195 Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical 2016-01-05 20:50:39 -08:00
Nicolas Silva
ed1feb1663 Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-05 14:03:26 +01:00
Botond Ballo
eebc46e9ee Bug 1194851 - Add helper functions HasDisplayPort() and HasCriticalDisplayPort(). r=kats
This makes it clearer whether we're just checking if a displayport exists,
or we're actually consuming its value.
2015-12-16 17:22:23 -05:00
Milan Sreckovic
ae119212a2 Bug 1232231 - BorrowDrawTarget can return nullptr - be ready for it. r=nical 2016-01-04 09:50:00 -05:00
Nicholas Nethercote
04b39cc644 Bug 1233619 (part 2) - Moz2Dify BeginUpdate() and BeginUpdateBackground() functions. r=roc.
The only non-trivial change is in BasicPaintedLayer::Validate().
2015-12-17 19:39:10 -08:00
Nicholas Nethercote
ac23e93229 Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc. 2015-12-17 19:39:09 -08:00
Jeff Gilbert
605ef57d59 Bug 1236762 - Simplify locking APIs for SharedSurface. - r=jrmuizel 2016-01-05 15:57:44 -08:00
Wes Kocher
381a901015 Backed out changeset e22122a3bf90 (bug 1232231) for possibly breaking weightmapping-12579.html CLOSED TREE 2016-01-05 16:48:49 -08:00
Milan Sreckovic
5570778a9c Bug 1232231 - BorrowDrawTarget can return nullptr - be ready for it. r=nical 2016-01-04 09:50:00 -05:00
Milan Sreckovic
d05e04947d Bug 1235613 - Make gfxCriticalError/Note strings in gfx/ unique. r=jrmuizel 2015-12-29 14:03:58 -05:00
Jim Mathies
0be330ab01 Bug 1193055 - Follow up, remove extraneous methods noted in review comments. r=followup 2016-01-12 11:32:12 -06:00
Markus Stange
24a23d06b0 Bug 1238753 - Don't skip the call to StartRemoteDrawing in from BasicCompositor::BeginFrame if the invalid region is empty. r=mattwoodrow
Sometimes we need a composition even if nothing has changed, for example for window resizes on Mac.
LayerManagerComposite::UpdateAndRender() already has a check that skips the call to BasicCompositor
if it's not necessary.
2016-01-12 13:27:14 +01:00
Markus Stange
7817e83ddd Bug 1238753 - Make BasicCompositor respect changes to mInvalidRegion through StartRemoteDrawingWithRegion properly. r=mattwoodrow 2016-01-12 13:14:42 +01:00
Markus Stange
c0bc3823b1 Bug 1236282 - Clip color layer drawing in BasicCompositor so that unbounded operators don't erase stuff outside the layer. r=Bas
The same as bug 1077358, but for BasicCompositor.
2016-01-12 12:47:36 +01:00
Jim Mathies
78d667ae1f Bug 1193055 - Update windowed plugin visibility in response to apz scroll in the chrome process vs. relying on a full round trip through content. Reduces lag in windowed plugin updates. r=kats 2016-01-12 11:05:58 -06:00
Kartikaya Gupta
9e2bab91e4 Bug 1193055 - Only fire TransformBegin/TransformEnd notifications for actual wheel animations. r=botond 2016-01-12 11:05:53 -06:00
Nicholas Nethercote
fb3ce76d6e Bug 1232822 (part 6) - Move RefCairo() from gfxContext to gfxFont. r=jfkthame.
Because gfxContext will one day disappear, and gfxFont seems like a good place
to move it to.
2015-12-15 20:10:04 -08:00
Nicholas Nethercote
d3fbd6b72e Bug 1233605 - Cull some uses of gfxContext. r=dholbert. 2015-12-17 19:36:09 -08:00
Jean-Yves Avenard
755398aaa3 Bug 1223193: P2. Cancel ImageBridge proxy functions if shutdown has started. r=nical 2015-12-30 16:52:41 +11:00
Jean-Yves Avenard
c4d7d62e4f Bug 1223193: P1. Make ImageBridgeChild::mShuttingDown atomic. r=nical 2015-12-30 15:13:19 +11:00
Nicolas Silva
ad4a38c0f6 Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas 2015-12-30 13:23:01 +01:00
Bas Schouten
7db954445a Bug 1227210: Ensure the mask and the surface are in the right space when being blended. r=mattwoodrow 2015-11-26 15:51:49 +01:00
Bas Schouten
7cb26625bc Bug 1235407 - Part 3: Force a reset when OpenSharedHandle fails. r=milan 2015-12-30 01:30:47 +01:00
Kearwood (Kip) Gilbert
981e751dd9 Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad 2015-09-17 14:23:13 -07:00
Carsten "Tomcat" Book
334f7af1db Backed out changeset c1f17f489417 (bug 1176024) for crashes 2015-12-29 14:29:09 +01:00
Nicolas Silva
cc2f8fe4bf Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas 2015-12-29 13:05:50 +01:00
Markus Stange
4594d23b6f Bug 1187322 - Fix bustage. 2015-12-29 12:13:24 +01:00
Markus Stange
f11502c5a5 Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel 2015-12-23 16:22:55 +01:00
Sotaro Ikeda
a9b4458f6d Bug 1205713 - Merge ImageHostOverlay/ImageClientOverlay to ImageHost/ImageClient r=nical 2015-12-29 01:07:33 -08:00
Carsten "Tomcat" Book
547073fb7a Backed out changeset d569d015069d (bug 1176024) for crashes 2015-12-28 12:07:16 +01:00
Nicolas Silva
b77a187126 Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas 2015-12-28 10:46:25 +01:00
Kartikaya Gupta
e8da661bb6 Bug 1234950 - When advancing APZ animations, use the next vsync timestamp instead of the current one, since that is what will be composited. r=mstange 2015-12-27 10:20:40 -05:00
Kartikaya Gupta
3c0137fe4c Bug 1234950 - Advance APZ animations after updating the layer shadow transforms, rather than before. r=mstange 2015-12-27 10:20:40 -05:00
Jim Chen
50d4f93a61 Bug 1232456 - Renew EGL surface using existing compositor widget; r=snorp
GLContextEGL needs a widget in order to recreate its surface. This patch
adds a widget parameter to RenewSurface so that the compositor can pass
in its widget.
2015-12-23 22:03:35 -05:00
Kartikaya Gupta
a2cc833643 Bug 1192919 - Follow-up to fix build error with logging enabled. r=me and DONTBUILD 2015-12-22 15:12:53 -05:00
Markus Stange
da8a15a0ef Bug 1147673 - Relax the ancestor transform assertion a little. r=kats 2015-12-22 17:06:04 +01:00
Botond Ballo
229b249ea5 Bug 1147673 - Determine more accurately whether an async transform affects a layer's clip rect. r=kats 2015-10-02 18:35:21 -04:00
Markus Stange
9f00ee2d6f Bug 1147673 - Unadjust clip before intersecting it with the scroll clip. r=botond 2015-10-09 14:30:44 +02:00
Bas Schouten
b4adcdba2a Bug 1072501: Unmap file mapping on source surface destruction. r=jrmuizel 2015-12-01 16:41:08 +01:00
David Anderson
eda3962b1a Remove the TaskThrottler. (bug 1192919 part 6, r=kats) 2015-12-21 09:36:36 -05:00
David Anderson
a0b36b41ba Dispatch all APZ repaint requests immediately, and rely on content vsync. (bug 1192919 part 5, r=kats) 2015-12-21 09:36:36 -05:00
David Anderson
6eb67c2d10 Turn apz.use_paint_duration off. (bug 1192919 part 4, r=kats) 2015-12-21 09:36:36 -05:00
David Anderson
41260a5866 Force a paint to be scheduled for scroll info layers. (bug 1192919 part 3, r=kats) 2015-12-21 09:36:36 -05:00
David Anderson
0841696e19 Minimize the displayport for frames that must animate synchronously. (bug 1192919 part 2, r=kats) 2015-12-21 09:36:36 -05:00
David Anderson
a9ae6c3924 Annotate FrameMetrics that are created for ScrollInfoLayers. (bug 1192919 part 1, r=kats) 2015-12-21 09:36:36 -05:00
Nicolas Silva
6a9d93c630 Bug 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro 2015-12-16 19:50:58 +01:00
Lee Salzman
68da4ce3bc Bug 1082598 - Part 6: Fix layers for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Morris Tseng
b985b4445c Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc 2015-12-18 14:52:16 +08:00
Morris Tseng
c3785e6da4 Bug 1215438 - Part 3: CairoImage can use in any thread. r=roc 2015-12-18 14:52:16 +08:00