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

Unified Diff: android_webview/browser/hardware_renderer.h

Issue 2347563003: Added FrameFuture class (Closed)
Patch Set: Code review 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
Index: android_webview/browser/hardware_renderer.h
diff --git a/android_webview/browser/hardware_renderer.h b/android_webview/browser/hardware_renderer.h
index f1f5e6ce8f1efb7710c6ab7f14feaed35492b67e..4ff23ca8a4c45e11d85a1288e2b4b764ad5269c7 100644
--- a/android_webview/browser/hardware_renderer.h
+++ b/android_webview/browser/hardware_renderer.h
@@ -16,6 +16,7 @@
struct AwDrawGLInfo;
namespace cc {
+class CompositorFrame;
class Display;
class SurfaceFactory;
class SurfaceIdAllocator;
@@ -67,6 +68,8 @@ class HardwareRenderer : public cc::SurfaceFactoryClient {
// last frame. The |frame| member may be null if it's already submitted to
// SurfaceFactory.
std::unique_ptr<ChildFrame> child_frame_;
+ uint32_t compositor_frame_sink_id_;
+ std::unique_ptr<cc::CompositorFrame> frame_;
const scoped_refptr<SurfacesInstance> surfaces_;
const std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;

Powered by Google App Engine
This is Rietveld 408576698