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

924 Коммитов

Автор SHA1 Сообщение Дата
Benoit Girard 3ce2052a5c Bug 1061846 - Add constants for transaction delay indicator. r=milan
--HG--
extra : rebase_source : 7176c689bd00e90590cc021ab35189720019c73e
2014-09-02 14:37:34 -04:00
Benoit Girard c3dc5bb115 Bug 1061414 - Fix VisualFrameWarning logic. r=milan
--HG--
extra : rebase_source : 238fd87657e3e82237f84bfe185d3088178b4c6d
2014-09-02 14:37:17 -04:00
Robert O'Callahan c8b6ed281b Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Phil Ringnalda a8940eb5c6 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan 24299705bb Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
Matt Woodrow 3e5b8a53b3 Bug 1044129 - Don't crash if ContainerLayer temporary surface allocation fails. r=jrmuizel 2014-07-29 17:31:00 +12:00
Botond Ballo 9a389023b5 Bug 1058884 - Update drawing of borders to account for multi-layer-apz. r=kats,BenWa
--HG--
extra : rebase_source : e7ebb3ac4f7e30ce28e49fb27034a6322ea8a085
2014-08-28 18:38:52 -04:00
Botond Ballo 0f34790a9a Bug 1057578 - Change the overscroll transform exposed by APZC from a ViewTransform to a Matrix4x4. r=kats 2014-08-29 14:41:49 -04:00
David Zbarsky 205b93ba09 Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
Matt Woodrow 926bf7dfb9 Bug 1060114 - Fix partial surface uploading through BufferTextureClient. r=Bas 2014-08-29 15:06:26 +12:00
Botond Ballo bb5b3e24c2 Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
Benoit Girard d83f3e3d33 Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Botond Ballo 19f0eab038 Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang
--HG--
extra : rebase_source : 73cbb638427eae5987c3b19169ceed1fa47ec190
2014-08-28 16:32:49 -04:00
Jeff Muizelaar 8108de6363 Bug 1059803. Change FPSCounter to not use ToSecondsSigDigits() part 2
ToSecondsSigDigits() should only really be used for printing values.

