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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan 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: content/browser/frame_host/render_widget_host_view_child_frame.h
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h
index 97bcf8828e70d21b4249a33ff6f6486ebd42f81f..b6b2a0c0d51e0d3fbeed12dae7da4cb05eee1455 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h
@@ -112,7 +112,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
void GestureEventAck(const blink::WebGestureEvent& event,
InputEventAckState ack_result) override;
- void OnSwapCompositorFrame(uint32_t output_surface_id,
+ void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
cc::CompositorFrame frame) override;
// Since the URL of content rendered by this class is not displayed in
// the URL bar, this method does not need an implementation.
@@ -171,7 +171,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
// Declared 'public' instead of 'protected' here to allow derived classes
// to Bind() to it.
- void SurfaceDrawn(uint32_t output_surface_id);
+ void SurfaceDrawn(uint32_t compositor_frame_sink_id);
// Exposed for tests.
bool IsChildFrameForTesting() const override;
@@ -213,7 +213,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
std::unique_ptr<cc::SurfaceFactory> surface_factory_;
cc::SurfaceId surface_id_;
uint32_t next_surface_sequence_;
- uint32_t last_output_surface_id_;
+ uint32_t last_compositor_frame_sink_id_;
gfx::Size current_surface_size_;
float current_surface_scale_factor_;
gfx::Rect last_screen_rect_;

Powered by Google App Engine
This is Rietveld 408576698