Fix resource allocation bugs in CompositorFrame fuzzer.
Bitmaps allocated for TileDrawQuads cannot be located by the SoftwareRenderer when the time came to DrawAndSwap. This is caused by two issues: 1. The message queue is not flushed before drawing, leading to an attempt at drawing bitmaps before they are allocated. 2. The bitmaps are allocated by a different SharedBitmapManager than is accessed by the renderer. This CL fixes both of these issues. The contents of TileDrawQuad resources are now actually drawn to the output surface. R=kylechar@chromium.org, riajiang@chromium.org Bug: 923088 Change-Id: Ia835dcc139f1e9b8e7803203d5c8296ae695a3a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1542153Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Auto-Submit: Céline O'Neil <celineo@google.com> Cr-Commit-Position: refs/heads/master@{#645340}
Showing
Please register or sign in to comment