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

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: fix unit test failures on macosx 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 76e77f89817f53aaa8652ef010b5c5027b786cdd..84ad1ff19284bc253ba1befe24ad1a1639b04385 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