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

Side by Side Diff: content/browser/gpu/compositor_util.h

Issue 519923002: Make the number of raster threads appear in chrome://gpu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: numrasterthreads: . Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ 5 #ifndef CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_
6 #define CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ 6 #define CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 12 matching lines...) Expand all
23 // Returns true if impl-side painting is on (via flags, or platform default) 23 // Returns true if impl-side painting is on (via flags, or platform default)
24 // for the renderer. 24 // for the renderer.
25 CONTENT_EXPORT bool IsImplSidePaintingEnabled(); 25 CONTENT_EXPORT bool IsImplSidePaintingEnabled();
26 26
27 // Returns true if gpu rasterization is on (via flags) for the renderer. 27 // Returns true if gpu rasterization is on (via flags) for the renderer.
28 CONTENT_EXPORT bool IsGpuRasterizationEnabled(); 28 CONTENT_EXPORT bool IsGpuRasterizationEnabled();
29 29
30 // Returns true if force-gpu-rasterization is on (via flags) for the renderer. 30 // Returns true if force-gpu-rasterization is on (via flags) for the renderer.
31 CONTENT_EXPORT bool IsForceGpuRasterizationEnabled(); 31 CONTENT_EXPORT bool IsForceGpuRasterizationEnabled();
32 32
33 // Returns the number of raster threads to use for compositing.
34 CONTENT_EXPORT int NumberOfRendererRasterThreads();
35
36 // Returns the number of raster threads to use for compositing that are forced
37 // by the command line.
38 CONTENT_EXPORT int ForceNumberOfRendererRasterThreads();
39
33 CONTENT_EXPORT base::Value* GetFeatureStatus(); 40 CONTENT_EXPORT base::Value* GetFeatureStatus();
34 CONTENT_EXPORT base::Value* GetProblems(); 41 CONTENT_EXPORT base::Value* GetProblems();
35 CONTENT_EXPORT base::Value* GetDriverBugWorkarounds(); 42 CONTENT_EXPORT base::Value* GetDriverBugWorkarounds();
36 43
37 } // namespace content 44 } // namespace content
38 45
39 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ 46 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/compositor_util.cc » ('j') | content/browser/renderer_host/render_process_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698