Commit Graph

13781 Commits

Author SHA1 Message Date
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