viz: Fix tracking undrawn surfaces.

Each Surface is currently already explicitly notified by the
SurfaceAggregator when it is drawn, or when its copy-requests start to
be processed. It is not necessary to separately track the undrawn
surfaces from SurfaceAggregator. So use that information to decide
whether a Surface is drawn or not.

BUG=921474

Change-Id: I45aa1d1ccce1d5c5394d3f07bd887cf5426f04fc
Reviewed-on: https://chromium-review.googlesource.com/c/1443545
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#627545}(cherry picked from commit 4fdfe88c693f52a717efa94ca0e721fb2e9ffaf3)
Reviewed-on: https://chromium-review.googlesource.com/c/1451420
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/branch-heads/3683@{#151}
Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
5 files changed