Index: sky/shell/gpu/ganesh_surface.h |
diff --git a/sky/shell/gpu/ganesh_surface.h b/sky/shell/gpu/ganesh_surface.h |
index 9a6ef1490fddbbf165f054c35bf5c6860c93d516..bceaad55d511851ef961fc5e8014a791e0376272 100644 |
--- a/sky/shell/gpu/ganesh_surface.h |
+++ b/sky/shell/gpu/ganesh_surface.h |
@@ -15,11 +15,13 @@ namespace sky { |
namespace shell { |
// GaneshSurface holds an SkSurface configured to render with Ganesh. Using the |
-// provided GaneshContext, GaneshSurface wraps an SkSurface around FBO 0 so that |
-// you can use |canvas()| to draw to FBO 0. |
+// provided GaneshContext, GaneshSurface wraps an SkSurface around the window |
+// bound FBO so that you can use |canvas()| to draw to that window bound FBO. |
class GaneshSurface { |
public: |
- GaneshSurface(GaneshContext* context, const gfx::Size& size); |
+ GaneshSurface(intptr_t window_fbo, |
+ GaneshContext* context, |
+ const gfx::Size& size); |
~GaneshSurface(); |
SkCanvas* canvas() const { return surface_->getCanvas(); } |