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

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: Fix clang compile 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();
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/deferred_gpu_command_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698