• Sunny Sachanandani's avatar
    Enable automatic flush for canvas context · f3fd3216
    Sunny Sachanandani authored
    Automatically growing transfer buffer removed the flush when it would
    run of space.  This decreased canvas throughput by reducing pipelining.
    
    Automatic flushes are another way of improving throughput by submitting
    work to the GPU process often.  This CL enables automatic flushes for
    the shared main thread context used for canvas which might have been
    disabled unintentionally.
    
    Bug: 880901
    Change-Id: Ib48d9c56c18c9e2d449d7c42f74b16609ad3ea55
    Reviewed-on: https://chromium-review.googlesource.com/1213665Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#589688}
    f3fd3216
render_thread_impl.cc 92.8 KB