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

Unified Diff: android_webview/browser/hardware_renderer.h

Issue 2383933002: Added message filter receiving frames from compositor
Patch Set: Created 4 years, 3 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
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/hardware_renderer.h
diff --git a/android_webview/browser/hardware_renderer.h b/android_webview/browser/hardware_renderer.h
index 225c0b197a8a65c096fce9eeaa204bb5eb79dff9..a4311cdee6bcf40f2549f37955fb2842e211c921 100644
--- a/android_webview/browser/hardware_renderer.h
+++ b/android_webview/browser/hardware_renderer.h
@@ -9,9 +9,11 @@
#include "android_webview/browser/compositor_id.h"
#include "base/macros.h"
+#include "base/memory/ptr_util.h"
#include "base/memory/ref_counted.h"
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_id.h"
+#include "content/public/browser/android/synchronous_compositor.h"
struct AwDrawGLInfo;
@@ -65,6 +67,8 @@ class HardwareRenderer : public cc::SurfaceFactoryClient {
// SurfaceFactory.
std::unique_ptr<ChildFrame> child_frame_;
+ scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future_;
+
const scoped_refptr<SurfacesInstance> surfaces_;
const std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
std::unique_ptr<cc::SurfaceFactory> surface_factory_;
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698