Add support for Surfaces to Android.
commit78f9b57e4b0e91bbb709c0c9e433f453fda28c1f
authorjbauman <jbauman@chromium.org>
Tue, 18 Nov 2014 06:01:56 +0000 (17 22:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Nov 2014 06:02:16 +0000 (18 06:02 +0000)
tree17a75fb45e0eeb9e807fc90dc2f4273d137ec057
parent2711eaf138dabfb689b74d6c1b074e5578787385
Add support for Surfaces to Android.

A Display is created for every browser compositor OutputSurface, and the contents of the browser compositor are put into a Surface that's drawn into that Display. The renderer contents still use DelegatedRendererLayer, and aren't put into their own Surface.

This is still disabled by default; the --use-surfaces flag is required to enable it.

Review URL: https://codereview.chromium.org/723243002

Cr-Commit-Position: refs/heads/master@{#304568}
content/browser/BUILD.gn
content/browser/gpu/compositor_util.cc
content/browser/renderer_host/compositor_impl_android.cc
content/browser/renderer_host/compositor_impl_android.h
content/content_browser.gypi