summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_unittest_proxy.cc
Commit message (Collapse)AuthorAgeFilesLines
* cc: Make layer updating optional in BeginMainFrameskyostil2015-08-121-7/+176
| | | | | | | | | | | | | | | | | If no-one has requested a layer update, either by calling Proxy::SetNeedsUpdateLayers() or Proxy::SetNeedsCommit(), skip computing the layer update in BeginMainFrame. This reduces the static overhead of a BeginMainFrame/Commit operation when the layer tree doesn't change. This change improves efficiency, for example, when a page has a requestAnimationFrame callback which does not modify the DOM. BUG=490465 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1255863004 Cr-Commit-Position: refs/heads/master@{#343004}
* cc: Remove the non-implside flavour of LayerTreeTests.Dana Jansens2015-06-121-12/+4
| | | | | | | | | | | | | | | | | | | While doing so I audited a bunch of MULTI_THREAD only tests and turned them into SINGLE_AND_MULTI_THREAD or documented why not to. Some of the NOIMPL tests really are NOIMPL and I deleted them. The others I turned on with impl-side instead. NOTE TO PERF SHERIFFS: This changes the names of some cc_perftests and makes some of them use impl-side painting now. If this has perf side- effects these should be considered new (more accurate) baselines. R=enne@chromium.org, enne, vmpstr BUG=413479 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1180613010. Cr-Commit-Position: refs/heads/master@{#334286}
* Standardize usage of virtual/override/final specifiers in cc/.dcheng2014-12-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Google C++ style guide states: Explicitly annotate overrides of virtual functions or virtual destructors with an override or (less frequently) final specifier. Older (pre-C++11) code will use the virtual keyword as an inferior alternative annotation. For clarity, use exactly one of override, final, or virtual when declaring an override. To better conform to these guidelines, the following constructs have been rewritten: - if a base class has a virtual destructor, then: virtual ~Foo(); -> ~Foo() override; - virtual void Foo() override; -> void Foo() override; - virtual void Foo() override final; -> void Foo() final; This patch was automatically generated. The clang plugin can generate fixit hints, which are suggested edits when it is 100% sure it knows how to fix a problem. The hints from the clang plugin were applied to the source tree using the tool in https://codereview.chromium.org/598073004. Several formatting edits by clang-format were manually reverted, due to mangling of some of the more complicate IPC macros. BUG=417463 Review URL: https://codereview.chromium.org/818033004 Cr-Commit-Position: refs/heads/master@{#309520}
* Standardize usage of virtual/override/final in cc/dcheng2014-10-211-16/+10
| | | | | | | | | BUG=417463 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/645853008 Cr-Commit-Position: refs/heads/master@{#300439}
* replace OVERRIDE and FINAL with override and final in cc/mostynb2014-10-061-10/+10
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/628443002 Cr-Commit-Position: refs/heads/master@{#298271}
* cc: Add testing stubs for proxy testsimonhong@chromium.org2014-05-221-0/+135
This is initial patch for proxy unittests. New testing stubs are added to LayerTreeTest. R=brianderson@chromium.org, danakj@chomium.org BUG=356832 TEST=*ProxyTest* Review URL: https://codereview.chromium.org/242783003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272051 0039d316-1c4b-4281-b951-d872f2087c98