Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync changes from mozilla-central gfx/wr #3915

Merged
merged 1 commit into from Apr 13, 2020
Merged

Commits on Apr 13, 2020

  1. Bug 1628901 - Fix panic caused by calling BeginDraw with empty dirty …

    …rect. r=sotaro
    
    Previously, it was possible for a tile that had a valid scroll root
    to have an empty valid (and dirty) rect due to the picture cache
    clip rect, in some situations.
    
    This could result in the tile not being tagged as off-screen, which
    means it is added to the queue of tiles to be updated. On most
    platforms this is benign, but the BeginDraw method of DirectComposition
    fails if the dirty rect is empty.
    
    This patch fixes the logic so that tiles that meet these conditions
    are correctly tagged as not visible, and skipped from update queue.
    
    Differential Revision: https://phabricator.services.mozilla.com/D70616
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/73632227ba00df584e8f6fcc1191e6dfa13fc5fd
    gw3583 authored and moz-gfx committed Apr 13, 2020
You can’t perform that action at this time.