Matt Woodrow
eeedab7831
Bug 952011 - Use Untransform API to safetly untransform points when we have a projective matrix. r=roc
2014-01-29 13:10:35 +13:00
Matt Woodrow
eb1cac4dfd
Bug 952011 - Remove some nsLayoutUtils transform functions that are no longer needed. r=roc
2014-01-29 13:10:35 +13:00
Robert O'Callahan
b0db78ef5b
Bug 946502. Part 4: Remove mStickyPosFrame. r=mattwoodrow
2014-01-04 18:14:27 +13:00
Robert O'Callahan
c620230533
Bug 946502. Part 3: Extend FrameLayerBuilder to set fixed-pos metadata on layers created for background-attachment:fixed content. r=mattwoodrow
2013-12-18 00:30:21 +13:00
Matt Woodrow
63c5bce3f8
Bug 946952 - Run a 'compressed' paint up to 1 second after skipping the ColorLayer optimization. r=roc
2014-01-30 18:41:17 +13:00
Benoit Girard
965fb73dde
Bug 940842 - 2/3 - Implement will-change in layers-building code - r=mattwoodrow
2013-11-22 13:14:34 -05:00
Timothy Nikkel
7a75cf4539
Bug 950301. Make the underlying frame of scroll layer items be the scrolled frame before the layerizing display lists. r=mattwoodrow
2014-01-27 17:30:29 -06:00
David Zbarsky
a76cd8cfcd
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
Timothy Nikkel
3314c7c54f
Bug 962505. Put the scroll frame and the scrolled frame in the display list dump for scroll layer items. r=mats
2014-01-26 16:09:06 -06:00
Timothy Nikkel
7d745b8d28
Bug 962505. When dumping display lists print the entire line at once so it works better with Fennec and b2g. r=mats
2014-01-26 16:07:08 -06:00
Benoit Girard
e73b72ad1f
Bug 950488 - Overhaul APZ handling of overflow:hidden. r=botond
2014-01-21 12:33:52 -05:00
Timothy Nikkel
a7968c1900
Bug 931028. Remove app units per pixel argument from nsDisplayTransform::GetTransform. r=mattwoodrow
...
All callers were using, and should only be using, the same value.
2014-01-20 00:56:55 -06:00
Timothy Nikkel
eb39caf6ae
Bug 931028. Transform matrices when used for painting related things should be in dev pixels and not CSS pixels. r=mattwoodrow
2014-01-19 17:30:36 -06:00
Robert O'Callahan
55c994a2c2
Bug 812795. Disable subpixel AA in content subject to SVG effects such as filters. r=jwatt
2014-01-10 16:03:24 +13:00
Anthony Jones
d5eab55709
Bug 951463 - Rename ClampRect to ForceInside; r=botond
2014-01-06 10:05:07 -05:00
Robert O'Callahan
884af75bd9
Bug 945203. Part 4: Add nsDisplayEventRegions and build it when painting. r=mats
2013-12-17 00:22:11 +13:00
David Zbarsky
3bb08d3626
Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical
2013-12-29 18:35:53 -05:00
Robert O'Callahan
057c9328ae
Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
2013-12-18 18:37:24 +13:00
Phil Ringnalda
60097b7fbe
Back out f55504b0184f (bug 950427) for mochitest-4 and mochitest-oth bustage (at least)
...
CLOSED TREE
2013-12-17 23:22:20 -08:00
Robert O'Callahan
bd0b944121
Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
2013-12-18 18:37:24 +13:00
Timothy Nikkel
7ce3070bf9
Bug 951467. Give scroll layer items the bounds of the scroll port, not the bounds of the display port. r=roc
...
The bounds of the scroll port match what will actually be drawn on the screen.
The bounds of the contained content (sized to the display port) are still accessible via mList.GetBounds, and similarly the visible rect of the contained content is mList.GetVisibleRect. The external bounds/visible rect are GetBounds and GetVisibleRect on the nsDisplayScrollLayer object itself.
We implement nsDisplayScrollInfoLayer::GetBounds solely so that it continues to return an empty rect because we expect active empty layers to have empty visible rects.
We no longer have to set our mVisibleRect in nsDisplayScrollLayer::ComputeVisibility because nsDisplayList::ComputeVisibilityForSublist now does it correctly for us (like other items).
We also have to teach ContainerState::ProcessDisplayItems to not set the visible region for scroll layers because it has the external visible region, not the larger internal display port sized visible region. We instead let BuildContainerLayer set the visible region of the layer.
2013-12-17 23:02:56 -06:00
Kartikaya Gupta
6a9262255f
Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn
2013-12-16 12:04:45 -05:00
Matt Woodrow
5a41152819
Bug 913503 - Fix reversed if() condition to fix bustage.
2013-12-16 21:05:20 +13:00
Matt Woodrow
c5629ae923
Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc
2013-12-16 18:38:42 +13:00
Chris Lord
511ea9e5e5
Bug 936500 - Always build layers for nsDisplayScrollLayer. r=tn
...
APZC information is associated with layers, and having those layers suddenly
disappear because they became occluded, or their displayports are off-screen
has undesired effects.
2013-12-13 19:37:34 +00:00
Tor Arvid Lund
5f10fff80e
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Robert O'Callahan
91f4d678de
Bug 945634. The fixed-pos anchor point should be in the layer's coordinate system, whose 0,0 is the top-left of the fixed-pos frame. r=mattwoodrow
2013-12-13 01:33:02 +13:00
Cameron McCormack
ab95fce3cc
Bug 773296 - Part 16a: Followup to move to using nsCSSValueSharedList in OMTA code. r=roc
2013-12-12 13:09:44 +11: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
Ryan VanderMeulen
f8a5a97d08
Merge m-c to inbound.
2013-12-10 15:48:16 -05:00
Kartikaya Gupta
43ace81d1e
Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa
2013-12-09 22:14:53 -05:00
Matt Woodrow
ad4613a8f0
Bug 926268 - Don't include the full frame bounds in nsDisplayBorder if we're only painting one side. r=roc
2013-12-09 12:01:30 +13:00
Timothy Nikkel
2137c3a8bf
Bug 933264. If we have to flatten scroll layer items make sure to clip their child items properly. r=roc
...
The scroll layer item has the clip induced by the scroll frame, but the scrolled items are only clipped to the (larger) display port so we can async scroll the display port area. But if we can't merge all the scroll layer items then we can't render the expanded display port content so we have to clip the scrolled items to the scroll frame by propagating the clip on the scroll layer item to its children.
2013-12-10 12:05:18 -06:00
Timothy Nikkel
71fe1ee248
Bug 947467. Active transform layers should obey ancestor clipping if we don't need to prerender non-visible parts of them. r=roc
2013-12-07 12:33:09 -06:00
Botond Ballo
2c296d1fbd
Bug 942995 - Squish the FrameMetrics::mScrollableRect for overflow:hidden elements. r=tn
2013-11-26 18:46:47 -05:00
Botond Ballo
3f4e795030
Bug 943619 - Do not discard scroll info layers inside an nsDisplayTransform. r=tn
2013-11-26 16:30:20 -05:00
Benoit Girard
6bbceb3263
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Botond Ballo
0e44be8a8c
Bug 912666 - Force scroll frames for 'scrollgrab' elements to always create a real scrollable layer rather than a scroll info layer. r=roc,tn
2013-10-23 05:04:42 -04:00
Botond Ballo
ebcc785161
Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis
2013-09-23 14:09:48 -05:00
Botond Ballo
74712328fc
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Ryan VanderMeulen
50be7c2368
Merge m-c to inbound on a CLOSED TREE.
2013-11-18 10:59:48 -05:00
Gijs Kruitbosch
5e47a44a40
Merge m-c to ux
2013-11-18 13:44:32 +01:00
Gijs Kruitbosch
3d973e68ac
Merge m-c to ux
2013-11-17 23:37:53 +01:00
Matt Woodrow
37f73a1c03
Bug 939607 - Part 3: Try fold nsDisplayOpacity items opacity value into their children. r=roc
2013-11-18 22:32:09 +13:00
Matt Woodrow
241b68faa0
Bug 939607 - Part 2: Add an API for storing an opacity on a display item, and implement it for nsDisplayBoxShadowOuter. r=roc
2013-11-18 22:32:09 +13:00
Gijs Kruitbosch
fe23c81bf5
Merge mozilla-central and ux
2013-11-11 22:41:49 +01:00
Matthew Noorenberghe
54299b88ce
Merge mozilla-central to UX
2013-11-09 17:46:29 -08:00
Gijs Kruitbosch
674d4e02d0
merge m-c to ux
2013-11-06 22:25:39 +01:00
Gijs Kruitbosch
54c2592de5
Merge mozilla-central and ux
2013-11-05 20:14:58 +01:00
Kartikaya Gupta
bb30512928
Bug 930904 - Remove some old code for android that is now no-op'd. r=tn
2013-11-04 21:40:05 -05:00