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

Side by Side Diff: android_webview/browser/in_process_view_renderer.cc

Issue 153583009: compile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/android/in_process/synchronous_compositor_factory_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "android_webview/browser/in_process_view_renderer.h" 5 #include "android_webview/browser/in_process_view_renderer.h"
6 6
7 #include <android/bitmap.h> 7 #include <android/bitmap.h>
8 8
9 #include "android_webview/browser/aw_gl_surface.h" 9 #include "android_webview/browser/aw_gl_surface.h"
10 #include "android_webview/browser/scoped_app_gl_state_restore.h" 10 #include "android_webview/browser/scoped_app_gl_state_restore.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 public base::RefCountedThreadSafe<DeferredGpuCommandService> { 195 public base::RefCountedThreadSafe<DeferredGpuCommandService> {
196 public: 196 public:
197 DeferredGpuCommandService(); 197 DeferredGpuCommandService();
198 198
199 virtual void ScheduleTask(const base::Closure& task) OVERRIDE; 199 virtual void ScheduleTask(const base::Closure& task) OVERRIDE;
200 virtual void ScheduleIdleWork(const base::Closure& task) OVERRIDE; 200 virtual void ScheduleIdleWork(const base::Closure& task) OVERRIDE;
201 virtual bool UseVirtualizedGLContexts() OVERRIDE; 201 virtual bool UseVirtualizedGLContexts() OVERRIDE;
202 202
203 void RunTasks(); 203 void RunTasks();
204 204
205 virtual void AddRef() const { 205 virtual void AddRef() const OVERRIDE {
206 base::RefCountedThreadSafe<DeferredGpuCommandService>::AddRef(); 206 base::RefCountedThreadSafe<DeferredGpuCommandService>::AddRef();
207 } 207 }
208 virtual void Release() const { 208 virtual void Release() const OVERRIDE {
209 base::RefCountedThreadSafe<DeferredGpuCommandService>::Release(); 209 base::RefCountedThreadSafe<DeferredGpuCommandService>::Release();
210 } 210 }
211 211
212 protected: 212 protected:
213 virtual ~DeferredGpuCommandService(); 213 virtual ~DeferredGpuCommandService();
214 friend class base::RefCountedThreadSafe<DeferredGpuCommandService>; 214 friend class base::RefCountedThreadSafe<DeferredGpuCommandService>;
215 215
216 private: 216 private:
217 base::Lock tasks_lock_; 217 base::Lock tasks_lock_;
218 std::queue<base::Closure> tasks_; 218 std::queue<base::Closure> tasks_;
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 base::StringAppendF(&str, 1098 base::StringAppendF(&str,
1099 "surface width height: [%d %d] ", 1099 "surface width height: [%d %d] ",
1100 draw_info->width, 1100 draw_info->width,
1101 draw_info->height); 1101 draw_info->height);
1102 base::StringAppendF(&str, "is_layer: %d ", draw_info->is_layer); 1102 base::StringAppendF(&str, "is_layer: %d ", draw_info->is_layer);
1103 } 1103 }
1104 return str; 1104 return str;
1105 } 1105 }
1106 1106
1107 } // namespace android_webview 1107 } // namespace android_webview
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/in_process/synchronous_compositor_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698