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

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

Issue 1637423004: Show Compositor information in chrome://gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move "GpuMemoryBuffer Status" section to below Created 4 years, 11 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_internals_ui.cc » ('j') | content/browser/gpu/gpu_internals_ui.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 64b5e8737af2ac0be70a35b0123bde38a2ceb8a4..1bec632390922df490ff25a7144077bd98622abe 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -34,6 +34,7 @@ const char* kGpuCompositingFeatureName = "gpu_compositing";
const char* kWebGLFeatureName = "webgl";
const char* kRasterizationFeatureName = "rasterization";
const char* kMultipleRasterThreadsFeatureName = "multiple_raster_threads";
+const char* kNativeGpuMemoryBuffersFeatureName = "native_gpu_memory_buffers";
const int kMinRasterThreads = 1;
const int kMaxRasterThreads = 4;
@@ -154,6 +155,13 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index, bool* eof) {
"Raster is using a single thread.",
false
},
+ {
+ kNativeGpuMemoryBuffersFeatureName,
+ false,
+ !BrowserGpuMemoryBufferManager::IsNativeGpuMemoryBuffersEnabled(),
+ "Native GpuMemoryBuffer is not supported.",
reveman 2016/01/29 15:43:50 This is not necessarily true. As the default is st
dshwang 2016/01/29 16:46:14 it's disabled_description. "Problems Detected" in
+ true
+ },
};
DCHECK(index < arraysize(kGpuFeatureInfo));
*eof = (index == arraysize(kGpuFeatureInfo) - 1);
« no previous file with comments | « no previous file | content/browser/gpu/gpu_internals_ui.cc » ('j') | content/browser/gpu/gpu_internals_ui.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698