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

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

Issue 1375663002: Show GpuMemoryBuffer feature in chrome://gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP on reveman comments in #9 Created 5 years, 2 months 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/compositor_util.h
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h
index ea82ca1c47ec5b5e7d9908330d726bd035f36c4b..74b23ddfe578858110d271063d531e10b15136a9 100644
--- a/content/browser/gpu/compositor_util.h
+++ b/content/browser/gpu/compositor_util.h
@@ -21,6 +21,10 @@ CONTENT_EXPORT bool IsPropertyTreeVerificationEnabled();
// Only one of one-copy and zero-copy can be enabled at a time.
CONTENT_EXPORT bool IsZeroCopyUploadEnabled();
+// Returns true if native GpuMemoryBuffer can be used and is on (via flags, or
reveman 2015/10/16 18:37:43 nit: s/GpuMemoryBuffer/GpuMemoryBuffers/
+// platform default).
+CONTENT_EXPORT bool IsNativeGpuMemoryBufferEnabled();
reveman 2015/10/16 18:37:43 nit: s/GpuMemoryBuffer/GpuMemoryBuffers/ I think
+
// Returns true if a persistent GpuMemoryBuffer can be used and is on (via
// flags, or platform default).
CONTENT_EXPORT bool IsPersistentGpuMemoryBufferEnabled();
@@ -42,6 +46,7 @@ CONTENT_EXPORT int NumberOfRendererRasterThreads();
CONTENT_EXPORT bool UseSurfacesEnabled();
CONTENT_EXPORT base::DictionaryValue* GetFeatureStatus();
+CONTENT_EXPORT base::DictionaryValue* GetGmbStatus();
CONTENT_EXPORT base::Value* GetProblems();
CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds();

Powered by Google App Engine
This is Rietveld 408576698