--HG--
extra : rebase_source : b5d62b76f95e248f7f14e8559a6ab5a586d26135
2014-08-28 10:25:23 -04:00
Carsten "Tomcat" Book 13c41fb6fd merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta fe7f22ce27 Bug 1055760 - Update frame uniformity code to use the shadow transform. r=BenWa,mchang 2014-08-27 22:13:43 -04:00
Kartikaya Gupta f72e3c0ee4 Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta 1c013ea7c8 Bug 1055760 - Update AsyncCompositionManager's animation-sampling code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta 29bf92e1ea Bug 1055760 - Update AsyncCompositionManager's fixed- and sticky-layer-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta cf3bee3fd4 Bug 1055760 - Update AsyncCompositionManager's scrollbar-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta 6cf11ad811 Bug 1055760 - Update AsyncCompositionManager's async-transform application code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:41 -04:00
Kartikaya Gupta 81379297b8 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta baed559ce3 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta b997ee23d8 Bug 1055760 - Rearrange AlignFixedAndStickyLayers; no functional changes. r=botond 2014-08-27 22:13:40 -04:00
Milan Sreckovic 4455d895e8 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Matt Woodrow 7b1157f5a9 Bug 1057222 - Do partial tile uploads on desktop. r=BenWa
--HG--
extra : rebase_source : 47ef135eeb5a2f1c9b97594fa7bc7bcd90360cd2
2014-08-27 18:51:37 +12:00
Matt Woodrow 096a36ef3a 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 5fb8e2a235 Bug 1010584 - Cull in ContainerLayerComposite. r=mwoodrow
--HG--
extra : rebase_source : ed9457906ac6d69bf563ddadff1599aea8964849
2014-08-27 18:46:55 -04:00
Ryan VanderMeulen a19bf3acbf 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 c1ad45d89e Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang 2014-08-25 17:24:21 -04:00
Jeff Muizelaar ca08386811 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 21cc341295 Bug 1040187: Combine update regions properly when upload hasn't executed yet. r=nical 2014-08-26 13:06:17 +00:00
Milan Sreckovic d284127fd1 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 ff234cdc98 Bug 1057645 - Update Frame Uniformity Tool to use APZC metrics. r=botond
CLOSED TREE
2014-08-25 08:56:00 -04:00
Sotaro Ikeda a94e983e70 Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical 2014-08-25 06:45:26 -07:00
Kartikaya Gupta 08b5038258 Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Trevor Saunders fd5e9d1fcc 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 3db44baa85 Bug 1056190 - Delete Scrollgraph. r=benwa 2014-08-20 17:42:03 -07:00
Benoit Girard 0d295d7249 Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow 2014-07-30 14:36:15 -04:00
chiajung hung d7c7e3a117 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 015ce11986 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta 3b4808ddad 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 da28f73cfa Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Botond Ballo ffebd18f0b 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 c4f53c3008 Bug 1052751 - Part 1: Cull translated layers on the compositor. r=roc 2014-08-14 11:46:21 -04:00
Ryan VanderMeulen 6cf995b770 Backed out changeset 926c83cd24f0 (bug 1052751) for B2G reftest failures. 2014-08-15 17:15:26 -04:00
Jeff Muizelaar 1b857210be 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 d7f0d13fc8 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 df48ffb1b7 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 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 40ac29fbd1 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -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
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
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
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
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
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
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
Nicolas Silva 5cfb339954 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Ryan VanderMeulen d73ad9034f Backed out changeset fe28abfc3842 (bug 1043426) for Android reftest failures.
CLOSED TREE
2014-08-01 11:20:10 -04:00
Nicolas Silva de5f7a7658 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 b3e61c206f Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky 14c6e4a712 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky 0b0a830d84 Bug 952977: More gfx::Matrix cleanup in LayerManagerComposite r=nical 2014-08-01 08:31:47 -04:00
David Zbarsky 79ec6f6bad Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Wes Kocher 3c155637a3 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 ecf49e22a2 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky 30b97efa59 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky 8bd2b6f048 Bug 952977: More gfx::Matrix cleanup in LayerManagerComposite r=nical 2014-07-29 19:18:49 -04:00
David Zbarsky e58cb94cdf Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-07-29 19:18:49 -04:00
Nicolas Silva 37027d1278 Bug 1043929 - Ensure that a locked TextureHost can give access to a valid TextureSource for some of the texture types. r=Bas 2014-07-28 14:58:38 +02:00
Nicolas Silva b0759630b1 Bug 1043929 - Unlock the mask texture in case of failure. r=Bas 2014-07-28 14:58:20 +02:00
Boris Chiou 1188a41eb3 Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury
We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.

In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.

By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
2014-07-27 22:32:00 +02:00
Kartikaya Gupta 8dcfb66686 Bug 1043663 - Remove incorrect assertion. r=botond 2014-07-24 18:47:02 -04:00
Botond Ballo f5daaf4cfe Bug 1035598 - Apply async scale correctly to ContainerLayers whose content does not start at the origin. r=kats,mattwoodrow 2014-07-22 18:10:54 -04:00
Kartikaya Gupta 904150c373 Bug 1038416 - Draw the background color under reduce-opacity low-res content. r=botond 2014-07-22 17:44:15 -04:00
Kartikaya Gupta 3377ff3ee2 Bug 1038416 - Don't apply opacity-reduction to low-res content that is not fully opaque. r=BenWa 2014-07-22 17:44:15 -04:00
Jeff Muizelaar 52c3a007ec Bug 1041690. ShmTextureHost: Remove unnecessary manual deletion
--HG--
extra : rebase_source : b236e7ca49271518e5f9dfe5313475419a7b6250
2014-07-22 16:55:19 -04:00
Octoploid 18faaeac6a bug 1036401 - adjust includes to fix up some issues with complete types instead of forward declarations being required r=bz r=bjacob 2014-07-22 11:29:33 -04:00
Jeff Muizelaar be3ca57d73 Bug 1041690. Make ShmemTextureHost's mShmem member a UniquePtr. r=nical
This makes the ownership clear and removes some code.

