Chromium Code Reviews| 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..07bcb08518f989c59b2c2a05fddc598e5827f7d4 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,14 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index, bool* eof) { |
| "Raster is using a single thread.", |
| false |
| }, |
| + { |
| + kNativeGpuMemoryBuffersFeatureName, |
| + false, |
| + !BrowserGpuMemoryBufferManager::IsNativeGpuMemoryBuffersEnabled(), |
| + "Native GpuMemoryBuffers has been disabled, either via about:flags" |
|
Ken Russell (switch to Gerrit)
2016/01/30 01:59:42
has -> have
|
| + " or command line.", |
| + true |
| + }, |
| }; |
| DCHECK(index < arraysize(kGpuFeatureInfo)); |
| *eof = (index == arraysize(kGpuFeatureInfo) - 1); |