Index: services/ui/ws/frame_generator.h |
diff --git a/services/ui/ws/frame_generator.h b/services/ui/ws/frame_generator.h |
index d60b8b29edc14bbe8f880095b9d4e5c5b1e623f6..706f851e1b0ba581f4a2624323119d5a7b14f01c 100644 |
--- a/services/ui/ws/frame_generator.h |
+++ b/services/ui/ws/frame_generator.h |
@@ -80,9 +80,12 @@ |
// Generates the CompositorFrame. |
cc::CompositorFrame GenerateCompositorFrame(const gfx::Rect& output_rect); |
- // DrawWindow creates SurfaceDrawQuad for the provided ServerWindow and |
- // appends it to the provided cc::RenderPass. |
- void DrawWindow(cc::RenderPass* pass, ServerWindow* window); |
+ // DrawWindowTree recursively visits ServerWindows, creating a SurfaceDrawQuad |
+ // for each that lacks one. |
+ void DrawWindowTree(cc::RenderPass* pass, |
+ ServerWindow* window, |
+ const gfx::Vector2d& parent_to_root_origin_offset, |
+ float opacity); |
// Finds the parent surface id for |window|. |
cc::SurfaceId FindParentSurfaceId(ServerWindow* window); |