diff options
author | boliu <boliu@chromium.org> | 2015-10-22 21:36:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-23 04:37:01 +0000 |
commit | 8ca8390151cdc16ae25b82b85148bfd97def043e (patch) | |
tree | 79bd9cc4d3eae382dd5fe3e1d22662330ff1ecc2 /cc/output | |
parent | 7ef5508bd7b471d7b4a67886e23feb89a3a13713 (diff) | |
download | chromium_src-8ca8390151cdc16ae25b82b85148bfd97def043e.zip chromium_src-8ca8390151cdc16ae25b82b85148bfd97def043e.tar.gz chromium_src-8ca8390151cdc16ae25b82b85148bfd97def043e.tar.bz2 |
android webview: allow cc to fail hardware draw
Replace draw_and_swap_full_viewport_every_frame output surface
capability with resourceless_software_draw_, since forcing a draw is
only needed for software draws now, which is decided at draw time.
This also requires plumbing resourceless_software_draw_ bool through
to scheduler to force draws, instead of
using_synchronous_renderer_compositor setting.
Note that resourceless_software_draw_ is no longer a static value.
It can change frame by frame.
BUG=419795
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1394263004
Cr-Commit-Position: refs/heads/master@{#355730}
Diffstat (limited to 'cc/output')
-rw-r--r-- | cc/output/output_surface.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h index bb6a59e..26c2ffe 100644 --- a/cc/output/output_surface.h +++ b/cc/output/output_surface.h @@ -68,7 +68,6 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider { Capabilities() : delegated_rendering(false), max_frames_pending(0), - draw_and_swap_full_viewport_every_frame(false), adjust_deadline_for_parent(true), uses_default_gl_framebuffer(true), flipped_output_surface(false), @@ -76,7 +75,6 @@ class CC_EXPORT OutputSurface : public base::trace_event::MemoryDumpProvider { delegated_sync_points_required(true) {} bool delegated_rendering; int max_frames_pending; - bool draw_and_swap_full_viewport_every_frame; // This doesn't handle the <webview> case, but once BeginFrame is // supported natively, we shouldn't need adjust_deadline_for_parent. bool adjust_deadline_for_parent; |