diff options
author | jinsukkim@chromium.org <jinsukkim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 04:56:01 +0000 |
---|---|---|
committer | jinsukkim@chromium.org <jinsukkim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-02 04:56:01 +0000 |
commit | 2f8eadf31c37dfac85944bfc754dbb582fda0ab0 (patch) | |
tree | 74c6b80aecb189515c479ebead9bdf7acb45041e /cc | |
parent | 67241b83d4bd573d00f1fa6e6056cf25f74ddf49 (diff) | |
download | chromium_src-2f8eadf31c37dfac85944bfc754dbb582fda0ab0.zip chromium_src-2f8eadf31c37dfac85944bfc754dbb582fda0ab0.tar.gz chromium_src-2f8eadf31c37dfac85944bfc754dbb582fda0ab0.tar.bz2 |
Disables impl-side painting on TV device
Impl-side painting mechanism was playing a part in rendering contents
on 1080p resolution in less responsive manner. This CL disables it to address
the issue. As the device is mostly controlled with keyboard as opposed to
touch like on mobile/tablets, this is acceptable.
BUG=235347
Review URL: https://chromiumcodereview.appspot.com/14190008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/base/switches.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc index 80996e9..a90dc67 100644 --- a/cc/base/switches.cc +++ b/cc/base/switches.cc @@ -152,7 +152,12 @@ bool IsImplSidePaintingEnabled() { else if (command_line.HasSwitch(cc::switches::kEnableImplSidePainting)) return true; -#if defined(OS_ANDROID) +// Check GOOGLE_TV ahead of OS_ANDROID as they are not orthogonal. +// TODO(jinsukkim): Remove this once the impl-side javascript-driven painting +// performance issue is addressed. (crbug.com/235347) +#if defined(GOOGLE_TV) + return false; +#elif defined(OS_ANDROID) return true; #else return false; |