commit | ce8833ddce0737e50cd3894eec2abb7cc5ea0b12 | [log] [tgz] |
---|---|---|
author | Justin Novosad <junov@chromium.org> | Wed Nov 29 17:31:21 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 29 17:31:21 2017 |
tree | 975d198b2ab600c0b303aaeaafb3f0512629a862 | |
parent | 2818a3ef35f1c4bde5956ddaae0cb74e6c2a97e4 [diff] |
Simplify OffscreenCanvasResourceProvider There was a flickering bug with OffscreenCanvasResourceProvider:: SetTransferableResourceToSharedGPUContext(), probably due to state tracking of the GL texture object. Instead of fixing it, we can just use the nice pre-canned RAII model provided by AcceleratedStaticBitmapImage. This makes the code much simpler and it fixes the glitch. BUG=788439 TBR=xlai@chromium.org Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ifb19e96802c4ed1e41c8a01101066a0d7e3ab22a Reviewed-on: https://chromium-review.googlesource.com/794108 Reviewed-by: Fernando Serboncini <fserb@chromium.org> Reviewed-by: Olivia Lai <xlai@chromium.org> Reviewed-by: Justin Novosad <junov@chromium.org> Commit-Queue: Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/heads/master@{#520155}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .