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

Unified Diff: android_webview/browser/deferred_gpu_command_service.h

Issue 299363003: aw: Improve DeferredGpuCommandService scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: android_webview/browser/deferred_gpu_command_service.h
diff --git a/android_webview/browser/deferred_gpu_command_service.h b/android_webview/browser/deferred_gpu_command_service.h
index 696854db9919c7dab4016811007aaf1a57ddb50a..86be2de51b65b7e009f9d9ba281306e0438ab140 100644
--- a/android_webview/browser/deferred_gpu_command_service.h
+++ b/android_webview/browser/deferred_gpu_command_service.h
@@ -20,6 +20,7 @@ class ScopedAllowGL {
~ScopedAllowGL();
static bool IsAllowed();
+ static bool NeedSchedule();
private:
static base::LazyInstance<base::ThreadLocalBoolean> allow_gl;

Powered by Google App Engine
This is Rietveld 408576698