--HG--
extra : rebase_source : fca529c3e5dd224be090876a6f4528ed8686e4e5
2014-07-21 18:55:02 -04:00
Kartikaya Gupta 0df3a31848 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Botond Ballo c9ae48f4e5 Bug 1036119 - Have AsyncCompositionManager support layers which are both scrollable and fixed-position. r=Cwiiis 2014-07-17 16:08:33 -04:00
Sotaro Ikeda 5c36208714 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Jeff Muizelaar 4f8f5212b2 Bug 1037220. Reorder rendering to avoid render target switches. r=mwoodrow,bgirard
Before we would for example draw the background, switch to a container layers's
render target, draw to that, switch back the render target draw the
container layer, move on to the next container layer etc.

This render target switching is especially bad for mobile gpus (like adreno
that needs to move things in and out of gmem).

This change switches to a two pass approach that renders all of the container
layers first (unless they need a copy of the background) and then composites
everything all together.

--HG--
rename : toolkit/devtools/jsbeautify/beautify.js => browser/devtools/shared/Jsbeautify.jsm
rename : security/pkix/include/pkix/Input.h => security/pkix/lib/pkixder.h
rename : security/pkix/include/pkix/Result.h => security/pkix/lib/pkixutil.h
rename : toolkit/components/places/tests/unifiedcomplete/test_416211.js => toolkit/components/places/tests/autocomplete/test_416211.js
rename : toolkit/components/places/tests/unifiedcomplete/test_416214.js => toolkit/components/places/tests/autocomplete/test_416214.js
rename : toolkit/components/places/tests/unifiedcomplete/test_417798.js => toolkit/components/places/tests/autocomplete/test_417798.js
rename : toolkit/components/places/tests/unifiedcomplete/test_418257.js => toolkit/components/places/tests/autocomplete/test_418257.js
rename : toolkit/components/places/tests/unifiedcomplete/test_422277.js => toolkit/components/places/tests/autocomplete/test_422277.js
rename : toolkit/components/places/tests/unifiedcomplete/test_autocomplete_on_value_removed_479089.js => toolkit/components/places/tests/autocomplete/test_autocomplete_on_value_removed_479089.js
rename : toolkit/components/places/tests/unifiedcomplete/test_download_embed_bookmarks.js => toolkit/components/places/tests/autocomplete/test_download_embed_bookmarks.js
rename : toolkit/components/places/tests/unifiedcomplete/test_empty_search.js => toolkit/components/places/tests/autocomplete/test_empty_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_enabled.js => toolkit/components/places/tests/autocomplete/test_enabled.js
rename : toolkit/components/places/tests/unifiedcomplete/test_escape_self.js => toolkit/components/places/tests/autocomplete/test_escape_self.js
rename : toolkit/components/places/tests/unifiedcomplete/test_ignore_protocol.js => toolkit/components/places/tests/autocomplete/test_ignore_protocol.js
rename : toolkit/components/places/tests/unifiedcomplete/test_keyword_search.js => toolkit/components/places/tests/autocomplete/test_keyword_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_match_beginning.js => toolkit/components/places/tests/autocomplete/test_match_beginning.js
rename : toolkit/components/places/tests/unifiedcomplete/test_multi_word_search.js => toolkit/components/places/tests/autocomplete/test_multi_word_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_special_search.js => toolkit/components/places/tests/autocomplete/test_special_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_swap_protocol.js => toolkit/components/places/tests/autocomplete/test_swap_protocol.js
rename : toolkit/components/places/tests/unifiedcomplete/test_tabmatches.js => toolkit/components/places/tests/autocomplete/test_tabmatches.js
rename : toolkit/components/places/tests/unifiedcomplete/test_word_boundary_search.js => toolkit/components/places/tests/autocomplete/test_word_boundary_search.js
rename : toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js => toolkit/components/places/tests/inline/head_autocomplete.js
rename : toolkit/components/places/tests/unifiedcomplete/test_autocomplete_functional.js => toolkit/components/places/tests/inline/test_autocomplete_functional.js
rename : toolkit/components/places/tests/unifiedcomplete/test_casing.js => toolkit/components/places/tests/inline/test_casing.js
rename : toolkit/components/places/tests/unifiedcomplete/test_do_not_trim.js => toolkit/components/places/tests/inline/test_do_not_trim.js
rename : toolkit/components/places/tests/unifiedcomplete/test_keywords.js => toolkit/components/places/tests/inline/test_keywords.js
rename : toolkit/components/places/tests/unifiedcomplete/test_queryurl.js => toolkit/components/places/tests/inline/test_queryurl.js
rename : toolkit/components/places/tests/unifiedcomplete/test_trimming.js => toolkit/components/places/tests/inline/test_trimming.js
rename : toolkit/components/places/tests/unifiedcomplete/test_typed.js => toolkit/components/places/tests/inline/test_typed.js
rename : toolkit/components/places/tests/unifiedcomplete/test_zero_frecency.js => toolkit/components/places/tests/inline/test_zero_frecency.js
rename : toolkit/components/places/tests/unifiedcomplete/xpcshell.ini => toolkit/components/places/tests/inline/xpcshell.ini
extra : rebase_source : dc06e25bcc95db43b5c5267d1b7e1065992ddd9c
2014-07-15 16:26:20 -04:00
Wes Kocher 404ebfb0df Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda 0ec28966e8 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book acddf2b5ae Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda 1179090250 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Matt Woodrow 5aa300e397 Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc 2014-07-18 18:48:23 +12:00
Carsten "Tomcat" Book 9522edcc50 Backed out changeset 49c713f92304 (bug 1039145) 2014-07-18 10:45:20 +02:00
Matt Woodrow e8878fb125 Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc 2014-07-18 18:48:23 +12:00
Brian Birtles 8a61f8ccfa Bug 1036287 part 3 - Make GetLocalTimeAt return a nullable time duration; r=dholbert
Once we support arbitrary timelines which can return null current time values,
the local time of an animation can also become null so this patch updates
ElementAnimation::GetLocalTimeAt to return a Nullable<TimeDuration>.
Doing this also allows us to pass the result of GetLocalTimeAt directly to
GetComputedTimingAt.
2014-07-16 09:02:32 +09:00
Bas Schouten 278bcc4c7d Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00
Benoit Girard 1465e09a99 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Benoit Girard 193a66a800 Bug 864829 - Add graphics performance warning feature. r=bjacob
--HG--
extra : rebase_source : 11585fb913c4a10c9293787fa6e86f2f76bdcdb4
2014-05-07 18:09:41 -04:00
Jeff Gilbert f032a2a672 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Sushil Chauhan a19515ba19 Bug 1027343 - Geometry change flag needs to be set for modified layer tree. r=mattwoodrow 2014-07-07 12:58:26 -07:00
Kartikaya Gupta 120f705ed7 Bug 1031494 - Move the FBO texture clamping code so that the OGL CompositingRenderTarget gets the unclamped size. r=BenWa 2014-07-04 20:21:36 -04:00
Kartikaya Gupta ccf8c8beb4 Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Boris Chiou b86e69633f Bug 975346 - Part 2: Support LayerScope for HwcComposer2D. r=dglastonbury
1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
   static function structure.
