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

Unified Diff: content/public/test/test_synchronous_compositor_android.cc

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 | « content/public/test/test_synchronous_compositor_android.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_synchronous_compositor_android.cc
diff --git a/content/public/test/test_synchronous_compositor_android.cc b/content/public/test/test_synchronous_compositor_android.cc
index bcfa43a7d8d2855b19bf30632e26e99568ec9c54..623df81ec251d3ae35ad467e43737dd778251a3d 100644
--- a/content/public/test/test_synchronous_compositor_android.cc
+++ b/content/public/test/test_synchronous_compositor_android.cc
@@ -39,10 +39,10 @@ void TestSynchronousCompositor::DemandDrawHwAsync(
const gfx::Transform& transform_for_tile_priority) {}
void TestSynchronousCompositor::ReturnResources(
- uint32_t output_surface_id,
+ uint32_t compositor_frame_sink_id,
const cc::ReturnedResourceArray& resources) {
ReturnedResources returned_resources;
- returned_resources.output_surface_id = output_surface_id;
+ returned_resources.compositor_frame_sink_id = compositor_frame_sink_id;
returned_resources.resources = resources;
frame_ack_array_.push_back(returned_resources);
}
@@ -58,14 +58,14 @@ bool TestSynchronousCompositor::DemandDrawSw(SkCanvas* canvas) {
}
void TestSynchronousCompositor::SetHardwareFrame(
- uint32_t output_surface_id,
+ uint32_t compositor_frame_sink_id,
std::unique_ptr<cc::CompositorFrame> frame) {
- hardware_frame_.output_surface_id = output_surface_id;
+ hardware_frame_.compositor_frame_sink_id = compositor_frame_sink_id;
hardware_frame_.frame = std::move(frame);
}
TestSynchronousCompositor::ReturnedResources::ReturnedResources()
- : output_surface_id(0u) {}
+ : compositor_frame_sink_id(0u) {}
TestSynchronousCompositor::ReturnedResources::ReturnedResources(
const ReturnedResources& other) = default;
« no previous file with comments | « content/public/test/test_synchronous_compositor_android.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698