David Zbarsky
43cb9f37fb
Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical
2014-01-27 10:29:27 -05:00
David Zbarsky
76af03653a
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
a76cd8cfcd
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
df33ba2acb
Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:18 -05:00
Chris Lord
201df13530
Bug 958549 - Don't move scroll indicators for empty container layers. r=kats
...
If we've applied an async transform to an empty container layer (e.g. a layer
that corresponds to an nsDisplayScrollInfo display item), don't use that
transform on the corresponding scrollbar.
2014-01-22 14:25:44 +00:00
Chris Lord
88c321c9c1
Bug 950993 - Fix async scrolling of fixed layers within scrollable sub-layers. r=roc
...
Fixed layers are relative to their nearest scrollable ancestor, so when we
encounter a scrollable layer in AlignFixedAndStickyLayers, reset the transform
and sub-tree root to start from that scrollable layer.
This fixes async scrolling of the fixed header in the Firefox marketplace on
B2G.
2014-01-15 12:15:50 +00:00
Tor Arvid Lund
fc7a6a4c53
Bug 929513 - Change gfxSize references to gfx::Size r=nical
2013-12-13 18:31:53 +01:00
Kartikaya Gupta
09f426db94
Bug 949310. r=BenWa
2013-12-12 13:34:50 -05:00
Cameron McCormack
2d29cdbe6b
Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
...
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList. We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value. When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Kartikaya Gupta
4ddfee7e99
Bug 814435 - Apply a shadow transform to scrollbar layers to keep them in sync with async transforms. r=BenWa
2013-12-09 22:14:54 -05:00
Kartikaya Gupta
1832b8e388
Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
...
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
L. David Baron
3d03a55f86
Bug 929673 Patch 1: Rename mozOrigin to transformOrigin to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky
2013-10-24 14:46:00 +02:00
Corey Ford
ecb209513d
Bug 897105 - Part 3: Keep sticky position layers fixed during async panning, within certain scroll ranges. r=roc
2013-09-11 21:24:32 -07:00
Botond Ballo
bfb2b57106
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Benoit Girard
9397d1cdc5
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Nicholas Cameron
6ff5d55180
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
35d7054d6c
Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me
2013-08-12 08:32:11 -04:00
Phil Ringnalda
06a2cbfa32
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
b2b3fa4f0b
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
a2a46d3ffb
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Ryan VanderMeulen
002dc21ed5
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
40a1357579
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Kartikaya Gupta
aad8b5b400
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
49c90b2de0
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Chris Lord
408b2db986
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
323edc6e00
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Chris Lord
0b899a4586
Bug 876542 - Restore async pan/zoom compensation behaviour during overscroll. r=roc
...
Bug 876542 introduces a patch that reworks how we maintain the position of
fixed position layers, but didn't handle overscroll/zoom. This restores the old
behaviour in this situation.
2013-07-22 09:50:07 +01:00
Chris Lord
03b7428a0e
Bug 876542 - Restore async fixed layer margin animation. r=roc, kats
...
Restore the reconciliation between content document fixed position margins at
render time and the fixed layer margins as retrieved via SyncViewportInfo
during async panning/zooming.
2013-07-22 09:50:05 +01:00
Robert O'Callahan
d231df5feb
Bug 876542. Rework TransformFixedLayers so that it explicitly makes layer anchor points invariant under a change in transform of a specified ancestor layer. r=Cwiiis,kats
2013-06-24 13:34:33 +12:00
Kartikaya Gupta
e83092dcb4
Bug 866265 - Use the resolution from the metrics object instead of inferring it from the layer transform. r=kentuckyfriedtakahe
2013-07-04 09:13:52 -04:00
Benoit Girard
443ef9951e
Bug 775459 - Make APZC attachable only to container layers. r=kats
2013-07-02 12:01:46 -04:00
David Zbarsky
ab8b32a8fb
Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc
2013-06-29 11:53:49 -07:00
Kartikaya Gupta
2dd6300159
Bug 883646 - Initialize transform variables for non-Fennec codepaths. r=kentuckyfriedtakahe
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
79f3d82fdd
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
78d2e15a33
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
4a3434d3ef
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-21 17:03:55 -04:00
Ryan VanderMeulen
325c01cc93
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
ba6a74cc0c
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
a917c8f667
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
c5722edbd1
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Kartikaya Gupta
d2950ed4ec
Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
2c81c2929e
Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
23f0fd631b
Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
2bae1d5604
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
9c30acff1e
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
ad26392fbe
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Kartikaya Gupta
474c7a9457
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00
Kartikaya Gupta
2aadcc2acb
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
c926b22966
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
fb59756245
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00