Граф коммитов

16675 Коммитов

Автор SHA1 Сообщение Дата
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
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
Wes Kocher 914924e971 Backed out changesets 950a3afc2b15 and dfb5303af6f9 (bug 1028288) for being incorrect 2014-08-06 15:43:25 -07:00
Botond Ballo 4dcd36c48e Bug 923512 - Introduce strongly-typed coordinate classes (Part2: Changes to rest of codebase, and switching Axis to use the strongly-typed coordinates). r=kats 2014-07-29 17:24:12 -04:00
Botond Ballo 320a557f2c Bug 923512 - Introduce strongly-typed coordinate classes (Part 1: Moz2D changes). r=kats,Bas 2014-07-31 17:07:17 -04:00
Botond Ballo d02122bbb0 Bug 923512 - Transition the TransformTo<>() functions from gfx3DMatrix to Matrix4x4. r=kats 2014-08-06 12:52:04 -04:00
Max Vujovic ccfb7c4ac1 Bug 948265 - Add nsCSSFilterInstance with support for adding CSS blur filters to filter graphs. r=mstange 2014-08-06 10:48:47 -07:00
Ed Morley 5a4133b7b6 Backed out changeset 9545e672983b (bug 1048916) for build failures; CLOSED TREE 2014-08-06 17:04:01 +01:00
Jeff Muizelaar 454be7396a Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
This makes the ownership of LayerProperties more clear.

--HG--
extra : rebase_source : c0413670f63906f90f083c0d9aaa8f55cf1ce898
2014-08-05 10:48:01 -04:00
Jeff Muizelaar bd1c7376a3 Bug 1047507. Add a comment about keeping the KnownUniformName enum in sync.
--HG--
extra : rebase_source : 2445dd306a2aa4c3447293d5da88f786c679ced4
2014-08-01 13:26:46 -04:00
Ed Morley 4bd9e956fb Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Nicolas Silva a10d917743 Bug 1047765 - Pass the proper allocation flags in TextureClient::CreateSimilar. r=Bas 2014-08-06 14:40:07 +02:00
Nicolas Silva 5cfb339954 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Nicolas Silva 5f3f31ae67 Bug 1048099 - Check that the d3d9 wasn't lost before providing access to it in CompositorD3D9. r=Bas 2014-08-06 14:39:58 +02:00
Ed Morley 87f4ab810e Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-06 13:37:48 +01:00
Bas Schouten 6ef60b9977 Bug 1043426: Avoid doing work for empty visible regions. r=mattwoodrow 2014-08-04 13:02:14 +02:00
Ehsan Akhgari 252de863a5 Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
Ehsan Akhgari 30e3b3975d Bug 1047614 - Give ReadbackManagerD3D11 a private destructor; r=jrmuizel 2014-08-05 17:57:24 -04:00
Birunthan Mohanathas a2cc85f89e Bug 1036981 - Update HarfBuzz to upstream commit d5e6147 (0.9.34). r=jfkthame 2014-08-03 10:03:46 -07:00
Andrew McCreight 228d194059 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Kartikaya Gupta 9b04a5f239 Bug 1043719 - Cancel pending gesture timeouts when a cancel is received. r=botond 2014-08-05 11:51:32 -04:00
Kartikaya Gupta 88899aa700 Bug 1048888 - Initialize member variables to nullptr. r=botond 2014-08-05 11:51:31 -04:00
Simon Montagu 5c116bc180 Bug 756022 patch 3: merge tr with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00