cc: Support TileQuad as OverlayCandidate

Desktop / Chromium - sohan [huawei.com] - 14 July 2017 18:28 EDT

This adds TileDrawQuad as possible overlay candidate by setting up the candidate overlay with right properties from the draw quad. Also adds debug color borders for them.

BUG=735933

Change-Id: I5646c66e304aafb470e76eaf31a990b7e3ddc155 Reviewed-on: https://chromium-review.googlesource.com/571784

3f00ffc cc: Support TileQuad as OverlayCandidate.
cc/base/switches.cc | 10 +++--
cc/base/switches.h | 2 +-
cc/output/gl_renderer.cc | 56 ++++++++++++++++---------
cc/output/gl_renderer.h | 6 ++-
cc/output/overlay_candidate.cc | 83 +++++++++++++++++++++++++------------
cc/output/overlay_candidate.h | 9 ++++
cc/output/renderer_settings.h | 2 +-
chrome/browser/about_flags.cc | 9 ++--
chrome/browser/flag_descriptions.cc | 8 ++--
chrome/browser/flag_descriptions.h | 4 +-
tools/metrics/histograms/enums.xml | 2 +-
ui/compositor/compositor_util.cc | 5 ++-
12 files changed, 129 insertions(+), 67 deletions(-)

Upstream: git.chromium.org


  • Share