Commit Graph

16696 Commits

Author SHA1 Message Date
George Wright
2131560b58 [PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow 2014-08-06 12:01:44 -04:00
George Wright
68d6d6c3c3 [PATCH 14/15] Bug 1017113 - Add RefPtrSkia to replace SkRefPtr functionality r=mattwoodrow 2014-07-28 14:48:29 -04:00
George Wright
05d9bc512e [PATCH 13/15] Bug 1017113 - Ensure SkDebugf is exported from Skia r=upstream 2014-07-31 18:52:22 -04:00
George Wright
cde29378e6 [PATCH 12/15] Bug 1017113 - Explicitly typedef GetUserDefaultLocaleName as WINVER may not be high enough when compiling to allow visibility of the function prototype in windows.h r=upstream 2014-07-29 15:19:53 -04:00
George Wright
6700baffb9 [PATCH 11/15] Bug 1017113 - Re-apply bug 985217 - Stub out CreateTypeface* for Mac r=snorp 2014-03-17 13:17:49 -04:00
George Wright
2eb8ee275e [PATCH 10/15] Bug 1017113 - Include SkPreConfig.h to ensure that SK_BUILD_FOR_MAC is defined as necessary r=mattwoodrow 2014-07-28 20:53:00 -04:00
George Wright
47fe8e294b [PATCH 09/15] Bug 1017113 - Update buildsystem for new Skia r=snorp 2014-07-27 20:56:09 -04:00
George Wright
02299210d9 [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
George Wright
5f89083d4c [PATCH 07/15] Bug 1017113 - Add some legacy defines to SkUserConfig.h r=mattwoodrow 2014-07-27 20:58:09 -04:00
George Wright
bd20cd4758 [PATCH 06/15] Bug 1017113 - Update SkFontHost_android_old.cpp and SkFontHost_cairo.cpp to cater for Skia API changes r=mattwoodrow 2014-07-27 20:57:19 -04:00
George Wright
eaa8ae26b2 [PATCH 05/15] Bug 1017113 - Remove unnecessary SkEmptyShader.h include r=mattwoodrow 2014-07-27 20:56:42 -04:00
George Wright
89604a18bf [PATCH 04/15] Bug 1017113 - Remove GL functions no longer required by Ganesh r=mattwoodrow 2014-07-27 20:52:33 -04:00
George Wright
b10548389f [PATCH 03/15] Bug 1017113 - Update DrawTargetSkia to use the new SkDropShadowImageFilter::Create() r=mattwoodrow 2014-07-27 20:51:32 -04:00
George Wright
9b00d18c49 [PATCH 02/15] Bug 1017113 - Calling save on an SkCanvas no longer takes any parameters r=mattwoodrow 2014-07-27 20:51:09 -04:00
George Wright
2ba75ff85d [PATCH 01/15] Bug 1043745 - Use SkColorType and SkImageInfo instead of SkBitmap::Config r=mattwoodrow 2014-07-27 20:47:43 -04:00
Vladimir Vukicevic
7dd2f3251a b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Nigel Babu
9bb67b6622 Merge m-c to m-i 2014-08-12 12:20:36 +05:30
Michael Wu
d807acf06e Follow up to bug 1035394 - Fix bustage from initializing fields in the wrong order on a CLOSED TREE, r=bustage 2014-08-11 17:53:06 -04:00
Kartikaya Gupta
1fc3c3121f Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
901529a459 Bug 1051985 - Move the background color and content description from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
78cc61d618 Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
40ac29fbd1 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Michael Wu
0861dbb935 Bug 1036394 - Use CRC32 to query hidden fonts, r=jfkthame 2014-08-04 12:26:55 -04:00
Brian Birtles
2520d366a6 Bug 1040543 part 8 - Move timing parameters from AnimationPlayer to Animation; r=bz
As the second step in dividing functionality between AnimationPlayer and
Animation, this patch moves the AnimationTiming member from AnimationPlayer to
Animation.

Most of this patch is simply moving code around. However, one significant
functional difference is that Animation::GetLocalTime() uses the mParentTime
member which is set when the Animation is updated by the player it is attached
to.

Other less significant differences are:

* AnimationPlayer::GetLocalTime is renamed to GetCurrentTimeDuration
  In Web Animations, animation players have a (writeable) "current time" and
  animations have a (read-only) "local time".
  We would call the method simply "GetCurrentTime" (instead of
  "GetCurrentTimeDuration") but GetCurrentTime is the name of the method used in
  the content-facing API where it returns a double.

* "IsCurrent" is defined on both AnimationPlayer and Animation with the version
  in AnimationPlayer serving mostly as a convenience shortcut to the version on
  Animation.

* Animation::GetComputedTiming (previously on AnimationPlayer) now makes the
  timing parameter optional since most of the time it is not needed.
2014-08-10 17:06:50 +10:00
Brian Birtles
0c90999575 Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Jim Chen
dbe61a26d8 Bug 1048952 - Lower compositor permanent hang timeout to 2 seconds; r=snorp 2014-08-08 18:11:52 -04:00
Kartikaya Gupta
53c6f4303a Bug 1046344 - Update some ifdefs to account for MOZ_ANDROID_APZ. r=snorp 2014-08-08 17:42:25 -04:00
David Parks
955ab1eae9 Bug 1041695 - Make ShadowLayersForwarder::RemoveTexture run on worker thread, as required by TextureClient::Finalize. r=nical
--HG--
extra : rebase_source : 5498e78ba405c0b2e75063b3d7bda7d1cead4669
2014-07-30 23:44:31 -07:00
Robert O'Callahan
861267f74f Bug 1043163. Avoid negative widths and heights due to overflow. r=mats
--HG--
extra : rebase_source : 62db3ad669f7a965672ea6bbab1b932c4a07040f
2014-08-06 17:19:23 +12:00
Nicholas Nethercote
a7cf4142b4 Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Matt Woodrow
019ccf1af6 Bug 1049303 - Avoid an invalid cast to ClientThebesLayer when we're using tiling. r=Bas 2014-08-07 11:55:31 +12:00
Matt Woodrow
1fe5ef80f4 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
e12386da41 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Jeff Gilbert
8c26761616 Bug 1045955 - Style fix. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
b85cf980a4 Bug 1045955 - Tighten requirements for framebuffer_blit, and use GL_FRAMEBUFFER when unavailable. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
b2c6fe98ab Bug 1045955 - Allow blitting 'internal' fb0. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
4f8b794b06 Bug 1045955 - Make snapshots pick RGBA or RGBX. - r=kamidphish 2014-08-07 19:03:24 -07:00
Wes Kocher
25e69b0e1e Backed out changeset c62468b61fed (bug 1041695) for bustage on a CLOSED TREE 2014-08-07 18:16:25 -07:00
Kartikaya Gupta
aeabb8d6b0 Bug 966362 - Fix copy/paste error to fix typo in gfx2d. r=Bas 2014-08-07 17:45:08 -07:00
David Parks
e41219467b Bug 1041695 - Run ShadowLayersForwarder::ReleaseTexture on worker thread r=nical 2014-07-30 23:44:31 -07:00
Nicolas Silva
ba56925243 Bug 1043426 - Don't crash when failing to upload apply a maskon a container layer. r=Bas 2014-08-01 15:53:12 +02:00
Markus Stange
a75558e0b2 Bug 1049499 - Choose the correct number of gradient repetitions if a non-identity pattern matrix is involved. r=jrmuizel 2014-08-07 13:23:53 +02:00
Jonathan Watt
424ac90bb3 Bug 1049593 - Make BaseRect::Contains(point) behave correctly for floating point rect/point. r=Bas 2014-08-07 06:24:54 +01:00
Wes Kocher
789c541082 Backed out 2 changesets (bug 1048110) for various Android mochitest failures on a CLOSED TREE
Backed out changeset 1cf6f4f27811 (bug 1048110)
Backed out changeset b89f54e21c0b (bug 1048110)
2014-08-06 18:32:52 -07:00
Wes Kocher
d4cbfc1bcf Backed out changeset 772d552cbe95 (bug 1049303) for build bustage in ClientLayerManager on a CLOSED TREE 2014-08-06 17:31:55 -07:00
Matt Woodrow
616234276b Bug 1049303 - Avoid an invalid cast to ClientThebesLayer when we're using tiling. r=Bas 2014-08-07 11:55:31 +12:00
Matt Woodrow
4f05861c03 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
2434f004e1 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Matt Woodrow
dc910067d7 Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical 2014-07-29 17:21:02 +12:00
Wes Kocher
2c1bb01c13 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00