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

Unified Diff: content/renderer/gpu/render_widget_compositor_delegate.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/renderer/gpu/render_widget_compositor_delegate.h
diff --git a/content/renderer/gpu/render_widget_compositor_delegate.h b/content/renderer/gpu/render_widget_compositor_delegate.h
index ad8824e20b52e928637585365b714e95215d116e..93fc8fb33d1b5c00447c2fac0d93434481e86d34 100644
--- a/content/renderer/gpu/render_widget_compositor_delegate.h
+++ b/content/renderer/gpu/render_widget_compositor_delegate.h
@@ -17,7 +17,7 @@ class WebWidget;
namespace cc {
class BeginFrameSource;
class CopyOutputRequest;
-class OutputSurface;
+class CompositorFrameSink;
class SwapPromise;
}
@@ -43,8 +43,8 @@ class CONTENT_EXPORT RenderWidgetCompositorDelegate {
// Notifies that the compositor has issed a BeginMainFrame.
virtual void BeginMainFrame(double frame_time_sec) = 0;
- // Requests an OutputSurface to render into.
- virtual std::unique_ptr<cc::OutputSurface> CreateOutputSurface(
+ // Requests a CompositorFrameSink to submit to.
+ virtual std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(
bool fallback) = 0;
// Notifies that the draw commands for a committed frame have been issued.
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/gpu/render_widget_compositor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698