Brian Birtles
1661b20915
Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
2015-04-28 10:16:45 +09:00
Bas Schouten
f641de24ac
Bug 1116812 - Consider DXGI_ERROR_INVALID_CALL a recoverable error for IDXGISwapChain::GetBuffer. r=jrmuizel
2015-04-29 09:19:00 -04:00
Kartikaya Gupta
bc476d0e75
Bug 1013412 - End wheel transactions as soon as possible if content is doing a prevent-default. r=dvander
2015-05-01 13:29:44 -04:00
Milan Sreckovic
881fe344f4
Bug 1160157: Part 1. Uninitialized statics aren't really uninitialized, but it doesn't read well. r=jmuizelaar
2015-05-01 13:26:38 -04:00
Botond Ballo
2434616787
Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats
2015-04-23 01:25:00 -04:00
Kartikaya Gupta
47e9346e42
Bug 1158933 - Replace the compositedHeight/scrollableHeight (and width) term with the adjusted scrollThumbRatio. r=botond
2015-04-29 07:22:27 -04:00
Kartikaya Gupta
7ed33652ef
Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond
2015-04-29 07:22:27 -04:00
Kartikaya Gupta
1f1ec2ea0f
Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn
2015-04-29 07:22:27 -04:00
Kartikaya Gupta
cfdb6229fe
Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander
2015-04-29 07:22:27 -04:00
David Anderson
0e1f0fd06d
Fix APZ scroll wheel animations often prematurely ending on the first frame. (bug 1157409, r=kats)
2015-04-28 11:01:04 -07:00
David Major
c92c020b89
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
2015-04-27 19:59:27 -04:00
Milan Sreckovic
ddccced1db
Bug 1158340 - Refactor RedistributeDisplayPortExcess. r=kats
2015-04-27 12:06:11 -04:00
Milan Sreckovic
945381a8a2
Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond
2015-04-24 12:33:35 -07:00
Jeff Muizelaar
c3dc3e7a66
Bug 1154703. Avoid using WARP if nvdxgiwrapper.dll is around.
...
It seems to cause trouble and isn't really trustworthy.
2015-04-24 17:16:46 -04:00
755d08df05
Bug 1151749 - "Win-Only: Disabled Hardware Acceleration + CSS 3D transform on canvas -> black artefacts on hover". r=nical
2015-04-07 06:33:00 +02:00
Jonathan Kew
c050cf8885
Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu
2015-04-27 09:45:55 +01:00
Ehsan Akhgari
a4ca187e8c
Bug 1158542 - Remove TextureImage::mImageFormat; r=jrmuizel
...
This is never initialized or accessed.
2015-04-25 18:39:05 -04:00
Ehsan Akhgari
7416574879
Bug 1158541 - Remove TiledTextureImage::mSize; r=jrmuizel
...
This member is never initialized to anything so it always contains a (0,0)
size, and it shadows the protected mSize member in the base class which is
actually initialized to the correct size.
2015-04-25 18:38:54 -04:00
Timothy Nikkel
cfe17b6e52
Bug 1157066. When reading back the OMTA transfrom of a layer don't include transforms from async panning or zooming. r=kats,birtles
...
Containerless scrolling means that the pan zoom controller applies it's transforms (to compensate for differences between the state of layout the last time we painted and the current state as composited to the screen) to the layers that are scrolled instead of the container layer that contains the layers that scroll.
When running test_animations_omta.html there is a zoom of 1.306122 applied, and the page is scrolled down to 67 screen pixels (before the test starts, not sure why exactly). Gecko scrolls as close to 67 screen pixels as it can: 67/1.306122 = 51.29689 css pixels, which is 3077.813 appunits. Gecko scrolls to 3078 app units. When AsyncCompositionManager::TransformScrollableLayer runs we calculate the scroll position of gecko and the current scroll position that the pan zoom controller is using. Since there are no async pan or zoom operations taking place these should match. However when the gecko scroll position is calculated we get 3078/60*1.306122 = 67.0040586. So it applies a transform of 0.0040586 to the container layer for the transform that test_animations_omta.html is animating off main thread. When test_animations_omta.html reads the transform of this layer it fails because it's expecting 0 and 0.0040586 is outside of it's epsilon for considering it to be close enough.
2015-04-24 19:05:52 -05:00
Wes Kocher
d859f2ad4d
Backed out changeset 517b9b831685 (bug 1157066) for build bustage
2015-04-24 14:56:55 -07:00
Timothy Nikkel
c773a56c70
Bug 1157066. When reading back the OMTA transfrom of a layer don't include transforms from async panning or zooming. r=kats,birtles
...
Containerless scrolling means that the pan zoom controller applies it's transforms (to compensate for differences between the state of layout the last time we painted and the current state as composited to the screen) to the layers that are scrolled instead of the container layer that contains the layers that scroll.
When running test_animations_omta.html there is a zoom of 1.306122 applied, and the page is scrolled down to 67 screen pixels (before the test starts, not sure why exactly). Gecko scrolls as close to 67 screen pixels as it can: 67/1.306122 = 51.29689 css pixels, which is 3077.813 appunits. Gecko scrolls to 3078 app units. When AsyncCompositionManager::TransformScrollableLayer runs we calculate the scroll position of gecko and the current scroll position that the pan zoom controller is using. Since there are no async pan or zoom operations taking place these should match. However when the gecko scroll position is calculated we get 3078/60*1.306122 = 67.0040586. So it applies a transform of 0.0040586 to the container layer for the transform that test_animations_omta.html is animating off main thread. When test_animations_omta.html reads the transform of this layer it fails because it's expecting 0 and 0.0040586 is outside of it's epsilon for considering it to be close enough.
2015-04-24 16:41:56 -05:00
Milan Sreckovic
b4eef3a409
Bug 1156058 - Null pointer check. r=jgilbert
2015-04-24 11:21:26 -07:00
Andrew McCreight
8145d04124
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Bas Schouten
372c6962da
Bug 1143806: Tolerate timeouts occurring if a device driver is in the process of resetting. r=jrmuizel
2015-04-24 17:09:42 +02:00
Xidorn Quan
a90ebbab73
Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
2015-04-24 10:15:32 +12:00
Kartikaya Gupta
66242134a5
Bug 1157327 follow-up to add a comment. r=me and DONTBUILD
2015-04-23 15:18:22 -04:00
Kartikaya Gupta
d330a7876b
Bug 1157327 - Don't cull out container layers, because their prepared data might be null and cause crashes. r=nical
2015-04-23 15:15:11 -04:00
Kartikaya Gupta
8ec41da08a
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
L. David Baron
cb0282d25b
Bug 1157455 patch 2 - Send angles (in CSS transform functions) to the compositor thread with their units rather than sending all such angles in radians. r=birtles
...
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:12 -07:00
Geoff Brown
3177df8707
Bug 1150668 - Assume EXT_texture_format_BGRA8888 supported on Android emulator; r=jgilbert
2015-04-23 08:09:35 -06:00
Sotaro Ikeda
2f41005dd9
Bug 1152370 part 3 - Use DisplaySurface r=mwu
2015-04-23 06:49:40 -07:00
Nicolas Silva
942c46d8c8
Bug 1157629 - Fix uninitialized member warning in BufferAlphaColor. r=jdaggett
2015-04-23 15:14:13 +02:00
Carsten "Tomcat" Book
c0eb5c1c2b
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book
150d4d1475
Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
...
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
2015-04-23 08:37:24 +02:00
Botond Ballo
b6e69df77c
Bug 1151663 - Fix test bustage caused by incorrect mochitest.ini file, on a CLOSED TREE. r=bustage
2015-04-23 00:58:52 -04:00
Nick Fitzgerald
415497cd29
Bug 1024774 - Part 0: Upgrade the protobuf library. r=mmc,glandium
2015-04-22 11:09:54 -07:00
Kartikaya Gupta
c9a8f4b3c5
Bug 1134385 follow-up - fix link to image in documentation. DONTBUILD because NPOTB. r=me
2015-04-22 11:54:37 -04:00
Steve Singer
dc150af21a
Bug 1141642 - Fix disable-skia builds. r=jmuizelaar
2015-04-18 19:44:00 +02:00
Nicolas Silva
cffa9047a1
Bug 1155252 * -WError fix
2015-04-22 12:37:56 +02:00
Nicolas Silva
60170d5364
Bug 1155252 - Add a pref to control the maximum canvas 2d size and set it to 0x7ff. r=jrmuizel
2015-04-22 12:06:53 +02:00
Nicolas Silva
176eae8774
Bug 1155626 - Don't assume that Factory::GetD2D1Device returns a non-null device and add some gfxCriticalLog. r=Bas
2015-04-22 12:02:01 +02:00
Andrea Marchesini
cece1d9f00
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Wes Kocher
bb85f7a5bc
Backed out changeset 8b99d282cd87 (bug 1156084) for static bustage CLOSED TREE
2015-04-21 14:23:56 -07:00
Ehsan Akhgari
69a1633117
Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
...
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before. This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-04-21 16:24:41 -04:00
Markus Stange
c8c55c2ffe
Bug 1154347 - Don't set -fomit-frame-pointer on all of skia. r=glandium, r=gw280
2015-04-21 13:57:57 -04:00
Nicolas Silva
ba353fd7bd
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Nicolas Silva
51e181888b
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Kartikaya Gupta
f56a1fc298
Back out cset 1a68731ea592 (bug 1145295) because the crash it was attempting to shed more light on seems to have gone away. r=me
2015-04-21 10:19:16 -04:00
Lee Salzman
a2b628e20e
Bug 1156536 - "BaseMargin<T>::Side casts enum SideT to T and adds to pointer". r=jmuizelaar
2015-04-20 15:35:00 +02:00
Brian Birtles
67e5382f15
Bug 1148949 - Apply async properties when querying the animated transform for cross-process compositor parents too; r=mattwoodrow
...
Bug 1113425 (specifically, part 2:
https://hg.mozilla.org/mozilla-central/rev/bb3866dea03e ) introduced a fix for
a race condition that occurs when querying the animated transform of a layer.
However, that fix failed to update CrossProcessCompositorParent and hence the
issue still arises when e10s is enabled.
This patch applies the fix from that bug to CrossProcessCompositorParent.
2015-04-21 12:00:33 +09:00
Milan Sreckovic
a6ec0f9b7b
Bug 1153724 - Only assert if the size was reasonable to start. r=mchang
2015-04-13 17:07:01 -04:00
L. David Baron
12ac8aff8f
Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
...
Without the patch, the addition to property_database.js leads to
failures related to the "0.0" and "0" values in
layout/style/test/test_value_computation.html .
2015-04-20 23:10:40 -07:00
Dan Glastonbury
bbb2b930e4
Bug 1048724 - Look up glBindTransformFeedback symbol. r=jgilbert
2015-04-21 12:33:29 +10:00
Brian Birtles
6033b2c86d
Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
...
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.
2015-04-21 10:22:09 +09:00
Jeff Gilbert
99e9a55aac
Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad
2015-04-20 17:49:25 -07:00
Mason Chang
2f8a00791b
Bug 1134385. Silk documentation. r=kats
2015-04-20 17:28:25 -07:00
Kartikaya Gupta
54e783acf2
Bug 1146024 - Followup to fix non-android bustage on a CLOSED TREE. r=bustage
2015-04-20 16:25:52 -04:00
Danilo Cesar Lemes de Paula
412c0c610c
Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
...
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Mason Chang
b950130b9a
Bug 1073209
- Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel
2015-04-20 08:38:43 -07:00
Nicolas Silva
0441eeec80
Bug 1155252 - Don't allocate X11TextureClients bigger than xlib's maximum surface size. r=jrmuizel
2015-04-20 15:53:42 +02:00
Dan Glastonbury
8dd45611bd
Bug 1147752 - Keep typedefs consistent. r=jgilbert
2015-04-20 16:51:28 +10:00
Dan Glastonbury
7985e481fa
Bug 1048745 - Query GL for glGetUniformuiv function. r=jgilbert
2015-04-20 12:29:29 +10:00
Ehsan Akhgari
ca5f98c8c9
Bug 1155881 follow-up: Make gfxAndroidPlatform::SupportsApzTouchInput const
2015-04-19 17:34:09 -04:00
Botond Ballo
67717d1f0e
Bug 1152479 - In C++ APZ code, use nsContentUtils rather than nsIDOMWindowUtils to send key and mouse events. r=kats
2015-04-15 03:09:46 -04:00
David Anderson
158c61d584
Show APZ wheel support in about:support on Mac OS X. (bug 1155881, r=mstange)
2015-04-19 16:12:14 -04:00
David Anderson
13ca8507ff
When APZ is enabled, only apply the root scroll delta override to root frames. (bug 1155800, r=kats)
2015-04-19 09:30:39 -04:00
Ehsan Akhgari
b648adad60
Remove an extra assignment from gfxSparseBitSet::TestRange, no bug
2015-04-18 20:25:36 -04:00
Ryan VanderMeulen
0a6bbd4dbd
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen
84f4b8730a
Merge inbound to m-c. a=merge
2015-04-17 15:44:37 -04:00
Sotaro Ikeda
5044e7726b
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
af87273092
Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure
2015-04-17 12:04:55 +02:00
Ethan Lin
b4bad54a18
Bug 1146214 - Rename some functions after refactoring. r=nical
2015-04-10 02:21:00 +02:00
Ethan Lin
a73de4d20f
Bug 1146214 - Remove the unused code after refactoring. r=nical
2015-04-10 02:20:00 +02:00
Ethan Lin
e854404148
Bug 1146214 - Implement fence delivery. Combine ipc messages and remove reply fence delivery message. r=nical
2015-04-10 02:19:00 +02:00
Ethan Lin
12f9cf18f7
Bug 1146214 - Combine FenceHandle and FenceHandleFromChild. r=nical
2015-04-10 02:16:00 +02:00
Ethan Lin
d3b3dd42d4
Bug 1146214 - Remove unused set fence functions. r=nical
2015-04-10 02:12:00 +02:00
Sotaro Ikeda
c9102c6a9c
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-16 18:15:26 -07:00
Cameron McCormack
08b506279f
Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron
2015-04-17 11:09:59 +10:00
Milan Sreckovic
e5a47567bb
Bug 1154003 - More protection for failed surface drawable creation. r=bas
2015-04-15 15:04:38 -04:00
nsilva@mozilla.com
5ee24f848e
Bug 1151713 - Initialize the layers prefs earlier. r=jrmuizel
2015-04-16 11:55:36 -04:00
Ryan VanderMeulen
751c0ea9d9
Merge m-c to b2g-inbound. a=merge
2015-04-16 16:22:42 -04:00
Jeremy Chen
63c8c249d5
Bug 1152263 - Ensure Matrix4x4::ProjectRectBounds being functional for Rect with zero width/height. r=mattwoodrow
2015-04-13 03:10:00 -04:00
Ryan VanderMeulen
2963d4342e
Merge m-c to inbound. a=merge
...
IGNORE IDL
2015-04-15 15:15:32 -04:00
Ryan VanderMeulen
5e3f67d168
Merge inbound to m-c. a=merge
2015-04-15 14:52:15 -04:00
David Anderson
323b2b17ba
Fix wheel events being misrouted in APZ-less widgets when APZ is enabled. (bug 1154734, r=kats)
2015-04-15 12:28:47 -04:00
Kartikaya Gupta
83204f224f
Bug 1154614 - Don't try to pick up the same non-reentrant lock twice. r=dvander a=RyanVM
2015-04-15 12:49:28 -04:00
Carsten "Tomcat" Book
434f9030e7
merge mozilla-inbound to mozilla-central a=merge
2015-04-15 14:28:05 +02:00
Botond Ballo
a520a1b887
Bug 1152479 - Do not use layout-related nsIDOMWindowUtils APIs from C++ APZ code. r=kats
2015-04-14 16:44:59 -04:00
Botond Ballo
f59f676e56
Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan
2015-04-14 13:19:10 -04:00
Botond Ballo
9b1a298d46
Bug 1153711 - Do not discard a component of a fling if an APZC further in the handoff chain has room to scroll in that direction. r=kats
2015-04-15 12:38:26 -04:00
Jeff Muizelaar
5100c2b6c1
Bug 1154352. Address some neglected review comments. r=ehsan
2015-04-15 11:13:08 -04:00
Vincent Liu
fcf1986eaa
Bug 1150381 - [LayerScope]: Don't showing the same texture in the same frame on LayerScope. r=chiajung
2015-04-14 14:57:42 +08:00
David Parks
a242c3e46d
Bug 1127727 - Swap callbacks in the Compositor when dragging tabs between windows. r=billm
...
When remote browsing, swap the MozLayersReady callback in the compositor
when dragging tabs between windows.
2015-04-13 17:06:03 -07:00
Jeff Muizelaar
1392884e87
Bug 1154352. Synchronously record feature status. r=ehsan
...
Currently, we would not record the status until we visited
the main thread event loop. That's too late if we crash on
startup.
2015-04-10 16:16:48 -04:00
Sotaro Ikeda
4e35e551e0
Bug 1154313 - Move sUsingHwc to gfxPrefs r=mwu,nical
2015-04-15 06:39:44 -07:00
Wes Kocher
149e55aae2
Merge m-c to fx-team a=merge CLOSED TREE
2015-04-14 15:40:46 -07:00
Randall Barker
4cf16d8497
Bug 1148149 - Support Android Presentation API. r=snorp, r=jgilbert
2015-04-10 22:14:00 -04:00
David Anderson
d59b68a26d
Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats)
2015-04-14 12:24:32 -04:00
Markus Stange
586c9073c2
Bug 1154322 - Allow using skia for content rendering. r=jrmuizel
2015-04-14 11:41:30 -04:00
Ying-Ruei Liang (KK)
5b075b3ea2
Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
...
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.
* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00