2014-07-03 01:17:00 +02:00
Boris Chiou 80b67114ce Bug 975346 - Part 1: General functions for Effects. r=dglastonbury
1. Support GenEffectChain() for LayerComposite.
   Each layer can use this API to gen the
   EffectChain (only primary effect now)
2. Support GenEffect() for CompositableHost.
3. Move AutoLock to compositeHost.
2014-06-22 19:06:00 +02:00
Jeff Gilbert e8041c5877 Bug 1030934 - Handle a null-frame update. - r=bas 2014-06-30 15:09:55 -07:00
Jonathan Watt 0a412a04d6 Bug 1031055 - Get rid of the Thebes backed gfxContexts in FrameLayerBuilder.cpp, and get rid of gfxASurface::DumpAsDataURL. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Kartikaya Gupta 1a38e90937 Bug 1023506 - Don't fill the background color for overscrolled scrollinfo layers. r=mattwoodrow 2014-06-25 19:18:33 -04:00
Brian Birtles 6bc9caf270 Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron
--HG--
rename : layout/style/nsStyleAnimation.cpp => layout/style/StyleAnimationValue.cpp
rename : layout/style/nsStyleAnimation.h => layout/style/StyleAnimationValue.h
2014-06-24 15:29:54 +09:00
Brian Birtles 65c7f861cb Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.

Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Kartikaya Gupta 1cfb0fc6fc Bug 1020778 - Reduce opacity of low-res buffer on B2G by half when compositing it to the screen. r=jrmuizel 2014-06-23 12:00:18 -04:00
Benoit Jacob 79aa0bb737 Remove unused static variable that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:53:51 -04:00
Mason Chang 4c76cc6e53 Bug 990832 - Build a tool to visualize frame uniformity. r=mchang, benwa. 2014-06-19 09:33:00 +02:00
Brian Birtles 5bb2caab0a Bug 1025709 part 1 - Move mDelay to AnimationTiming; r=heycam
This patch is the first part in preparing the way to merge ElementTransitions
with CommonElementAnimationData (which we'll eventually rename to something
nicer).

