summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorachaulk@chromium.org <achaulk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 00:58:28 +0000
committerachaulk@chromium.org <achaulk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 00:58:28 +0000
commit8a0a7f2114af00cef6a54102580fd28a44153ca5 (patch)
tree4d921806704b328a4aab3ef7ce9bee973f18a846 /content
parent1504da8e18bfd64b8aedd85b84e07480e272cb62 (diff)
downloadchromium_src-8a0a7f2114af00cef6a54102580fd28a44153ca5.zip
chromium_src-8a0a7f2114af00cef6a54102580fd28a44153ca5.tar.gz
chromium_src-8a0a7f2114af00cef6a54102580fd28a44153ca5.tar.bz2
Add a new ozone switch to enable surfaceless output mode.
This is an output surface that displays the content using overlays and render-to-FBO, instead of the usual system-managed framebuffer. Implementation to follow in another CL. BUG=380861 TBR=stevenjb Review URL: https://codereview.chromium.org/433543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/gpu/gpu_process_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index dbbd7bb..991d275 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -868,6 +868,7 @@ bool GpuProcessHost::LaunchGpuProcess(const std::string& channel_id) {
#endif
#if defined(USE_OZONE)
switches::kOzonePlatform,
+ switches::kOzoneUseSurfaceless,
#endif
#if defined(USE_X11) && !defined(OS_CHROMEOS)
switches::kX11Display,