drm_hwcomposer: Save the atomic_test result between tests

Previously, we would only test the first frame when the geometry
changed. However, if SF sent us the same composition with different
FBs, we could end up sending invalid frames to the kernel.

This change saves the result of the atomic_test between geometry
changes so we avoid using hw composition for all invalid frames.

Bug: 25866352
Test: Tested on smaug, observed squashes between geometry changes

Change-Id: I3b5d9e83a870481bf2e6869900eafaf0ca66a0d5
Signed-off-by: Sean Paul <seanpaul@chromium.org>
diff --git a/drmdisplaycompositor.h b/drmdisplaycompositor.h
index 541d807..e4c3b53 100644
--- a/drmdisplaycompositor.h
+++ b/drmdisplaycompositor.h
@@ -165,6 +165,7 @@
 
   bool initialized_;
   bool active_;
+  bool use_hw_overlays_;
 
   ModeState mode_;