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

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

Issue 2020243004: content: Rename num raster threads -> num worker threads. Base URL: https://chromium.googlesource.com/chromium/src.git@categorized_worker_pool_3
Patch Set: build break Created 4 years, 6 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 18 matching lines...) Expand all
29 // returns true if async worker context is on (via flags). 29 // returns true if async worker context is on (via flags).
30 CONTENT_EXPORT bool IsAsyncWorkerContextEnabled(); 30 CONTENT_EXPORT bool IsAsyncWorkerContextEnabled();
31 31
32 // Returns the number of multisample antialiasing samples (via flags) for 32 // Returns the number of multisample antialiasing samples (via flags) for
33 // GPU rasterization. 33 // GPU rasterization.
34 CONTENT_EXPORT int GpuRasterizationMSAASampleCount(); 34 CONTENT_EXPORT int GpuRasterizationMSAASampleCount();
35 35
36 // Returns true if force-gpu-rasterization is on (via flags) for the renderer. 36 // Returns true if force-gpu-rasterization is on (via flags) for the renderer.
37 CONTENT_EXPORT bool IsForceGpuRasterizationEnabled(); 37 CONTENT_EXPORT bool IsForceGpuRasterizationEnabled();
38 38
39 // Returns the number of raster threads to use for compositing. 39 // Returns the number of categorized worker threads to use for compositing.
40 CONTENT_EXPORT int NumberOfRendererRasterThreads(); 40 CONTENT_EXPORT int NumberOfRendererCategorizedWorkerThreads();
41 41
42 // Returns true if main thread can be pipelined with activation. 42 // Returns true if main thread can be pipelined with activation.
43 CONTENT_EXPORT bool IsMainFrameBeforeActivationEnabled(); 43 CONTENT_EXPORT bool IsMainFrameBeforeActivationEnabled();
44 44
45 CONTENT_EXPORT base::DictionaryValue* GetFeatureStatus(); 45 CONTENT_EXPORT base::DictionaryValue* GetFeatureStatus();
46 CONTENT_EXPORT base::Value* GetProblems(); 46 CONTENT_EXPORT base::Value* GetProblems();
47 CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds(); 47 CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds();
48 48
49 } // namespace content 49 } // namespace content
50 50
51 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ 51 #endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698