Commit Graph

750 Commits

Author SHA1 Message Date
Matt Woodrow
1107842200 Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas
--HG--
extra : rebase_source : 62ed83806bdba1ac95dc08e47bb17157e7d6c05a
2014-08-28 15:36:07 +12:00
Benoit Girard
f43d2177c0 Bug 1010584 - Cull in ContainerLayerComposite. r=mwoodrow
--HG--
extra : rebase_source : ed9457906ac6d69bf563ddadff1599aea8964849
2014-08-27 18:46:55 -04:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Matt Woodrow
fb5f228c2c Bug 1057222 - Do partial tile uploads on desktop. r=BenWa
--HG--
extra : rebase_source : 47ef135eeb5a2f1c9b97594fa7bc7bcd90360cd2
2014-08-27 18:51:37 +12:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
9a73334a6e Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang 2014-08-25 17:24:21 -04:00
Jeff Muizelaar
91cd5c097b 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 : 5d786a246337353522fc1d6e2c252e98e673e936
2014-08-25 11:09:39 -04:00
Bas Schouten
d0d5ac91bf Bug 1040187: Combine update regions properly when upload hasn't executed yet. r=nical 2014-08-26 13:06:17 +00:00
Milan Sreckovic
ad0fca8451 Bug 1055891: Add contrast to layer effects. Rename preferences to be consistent. More comments, some more explicit tests. r=mattwoodrow 2014-08-25 15:36:17 -04:00
Mason Chang
65b41ce925 Bug 1057645 - Update Frame Uniformity Tool to use APZC metrics. r=botond
CLOSED TREE
2014-08-25 08:56:00 -04:00
Sotaro Ikeda
3a2500deb7 Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical 2014-08-25 06:45:26 -07:00
Kartikaya Gupta
942bbe220f Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Mason Chang
9f8cadde05 Bug 1056190 - Delete Scrollgraph. r=benwa 2014-08-20 17:42:03 -07:00
Benoit Girard
dd68564fab Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow 2014-07-30 14:36:15 -04:00
chiajung hung
981893619b Bug 1002823 - [Stingray] Add a new kind of image layer without graphic buffer for overlaying video input. r=nical 2014-08-18 22:14:00 -04:00
Ehsan Akhgari
3bffba3b99 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta
66c2355539 Bug 1052063 - Do a single pass over the APZC tree to advance animations before sampling. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
d0bdd89470 Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Botond Ballo
1d16def11d Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Benoit Girard
a308375588 Bug 1052751 - Part 1: Cull translated layers on the compositor. r=roc 2014-08-14 11:46:21 -04:00
Ryan VanderMeulen
b364e001aa Backed out changeset 926c83cd24f0 (bug 1052751) for B2G reftest failures. 2014-08-15 17:15:26 -04:00
Jeff Muizelaar
b896779c48 Bug 1054474. Change FPSCounter to not use ToSecondsSigDigits(). r=BenWa
ToSecondsSigDigits is slower and broken on Windows and doesn't
really provide any value in this case.

--HG--
extra : rebase_source : 889657d9bd1e7a2bc4bd2f8b2da16fac63ece822
2014-08-15 15:54:05 -04:00
Benoit Girard
41f5bc3f33 Bug 1052751 - Part 1: Cull translated layers on the compositor. r=roc
--HG--
extra : rebase_source : 6979b4d41c40ceb808a48ff8a1c038bbcfbed5b0
2014-08-15 13:46:23 -04:00
Jeff Muizelaar
bc537cc1e3 Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Kartikaya Gupta
89ab2a4eb0 Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
9370d1374f 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
a0ad18d035 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Brian Birtles
eee37dc2bd 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
b1759d304e 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
Matt Woodrow
a4fa815cab 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
Nicolas Silva
2bea980413 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
Wes Kocher
7128337cab 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
Matt Woodrow
4a5cbd7c21 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
fae9993fd9 Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical 2014-07-29 17:21:02 +12:00
Wes Kocher
235636ff24 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
Botond Ballo
034af10f54 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
Ed Morley
bd4fbcb4ea Backed out changeset 9545e672983b (bug 1048916) for build failures; CLOSED TREE 2014-08-06 17:04:01 +01:00
Jeff Muizelaar
de470f8301 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
Nicolas Silva
d6dd3d64a1 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Ryan VanderMeulen
fa0e41b84a Backed out changeset fe28abfc3842 (bug 1043426) for Android reftest failures.
CLOSED TREE
2014-08-01 11:20:10 -04:00
Nicolas Silva
7f99b1f37d 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
David Zbarsky
42e6fcdddb Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
9c8ef1fd12 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
2e0df93cca Bug 952977: More gfx::Matrix cleanup in LayerManagerComposite r=nical 2014-08-01 08:31:47 -04:00
David Zbarsky
5192ab7514 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
26605d5924 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
b217f375b9 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
14ba4f294e Bug 952977: More gfx::Matrix cleanup in LayerManagerComposite r=nical 2014-07-29 19:18:49 -04:00