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

Unified Diff: content/browser/android/synchronous_compositor_host.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
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/synchronous_compositor_host.h
diff --git a/content/browser/android/synchronous_compositor_host.h b/content/browser/android/synchronous_compositor_host.h
index 9cd39a5f654645b828f72c1dfd2687f5a04f8e6d..44b0bc2d65fec7c7172c35e1a89e519620af7c0e 100644
--- a/content/browser/android/synchronous_compositor_host.h
+++ b/content/browser/android/synchronous_compositor_host.h
@@ -63,7 +63,7 @@ class SynchronousCompositorHost : public SynchronousCompositor {
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) override;
bool DemandDrawSw(SkCanvas* canvas) override;
- void ReturnResources(uint32_t output_surface_id,
+ void ReturnResources(uint32_t compositor_frame_sink_id,
const cc::ReturnedResourceArray& resources) override;
void SetMemoryPolicy(size_t bytes_limit) override;
void DidChangeRootLayerScrollOffset(
@@ -91,12 +91,12 @@ class SynchronousCompositorHost : public SynchronousCompositor {
SynchronousCompositorClient* client,
bool use_in_proc_software_draw);
void UpdateFrameMetaData(cc::CompositorFrameMetadata frame_metadata);
- void OutputSurfaceCreated();
+ void CompositorFrameSinkCreated();
bool DemandDrawSwInProc(SkCanvas* canvas);
void SetSoftwareDrawSharedMemoryIfNeeded(size_t stride, size_t buffer_size);
void SendZeroMemory();
SynchronousCompositor::Frame ProcessHardwareFrame(
- uint32_t output_surface_id,
+ uint32_t compositor_frame_sink_id,
cc::CompositorFrame compositor_frame);
bool DemandDrawHwReceiveFrame(const IPC::Message& message);
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698