For some use cases, using raw draw will get negative performance
impact. This CL allows some tiles fallback to non raw draw, if we know
raw draw will regress performance. For example, the tiles need to be
blend with content behind it. In this case, raw draw has to raster the
tile to an offscreen texture first, and then draw the offscreen texture
to the framebuffer.
Bug: 1288524,b/214325586
Change-Id: I62854ad74d85f779c283e0fd4ed8e1798d13c84a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3399207
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#961174}