SF: Use compositionInfo after HWC changedTypes
Bug: 112259502
Test: cts -m CtsViewTestCases
SurfaceFlinger_test
vrflinger_test
Change-Id: I908f439eedfab9ee8241f8ac594465527f93408a
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index 443f410..604ec65 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -76,6 +76,7 @@
static int32_t sSequence;
public:
+ friend class LayerBE;
LayerBE& getBE() { return mBE; }
LayerBE& getBE() const { return mBE; }
mutable bool contentDirty;
@@ -415,16 +416,6 @@
void draw(const RenderArea& renderArea);
/*
- * drawNow uses the renderEngine to draw the layer. This is different than the
- * draw function as with the FE/BE split, the draw function runs in the FE and
- * sets up state for the BE to do the actual drawing. drawNow is used to tell
- * the layer to skip the state setup and just go ahead and draw the layer. This
- * is used for screen captures which happens separately from the frame
- * compositing path.
- */
- virtual void drawNow(const RenderArea& renderArea, bool useIdentityTransform) = 0;
-
- /*
* doTransaction - process the transaction. This is a good place to figure
* out which attributes of the surface have changed.
*/