Here we move mTiming from CommonElementAnimationData to the AnimationTiming
struct. While this is not strictly necessary in order to do the later
refactoring it makes it simpler since it:

- Divides time calculation into calculation based on dynamic play state (the
  responsibility of animation players in Web Animations terms) and static
  author-specified timing parameters (a property of animations in Web Animations
  terms).
- In future we will probably put animations on the compositor during their
  delay phase so we will want the delay to be present in the AnimationTiming
  struct then.
- Makes AnimationTiming line up with the dictionary of the same name in Web
  Animations.
2014-06-20 12:39:23 +09:00
Sotaro Ikeda 0555dff07f Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Benoit Girard 19effe56b7 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Benoit Girard eb79d62834 Bug 1027794 - Don't copy the visible region when rendering. r=bjacob 2014-06-19 16:14:46 -04:00
Birunthan Mohanathas bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob c957e59732 Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Jeff Gilbert 2450a21701 Bug 1000640 - Crash if we try to use the Gralloc path in TextureHost. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert f3d7974f16 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert 59d37e34f9 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Nicolas Silva 0952a7b335 Bug 1014355 - Fix ownership issue in X11TextureClient. r=cwiiis 2014-06-18 19:11:12 +02:00
Benoit Girard dc1ed6a8ac Bug 1015659 - Replace frame-counter by qrcode to tag video frames. r=jrmuizel 2014-06-17 16:34:42 -04:00
Botond Ballo 5c89783761 Bug 1019996 - Apply overscroll effect to fixed and sticky layers. r=kats, r=Cwiiis 2014-06-12 20:27:32 -04:00
Botond Ballo 49f6e7af7c Bug 1019996 - Remove an unnecessary call to AlignFixedAndStickyLayers. r=Cwiiis 2014-06-12 16:40:35 -04:00
Sotaro Ikeda 2a12607713 Bug 1025781 - Add CreateDataSourceSurface() failure checks r=nical 2014-06-16 16:47:28 -07:00
"Kan-Ru Chen (陳侃如)" cb1a5a5562 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
Nicolas Silva 0f65b4eb76 Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow 2014-06-09 17:30:53 -04:00
Botond Ballo e487d98073 Bug 1014280 - Fill blank areas created by overscroll transform with background color. r=mattwoodrow,BenWa,nical
--HG--
extra : source : 4323c71f0e921b50a1774e46ec700b354b479c7a
2014-06-05 14:48:53 -04:00
Wes Kocher cde83bdc33 Backed out changeset 9d1dd5a9be4f (bug 1000640) 2014-06-04 18:27:41 -07:00
Wes Kocher 40ac0457aa Backed out changeset 3a764e34c366 (bug 1000640) 2014-06-04 18:27:22 -07:00
Jeff Gilbert 4dfc0e7e48 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert 16549b9f87 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Markus Stange 0a84c7f233 Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats 2014-06-04 14:44:26 +02:00
Kartikaya Gupta 06506e7aaa Bug 1019004 - Guard against a null pointer deref when dumping painting. r=BenWa 2014-06-03 12:59:15 -04:00
Victor Porof 9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andreas Gal 47abe4ef63 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-28 14:04:07 -04:00
Ed Morley 59d15edff7 Backed out changeset f0b1908ce71a (bug 1013392) 2014-05-28 18:19:44 +01:00
Markus Stange 95804f228c Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats 2014-05-28 16:14:43 +02:00
Markus Stange 136d73bcdc Bug 1016437 - Document why we don't use TiledTextureImage for YCbCr frames and add an assert to that effect. r=nical 2014-05-28 12:52:12 +02:00
Brian Birtles f3593b3f8a Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.

