diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-26 01:01:56 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-26 01:01:56 +0000 |
commit | 230637618f389b0816c782c8139c79e3c6b8a985 (patch) | |
tree | a4e69cfa5079db3bf3e9161c3a1c4624e5160c88 /android_webview/common | |
parent | 7bbcd368fa665f189e96bd9bbfe28bf5b1c3d408 (diff) | |
download | chromium_src-230637618f389b0816c782c8139c79e3c6b8a985.zip chromium_src-230637618f389b0816c782c8139c79e3c6b8a985.tar.gz chromium_src-230637618f389b0816c782c8139c79e3c6b8a985.tar.bz2 |
aw: Split hardware rendering into HardwareRenderer
The split is currently not perfect, but idea is all compositor
interactions dealing with hardware mode is moved to HardwareRenderer.
Should be a no-op change in general.
Also removed the BrowserViewRenderer <- InProcessViewRenderer
inheritance since it is not needed anymore.
Removed other random cruft too.
BUG=344087
NOTRY=true
Review URL: https://codereview.chromium.org/176543004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/common')
-rw-r--r-- | android_webview/common/aw_switches.cc | 6 | ||||
-rw-r--r-- | android_webview/common/aw_switches.h | 10 |
2 files changed, 0 insertions, 16 deletions
diff --git a/android_webview/common/aw_switches.cc b/android_webview/common/aw_switches.cc index 2c78aa4..317b038f 100644 --- a/android_webview/common/aw_switches.cc +++ b/android_webview/common/aw_switches.cc @@ -8,12 +8,6 @@ namespace switches { const char kDisableSimpleCache[] = "disable-simple-cache"; -const char kDisableWebViewGLMode[] = "disable-webview-gl-mode"; - -const char kTileMemoryMultiplier[] = "tile-memory-multiplier"; - -const char kNumGrallocBuffersPerWebview[] = "num-gralloc-buffers-per-webview"; - const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; } // namespace switches diff --git a/android_webview/common/aw_switches.h b/android_webview/common/aw_switches.h index 7b31bfd..e3572e2 100644 --- a/android_webview/common/aw_switches.h +++ b/android_webview/common/aw_switches.h @@ -10,16 +10,6 @@ namespace switches { // When set, falls back to using the old disk cache. extern const char kDisableSimpleCache[]; -// When set, forces use of fallback SW path even on HW canvas. -extern const char kDisableWebViewGLMode[]; - -// Used to make tile memory allocation decision. Roughly the number of -// displays that a single layer will have enough memory for. -extern const char kTileMemoryMultiplier[]; - -// Maximum number of gralloc allocations per webview. -extern const char kNumGrallocBuffersPerWebview[]; - // Explicitly enable accelerated 2d canvas. // TODO(boliu): Remove this switch once on by default. extern const char kEnableAccelerated2dCanvas[]; |