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

Unified Diff: android_webview/browser/deferred_gpu_command_service.h

Issue 287993004: [Android WebView] Implement Ubercomp for Render Thread support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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 bbfe9475da376319939eb067eaae364f2a05e84a..696854db9919c7dab4016811007aaf1a57ddb50a 100644
--- a/android_webview/browser/deferred_gpu_command_service.h
+++ b/android_webview/browser/deferred_gpu_command_service.h
@@ -27,12 +27,12 @@ class ScopedAllowGL {
DISALLOW_COPY_AND_ASSIGN(ScopedAllowGL);
};
-// TODO(boliu): Teach this class about RT.
class DeferredGpuCommandService
: public gpu::InProcessCommandBuffer::Service,
public base::RefCountedThreadSafe<DeferredGpuCommandService> {
public:
static void SetInstance();
+ static DeferredGpuCommandService* GetInstance();
virtual void ScheduleTask(const base::Closure& task) OVERRIDE;
virtual void ScheduleIdleWork(const base::Closure& task) OVERRIDE;
@@ -50,7 +50,7 @@ class DeferredGpuCommandService
friend class base::RefCountedThreadSafe<DeferredGpuCommandService>;
private:
- static void RequestProcessGLOnUIThread();
+ static void RequestProcessGL();
DeferredGpuCommandService();

Powered by Google App Engine
This is Rietveld 408576698