exo: implement invert_y for linux_dmabuf wayland protocol

[email protected]

Bug: 887036
Test: wayland client that uses INVERT_Y
Change-Id: I9ac108165ac68911ab61b3340410e538f8a843db
Reviewed-on: https://chromium-review.googlesource.com/c/1298739
Commit-Queue: Zach Reizner <[email protected]>
Reviewed-by: Daniele Castagna <[email protected]>
Cr-Commit-Position: refs/heads/master@{#604066}
diff --git a/components/exo/surface.h b/components/exo/surface.h
index 9c97f1b7e..ec073ba 100644
--- a/components/exo/surface.h
+++ b/components/exo/surface.h
@@ -283,7 +283,7 @@
   void UpdateResource(LayerTreeFrameSinkHolder* frame_sink_holder);
 
   // Updates buffer_transform_ to match the current buffer parameters.
-  void UpdateBufferTransform();
+  void UpdateBufferTransform(bool y_invert);
 
   // Puts the current surface into a draw quad, and appends the draw quads into
   // the |frame|.