Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 699073004: content: Add command line flag for native GPU memory buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu-memory-buffer-impl-unittests
Patch Set: rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index 0464ef6ad8ccab91397e1f97d5155b5a04c32104..b790cc61d04448c211ff936e6c71c7735aa86160 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -25,6 +25,11 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
static void Terminate();
static BrowserGpuChannelHostFactory* instance() { return instance_; }
+ static void EnableGpuMemoryBufferFactoryUsage(
+ gfx::GpuMemoryBuffer::Usage usage);
+ static bool IsGpuMemoryBufferFactoryUsageEnabled(
+ gfx::GpuMemoryBuffer::Usage usage);
+
// Overridden from GpuChannelHostFactory:
bool IsMainThread() override;
base::MessageLoop* GetMainLoop() override;

Powered by Google App Engine
This is Rietveld 408576698