In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().

This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles 7265fd639b Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles efbd693128 Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).

Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles 25641302e6 Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles b4d589de64 Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.

In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.

(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)

There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.

The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Matt Woodrow 0726340c00 Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical 2014-05-28 13:21:32 +12:00
Sotaro Ikeda bf17f250a7 Bug 1006957 - WebRTC crash fix r=nical 2014-05-26 10:09:25 -07:00
Sotaro Ikeda afdf8e01dd Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink 12ba3a7a2a Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Sotaro Ikeda ac5d74bdb6 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Nicolas Silva 69c73e6b6b Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Benoit Girard df3b7c99d5 Bug 1014042 - Add compositor benchmark. r=jrmuizel 2014-05-21 17:29:49 +00:00
Wes Kocher fd7188a2e3 Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Andreas Gal 9f4e0487b4 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-22 00:47:02 +02:00
Andreas Gal 013ca12b06 Bug 1012407 - Part 2: Use Moz2D to draw velocity graph and elminiate use of GL_LINE_STRIP (r=Bas) 2014-05-21 23:24:16 +02:00
Wes Kocher 738f9f9b41 Merge inbound to m-c 2014-05-15 15:59:45 -07:00
Sotaro Ikeda 582a7928b4 Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Carsten "Tomcat" Book cd8f4f685a Merge mozilla-central to mozilla-inbound 2014-05-13 12:45:41 +02:00
Matt Woodrow 5fbdfc89f5 Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical 2014-05-13 14:20:26 +12:00
Vincent Chen 5d327d4fc7 Bug 983489 - Delay destroying mCompositor to prevent crash. r=nical 2014-05-04 19:52:00 -04:00
Sotaro Ikeda 5ed7dc913b Bug 1000660 - Remove TextureParent::RecvRemoveTextureSync() r=nical 2014-05-12 18:18:22 -07:00
Sotaro Ikeda 1de11b15ef Bug 984434 - Change ImageBridgeChild::FlushAllImages() to use async ipc r=nical 2014-05-12 07:39:25 -07:00
Mason Chang 34003a0f7c Bug 990835 - Change Compositor FPS to be Histogram based. r=benwa 2014-05-09 09:50:00 -04:00
Matt Woodrow f05c7aef5f Bug 950312 - Part 6: Share code for computing layers component alpha support. r=roc 2014-05-09 22:06:20 +12:00
Matt Woodrow 23232a9040 Bug 950312 - Part 2: Add Effect for BlendModes. r=nical 2014-05-09 21:48:29 +12:00
Vladimir Vukicevic 6bb031a341 b=874781; add color bars to layer diagnostics, for vsync checking; r=benwa 2014-05-08 16:49:01 -04:00
Wes Kocher a30e4e7afc Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow 1eb1c84d2a Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical 2014-05-13 14:20:26 +12:00
Sotaro Ikeda e4e2cb245d Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
Carsten "Tomcat" Book 0f82c9229c Backed out changeset 290f4be587a1 (bug 983489) for suspicion that this caused the m8 and m10 on ics debug on a CLOSED TREE 2014-05-05 16:19:22 +02:00
Vincent Chen d497f40f3d Bug 983489 - "Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]" r=nical 2014-04-29 23:49:00 +02:00
Benoit Girard 1b80ad5825 Bug 1005328 - Layers.dump output should be consistent with newlines. r=bottond 2014-05-02 17:29:29 -04:00
Benoit Jacob d8c1730c9a Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob 5004258047 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob 2cf9a19eef Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob c712e9ddfd Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob dd9a0850b3 Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Nicolas Silva 1e0a29a023 Bug 997699 - fixup some #includes of ipdl actors in layers. r=bjacob 2014-04-28 13:29:13 +02:00
Nicolas Silva a1eb82d358 Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa 2014-04-28 13:27:25 +02:00
Blair McBride 24b74a2af7 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob 8956abd16d Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob a53edd3151 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob dc0b0c8367 Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob fa32d42d95 Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob 45875b18ee Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical 2014-04-25 22:34:05 -04:00
Nicolas Silva 60f62b5e76 Bug 997699 - Move CompositableParent to the .cpp. r=bjacob 2014-04-25 17:15:58 +02:00
Jerry Shih 8b3783f335 Bug 993019 - [Camera] [Gallery] Orientation response is slow after launching from Camera app. r=kats 2014-04-24 05:43:00 -04:00
Benoit Jacob 7346c965d5 Bug 999697 - Make CreatedIncrementalTexture fail gracefully and return bool - r=nical 2014-04-23 10:46:02 -04:00
Benoit Jacob c4df10f09d Bug 999686 - Don't MOZ_CRASH in CompositableHost on bad IPC message params - r=sotaro 2014-04-23 10:41:18 -04:00
Kartikaya Gupta f228d9242c Bug 1000170 - Remove reference to nonexistent class. r=nical 2014-04-23 14:12:31 -07:00
Ryan VanderMeulen b1acf34460 Backed out 3 changesets (bug 1000170, bug 1000370) for landing with the wrong patch author.
Backed out changeset a3f42079e69c (bug 1000370)
Backed out changeset e4e33370b648 (bug 1000170)
Backed out changeset bca2faf314bf (bug 1000170)
2014-04-23 14:20:54 -07:00
Brian Hackett c1671f139c Bug 1000170 - Remove reference to nonexistent class. r=nical 2014-04-23 14:12:31 -07:00
Nicolas Silva 30a263d4bd Bug 999736 - Add a null check in ContentHostTexture::Lock. r=bjacob 2014-04-23 14:19:29 +02:00
Carsten "Tomcat" Book fcd7542b90 Backed out changeset b032a90ee083 (bug 983489) for m-e10s test failures 2014-04-17 14:04:26 +02:00
Kartikaya Gupta c1a7eb8c17 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00
Vincent Chen 6664c3e49f Bug 983489 - Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]. r=nical 2014-04-17 02:11:00 +02:00
Kartikaya Gupta c96a07d472 Bug 996768 - Remove redundant copies of HasOpaqueAncestorLayer. r=Bas 2014-04-16 13:56:52 -04:00
Kartikaya Gupta 4629ad9ed9 Bug 996742 - Remove unused forward declare in the wrong namespace. r=nrc 2014-04-15 11:02:00 +02:00