Commit Graph

7001 Commits

Author SHA1 Message Date
David Anderson
6ff0e08776 Add APZ support for mousewheel delta multiplier prefs. (bug 1214170 part 2, r=kats) 2015-12-01 13:46:07 -08:00
David Anderson
a34f7136a3 Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats) 2015-12-01 13:45:49 -08:00
Wes Kocher
7603e1e728 Backed out changeset b336ed16226d (bug 1072501) for windows t-e10s failures 2015-12-01 12:45:17 -08:00
Kartikaya Gupta
aa00b3b189 Back out bug 1222524 for causing problems like bug 1227770 and bug 1227789. r=backout 2015-12-01 14:21:57 -05:00
Bas Schouten
98859029bb Bug 1072501: Unmap file mapping on source surface destruction. r=milan 2015-12-01 16:41:08 +01:00
Markus Stange
6c442a5efd Bug 1198021 - When the ContentClient of a ClientTiledPaintedLayer changes, don't destroy the old content client until after the layer transaction has been sent. r=nical 2015-11-27 16:09:18 +01:00
Nicholas Nethercote
eca93c623a Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond. 2015-11-25 20:55:36 -08:00
Nicholas Nethercote
4d4e5f4387 Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
2015-11-25 20:32:47 -08:00
Nicolas Silva
7c784e6c5c Bug 1200595 - Another build fix on a CLOSED TREE. 2015-11-30 10:44:08 +01:00
Nicolas Silva
e9209dd5ea Bug 1200595 - Build fix on a CLOSED TREE. 2015-11-30 10:40:45 +01:00
Nicolas Silva
4617ae7572 Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow 2015-11-20 14:25:03 +01:00
Nicolas Silva
5100bf7e59 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
e6a5af34e7 Bug 1200595 - DIB TextureData implementation. r=Bas 2015-11-20 14:24:58 +01:00
Nicolas Silva
4b05b5d988 Bug 1200595 - SharedSurface TextureData implementation. r=jgilbert 2015-11-20 14:24:55 +01:00
Nicolas Silva
cc4167ed7a Bug 1200595 - AndroidSurface TextureData implementation. r=mattwoodrow 2015-11-20 14:24:52 +01:00
Nicolas Silva
fb52fad1f2 Bug 1200595 - EGLImage TextureData implementation. r=mattwoodrow 2015-11-20 14:24:49 +01:00
Nicolas Silva
856361f98b Bug 1200595 - MacIOSurface TextureData implementation. r=mattwoodrow 2015-11-20 14:24:46 +01:00
Nicolas Silva
27f90dd8c9 Bug 1200595 - D3D9 TextureData implementation. r=Bas 2015-10-19 14:46:17 +02:00
Nicolas Silva
450ded71d6 Bug 1200595 - D3D11 TextureData implementation. r=Bas 2015-10-15 17:53:37 +02:00
Nicolas Silva
a2ed111b63 Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nicolas Silva
4854ff31c6 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Nicolas Silva
1a68d74406 Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro 2015-10-13 18:48:48 +02:00
Sunny Sidhu
c167c3e2bd Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond 2015-11-29 02:07:55 -05:00
Phil Ringnalda
45858c2cd5 Back out 1b0760c35953 (bug 1227210) for frequent Android R15 shutdown crashes 2015-11-27 22:58:13 -08:00
Botond Ballo
69f0c5b005 Bug 1208829 - Use the effective visible region to calculate the intermediate surface size. r=mstange 2015-11-19 15:43:44 -05:00
Botond Ballo
d0e11ac697 Bug 1208829 - Recompute visible regions during composition. r=mstange 2015-11-23 14:45:53 -05:00
Botond Ballo
f42b903fe4 Bug 1208829 - Rename LayerManagerComposite::ApplyOcclusionCulling to PostProcessLayers, and clean it up a bit. r=mstange 2015-11-09 20:43:54 -05:00
Benoit Girard
42cf5575bb Bug 1225178 - Don't start APZ drag if we don't have a displayport to handle it. r=kats 2015-11-23 13:59:14 -05:00
Randall Barker
6ebb5d9b66 Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
7b02572a95 Bug 1224015 - Part 1: nsLayoutUtils functions do not account for nsPresShell resolution r=tnikkel 2015-11-26 20:51:13 -06:00
Kartikaya Gupta
6e49781f90 Bug 1228133 - Guard against a race condition that could result in an illegal pointer access. r=BenWa
In this case the LayerTreeState pointer was being accessed outside the lock, and
was being deleted by another thread at the same time. This resulted in an illegal
pointer access which was causing crashes. Including the body of the
GetAPZCTreeManager function in the scope of the lock fixes the problem.
2015-11-26 19:20:04 -05:00
Bas Schouten
eb52f81c90 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
Matt Woodrow
e21ca45799 Bug 1168263 - Add nsDisplayPerspective and build separate layers for perspective. r=roc 2015-11-26 22:32:36 +13:00
Matt Woodrow
e7a1013118 Bug 1168263 - Simplify GetResultingTransformMatrix calculations to avoid unnecessary origin changes. r=roc 2015-11-26 22:32:35 +13:00
Matt Woodrow
c4fa81ec1b Bug 1168263 - Add a flags parameter to GetResultingTransformMatrix instead of using bools. r=roc 2015-11-26 22:32:35 +13:00
Botond Ballo
7551704dcc Bug 1168263 - Propagate the scroll-clip of a descendant of a layer with a perspective transform up to the layer itself. r=kats,mstange 2015-11-18 14:21:37 -05:00
Botond Ballo
e7422e804c Bug 1168263 - Introduce a helper function IntersectMaybeRects(). r=kats 2015-11-19 13:09:16 -05:00
Botond Ballo
f79a4fdf9a Bug 1168263 - Exclude perspective transforms from the transform used to convert from screen coordinates to an APZC's coordinate space. r=kats 2015-11-02 15:08:01 -05:00
Botond Ballo
fe2a1a36de Bug 1168263 - Annotate layers with a perspective transform. r=mattwoodrow 2015-11-02 17:38:08 -05:00
Andrew McCreight
5d5c50f5b0 Bug 1213464 - ImageBridgeChild and CompositorChild should delete their Transport. r=billm 2015-11-25 08:09:32 -08:00
Kartikaya Gupta
fbf23d0775 Bug 960317 - Remove cross-slide code from APZC. r=botond 2015-11-25 10:30:36 -05:00
Nigel Babu
1d02fdbec3 Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE 2015-11-25 16:22:16 +05:30
David Anderson
dec9fd1698 Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats) 2015-11-25 01:12:33 -08:00
Wes Kocher
d7e54348b7 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)
2015-11-24 10:07:02 -08:00
Bas Schouten
93eddb1da6 Bug 1216366: Ensure D3D11 uploads the entire surface the first time for component alpha textures. r=nical 2015-11-24 17:04:13 +01:00
Nicolas Silva
42c8e3c281 Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow 2015-11-20 14:25:03 +01:00
Nicolas Silva
7f362c25a4 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
d283025ad7 Bug 1200595 - DIB TextureData implementation. r=Bas 2015-11-20 14:24:58 +01:00
Nicolas Silva
e0d2e9476c Bug 1200595 - SharedSurface TextureData implementation. r=jgilbert 2015-11-20 14:24:55 +01:00
Nicolas Silva
34526e2514 Bug 1200595 - AndroidSurface TextureData implementation. r=mattwoodrow 2015-11-20 14:24:52 +01:00
Nicolas Silva
d2bfd0b3fb Bug 1200595 - EGLImage TextureData implementation. r=mattwoodrow 2015-11-20 14:24:49 +01:00
Nicolas Silva
6238ffca17 Bug 1200595 - MacIOSurface TextureData implementation. r=mattwoodrow 2015-11-20 14:24:46 +01:00
Nicolas Silva
b51349af0f Bug 1200595 - D3D9 TextureData implementation. r=Bas 2015-10-19 14:46:17 +02:00
Nicolas Silva
b04001d4c8 Bug 1200595 - D3D11 TextureData implementation. r=Bas 2015-10-15 17:53:37 +02:00
Nicolas Silva
b617b1e5f9 Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nicolas Silva
2576c22416 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Nicolas Silva
9911887e7b Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro 2015-10-13 18:48:48 +02:00
Nicholas Nethercote
929ee0f0bf Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 14:10:38 +11:00
Kevin Wern
0a3e6899b0 Bug 1226920 - For instances of ForEachNode where we want to traverse the entire tree, use an action that returns void. r=botond 2015-11-23 13:06:29 -05:00
Kevin Wern
86a0b90c9c Bug 1226920 - Allow calling ForEachNode() with an action returning void r=botond 2015-11-23 13:06:01 -05:00
Boris Chiou
b2e48d92f1 Bug 1215406 - Part 3: Change the types of direction and fillmode in AnimationTiming. r=heycam
Use mozilla::dom::FillMode and mozilla::dom::PlaybackDirection
in AnimationTiming.
2015-11-20 06:12:00 +01:00
Milan Sreckovic
7d0745f312 Bug 1204922 - Part 3. Report failed before HandleError call. r=bas 2015-11-19 10:19:00 +01:00
Kartikaya Gupta
49c1ba55d2 Bug 1226872 - Remove unnecessary wrapper methods in nsLayoutUtils. r=roc 2015-11-23 09:14:18 -05:00
Wes Kocher
9bbea7c0c0 Backed out changeset 7b113a6167e9 (bug 1215265) for mass bustage CLOSED TREE 2015-11-22 23:02:18 -08:00
Wes Kocher
06ea630121 Backed out changeset 0cbe4b80d443 (bug 1215265) for mass bustage CLOSED TREE 2015-11-22 23:02:10 -08:00
Robert O'Callahan
6d2600fd14 Bug 1215265. Add some missing MOZ_COUNT_CTOR/DTORs. r=nical 2015-11-18 17:30:54 +13:00
Robert O'Callahan
b17affb124 Bug 1215265. Don't leak CompositorChild in content processes. r=nical
This makes the shutdown sequence of CrossProcessCompositorParent
work very much like the shutdown sequence of CompositorParent:
the child does SendStop(); the parent's RecvStop does some cleanup
and then queues a DeferredDestroy task; DeferredDestroy releases
the parent, destroying it; IPDL sends a message to destroy the child.
2015-11-18 13:39:47 +13:00
Kartikaya Gupta
a9023e0f15 Bug 1181703 - Add a gtest for making sure a pan can be continued after a second finger does a tap. r=botond 2015-11-22 08:57:45 -05:00
Kartikaya Gupta
6df3f16950 Bug 1181703 - Allow re-entering the panning state if a second finger is tapped while panning with one finger. r=botond 2015-11-22 08:57:45 -05:00
Kartikaya Gupta
660eb22879 Bug 962243 - Gtest for being able to pan after lifting a finger from a pinch. r=botond 2015-11-22 08:57:45 -05:00
Dmitry Rozhkov
864c47b0d2 Bug 962243 - Implement PINCH to TOUCHING transition in APZC. r=botond 2015-11-22 08:57:45 -05:00
Kartikaya Gupta
4c8735a71d Bug 1221694 - Add a basic telemetry probe for checkerboarding. r=botond,vladan 2015-11-20 23:25:37 -05:00
Mason Chang
85af165e55 Bug 1226316. Fixup to only expand displayport when skating with apz. r=kats 2015-11-20 10:00:47 -08:00
Carsten "Tomcat" Book
1236fa8191 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva
f2a0e6a23d Bug 1200595 - Build fix on a CLOSED TREE 2015-11-20 15:03:11 +01:00
Nicolas Silva
807767bf9d Bug 1200595 - Consolidate the TextureClient's destruction logic. r=mattwoodrow
* * *
Bug 1200595 - Rebase fixes
2015-11-20 14:25:03 +01:00
Nicolas Silva
26515543db Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
ea90b51aa6 Bug 1200595 - DIB TextureData implementation. r=Bas 2015-11-20 14:24:58 +01:00
Nicolas Silva
8ce9b30a09 Bug 1200595 - SharedSurface TextureData implementation. r=jgilbert 2015-11-20 14:24:55 +01:00
Nicolas Silva
8c4a4e05fb Bug 1200595 - AndroidSurface TextureData implementation. r=mattwoodrow 2015-11-20 14:24:52 +01:00
Nicolas Silva
14dd207406 Bug 1200595 - EGLImage TextureData implementation. r=mattwoodrow 2015-11-20 14:24:49 +01:00
Nicolas Silva
151fcea34d Bug 1200595 - MacIOSurface TextureData implementation. r=mattwoodrow 2015-11-20 14:24:46 +01:00
Nicolas Silva
cb3496e0d6 Bug 1200595 - D3D9 TextureData implementation. r=Bas 2015-10-19 14:46:17 +02:00
Nicolas Silva
5d0e969358 Bug 1200595 - D3D11 TextureData implementation. r=Bas 2015-10-15 17:53:37 +02:00
Nicolas Silva
91130f23ca Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nicolas Silva
99a692982e Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Nicolas Silva
2d120843a3 Bug 1200595 - Introduce TextureData and implement it for X11. r=mattwoodrow, Bas, sotaro 2015-10-13 18:48:48 +02:00
Phil Ringnalda
c341483576 Merge m-c to m-i 2015-11-19 21:08:34 -08:00
Phil Ringnalda
a8f7f7dcab Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Wes Kocher
8b22df3035 Merge b2ginbound to central, a=merge 2015-11-19 13:36:16 -08:00
Kartikaya Gupta
34499af98e Bug 1223928 - Make the horizontal scrollbar on the root scrollable shift correctly with the dynamic toolbar. r=botond 2015-11-19 09:55:21 -05:00
Chris Lord
b4b0d26ddf Bug 1225761 - Clear axis lock in CancelAnimation and EndTouch. r=botond 2015-11-18 18:36:48 +00:00
Nicholas Nethercote
b9abd35877 Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 14:10:38 +11:00
Carsten "Tomcat" Book
8b4dc38c5c Merge mozilla-central to b2g-inbound 2015-11-19 15:27:02 +01:00
Thomas Zimmermann
8f3656c27f Bug 1225045: Fix stagefright include paths for ANDROID_VERSION >= 17, r=gps 2015-11-19 10:42:31 +01:00
Bas Schouten
54f6f178a5 Bug 1225125: If all drawing is just clipped out anyway, just push a regular group, blending mode won't matter. r=jrmuizel 2015-11-17 16:27:17 +01:00
David Anderson
41e386b110 Null-check D3D10 devices in a few places. (bug 1225645, r=bas) 2015-11-19 15:04:46 -08:00
Botond Ballo
77c287676e Bug 1226320 - Fix a refactoring in APZCTreeManager that didn't preserve semantics correctly. r=kats 2015-11-19 15:34:50 -05:00
Wes Kocher
816ae9ba55 Merge m-c to inbound, a=merge 2015-11-19 13:47:54 -08:00
Kearwood (Kip) Gilbert
2844a4284d Bug 1206072 - Don't call GetNextRenderTarget if CreateRenderTargetSet failed,r=vlad
- Prevent a crash in ContainerLayerComposite::ContainerRenderVR
  that ocurred when VRHMDRenderingSupport::RenderTargetSet::CreateRenderTargetSet
  returns null.
