commit | 931bda1c472ba8c8e965bdba6757ff94154df903 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Aug 28 18:11:46 2013 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Aug 28 18:11:46 2013 -0700 |
tree | 4f4077ceeca58596ed1d81d62570cc2fa3de8911 | |
parent | 672ddf2b58b6c6ddef4fc4f296e5fa53910d8e3b [diff] [blame] |
reset the gl viewport at each frame for each display Bug: 10097128, 9506003 Change-Id: Ie0403a631e339a9134216224f3366f46ece58b53
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 9fd3f25..0323cb7 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2726,6 +2726,7 @@ // compositionComplete is needed for older driver hw->compositionComplete(); + hw->setViewportAndProjection(); } @@ -2805,8 +2806,6 @@ native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL); } - hw->setViewportAndProjection(); - return result; }