SF: Test coverage for OutputLayer::updateGeometryState

Adds test coverage for the new updateGeometryState and its child functions.

Also fixes an incorrect computation in the implementation as detected by
the tests.

Test: atest libsurfaceflinger_unittest libcompositionengine_test
Bug: 121291683
Change-Id: I8fa544fefea78effd3947ffebd0665799de0eaea
diff --git a/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp b/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp
index 13485b4..a14c1e8 100644
--- a/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp
+++ b/services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp
@@ -282,7 +282,8 @@
          * computation so it's enough to just omit it in the composition.
          * See comment in BufferLayer::prepareClientLayer with ref to b/36727915 for why.
          */
-        transform = ui::Transform(invTransform) * displayTransform * bufferTransform;
+        transform =
+                ui::Transform(invTransform) * displayTransform * layerTransform * bufferTransform;
     }
 
     // this gives us only the "orientation" component of the transform