2015-11-19 12:20:26 -08:00
Kartikaya Gupta
21020cf9e0 Bug 1223486 - Ensure WrapTexCoord returns 0.0 instead of 1.0 when given a negative whole number. r=Bas 2015-11-19 10:49:31 -05:00
Carsten "Tomcat" Book
e53fe2c40e Merge mozilla-central to mozilla-inbound 2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book
75cecd4a58 merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Kevin Wern
851fd74d82 Bug 1199798 - Create tests for TreeTraversal.h r=botond
Move queue and stack includes outside of mozilla namespace.

Test the following for searches:
- Null root returns null.
- Needle is root returns root.
- No needle results in full traversal.
- Needle node in middle returns that needle, and stops traversing.

Test the following for ForEachNode:
- Null root still runs correctly.
- No skips results in traversal of entire tree.
- Root skip results in only changing the root.
- First skips are still included (whether leaf or parent).
2015-11-16 13:54:12 -05:00
Matt Woodrow
e61da5df96 Bug 1219230 - Use the valid region for determining buffer size instead of the visible region. r=mstange 2015-11-17 11:36:38 +13:00
David Anderson
d9d80eba0b Remove CreateImage() from ImageContainer, ImageFactory, and ImageClient. (bug 1222910, r=roc) 2015-11-17 00:09:01 -08:00
David Anderson
466b2de7b3 Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00
David Anderson
b8222ee457 Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:01 -08:00
David Anderson
6a5ebea98f Decouple MacIOSurfaceImage from ImageContainer. (bug 1222910, r=mstange) 2015-11-17 00:09:00 -08:00
David Anderson
4184b30c08 Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson
8655549a8a Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson
7e98189a1f Decouple D3D9SurfaceImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:00 -08:00
David Anderson
e61db1d143 Decouple D3D11ShareHandleImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:00 -08:00
David Anderson
f90220e3d7 Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Wes Kocher
20a6f667ce Merge m-c to fx-team, a=merge 2015-11-16 17:28:26 -08:00
Luca Greco
674e07b135 Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm,jrmuizel 2015-11-11 07:08:00 +01:00
Nicholas Nethercote
195c3319dd Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats. 2015-11-13 01:37:02 -08:00
Nicholas Nethercote
2cacd3de07 Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats. 2015-11-13 01:37:02 -08:00
Nathan Froyd
a62c43b03b Bug 1216644 - part 3 - make BufferRecycleBin store UniquePtrs; r=jrmuizel
Changing mRecycledBuffers to store UniquePtrs instead of nsAutoArrayPtrs
opens up the possibility of a reasonable facsimile of ownership in
function signatures.
2015-10-20 13:16:04 -04:00
Nathan Froyd
be80fb9625 Bug 1216644 - part 1 - simple s/nsAutoArrayPtr/UniquePtr/ changes in gfx/; r=jrmuizel
This patch handles all the cases where we just want to swap out
nsAutoArrayPtr for UniquePtr and don't require code changes other than
updating uses that implicitly converted to T* to follow UniquePtr's
conventions.
2015-10-20 13:13:35 -04:00
Phil Ringnalda
ed300f21b5 Back out changeset 98bd7a8e4705 (bug 1225645) for Windows build bustage
CLOSED TREE
2015-11-18 18:48:14 -08:00
Randall Barker
3fef84f2dc Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats 2015-11-18 19:32:37 -05:00
David Anderson
7b669a48c3 Null-check D3D10 devices in a few places. (bug 1225645, r=bas) 2015-11-18 12:16:54 -08:00
Kartikaya Gupta
ac6cce5d22 Bug 1225950 - Force a composite if we have requested one but haven't gotten a vsync in a while. r=mchang 2015-11-18 18:49:58 -05:00
Kartikaya Gupta
d0f9a5d967 Bug 1225950 - Make mNeedsComposite a counter rather than a boolean. r=mchang 2015-11-18 18:49:58 -05:00
Kartikaya Gupta
562dd7fe4b Bug 1225950 - Remove unnecessary parameter from SetNeedsComposite. r=mchang 2015-11-18 18:49:58 -05:00
Mason Chang
a7c7d26779 Bug 1208636 - Adjust displayport size based on available system memory. r=kats 2015-11-18 15:48:19 -08:00
Kartikaya Gupta
beb1adfcb0 Bug 1225571 - Move the code to update the SPCSPS from repaint request handling to when the resolution is updated in the presShell. r=botond 2015-11-18 13:53:14 -05:00
Nicolas Silva
6625494e22 Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas 2015-11-18 16:59:11 +01:00
Nicolas Silva
0ebc7261e8 Bug 1219529 - Don't attempt to deallocate shmems after the ipdl protocol is shut down. r=sotaro 2015-11-18 16:59:06 +01:00
Chris Lord
143382c045 Bug 1222524 - Change behaviour of axis-lock with nested APZCs. r=botond 2015-11-17 14:01:06 +00:00
Nicholas Nethercote
38a8c624ec Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Nicholas Nethercote
7488dd3e22 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-15 21:37:52 -08:00
Kartikaya Gupta
a281e7615e Bug 1223296 - Clear element activation if a contextmenu is displayed. r=botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
cdba8a59bc Bug 1223296 - Fire a Gesture:SingleTap message to browser.js even on the C++ APZ codepath. r=rbarker 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
30cce30d85 Bug 1223296 - Fire the MozMouseHittest event even if the C++ APZ is enabled. r=rbarker,botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
71feca82e9 Bug 1223296 - Turn HandlePanStart into a more generic function that can be called from other places. r=botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
6d1d2b445e Bug 1214267 - Followup to fix missing propagation of 'fixedPositionSides' to the compositor, and add it to the layers dump. r=mattwoodrow
DONTBUILD because this is a backout/reland to fix bug number.
2015-11-13 09:38:57 -05:00
Kartikaya Gupta
d138edca00 Back out cset 7529d41e6f1b for landing with an incorrect bug number. r=me 2015-11-13 09:37:53 -05:00
Kartikaya Gupta
a18271fef3 Bug 1224209 - Fix missing propagation of 'fixedPositionSides' to the compositor, and add it to the layers dump. r=mattwoodrow 2015-11-13 09:35:40 -05:00
Bas Schouten
9a9014e8c8 Bug 1204922: When ResizeBuffers fails, make no attempt to do subsequent paints until it succeeds again. r=milan 2015-11-13 13:04:44 +01:00
Nicholas Nethercote
8e676dc404 Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats. 2015-11-12 05:44:43 -08:00
Nicholas Nethercote
1ce280290d Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats. 2015-11-10 16:27:26 -08:00
Nicholas Nethercote
000b911cc5 Bug 1223690 - Remove implicit Rect conversions. r=jrmuizel.
gfxRect can be implicitly constructed from IntRect, which hides a number of
implicit conversion points, makes Moz2Dification harder, and has some
surprising effects.

This patch removes the implicit constructor and replaces it with an explicit
conversion function:

  gfxRect ThebesRect(const IntRect&)

This is the obvious outcome of removing the constructor.

But there is also a second, less obvious outcome: currently we do a number of
IntRect-to-Rect conversions using ToRect(), which (surprisingly) works because
it turns into an implicit IntRect-to-gfxRect conversion (via the implicit
constructor) combined with an explicit gfxRect-to-Rect conversion (via
ToRect()). I.e. we do two conversions, going from a Moz2D type to a Thebes
type and back to a Moz2D type!

So this patch also changes these conversion. It moves this existing function:

  Rect ToRect(const IntRect&)

from gfx2DGlue.h -- where it doesn't really belong because it doesn't involve
any Thebes types -- to gfx/2d/Rect.h, templatifying and renaming it as
IntRectToRect() in the process.

The rest of the patch deals with fall-out from these changes. The call sites
change as follows:

- IntRect-to-gfxRect conversions:
  - old: implicit
  - new: ThebesRect()

- IntRect-to-Rect conversions:
  - old: ToRect()
  - new: IntRectToRect()
2015-11-11 14:23:14 -08:00
Botond Ballo
dfc82f55ec Bug 1224021 - Support fractional async scroll offsets in the reftest harness. r=tn 2015-11-11 19:10:23 -05:00
Timothy Nikkel
fadd87745c Bug 1223639. Rename ForceInside to MoveInsideAndClamp so it's clearer what it does. r=botond
This has led to confusion at least twice.
2015-11-11 16:38:25 -06:00
Botond Ballo
c1e3cdaf33 Bug 1222661 - Replace ToUnknown(obj) and FromUnknown(obj) with obj.ToUnknown*() and FromUnknown*(obj). r=nical 2015-11-09 17:49:46 -05:00
Botond Ballo
75a83b58d9 Bug 1222661 - Replace FromUntyped(obj) calls with FromUnknown*(obj). r=nical 2015-11-09 18:22:25 -05:00
Botond Ballo
6aaae8a2bc Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical 2015-11-06 22:13:40 -05:00
Kartikaya Gupta
8fa57393f0 Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking 2015-11-11 10:17:47 -05:00