Skip to content

FIX: properly mix blitting + redraw in Qt4Agg/Qt5Agg #8948

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

Closed
wants to merge 1 commit into from

Conversation

tacaswell
Copy link
Member

If a draw is requested on the next paint event update the whole
canvas, not just the blit boxes. Any un-show blitted updates from
before the full redraw are lost (due to the full update) and any
blitted updates from after the full render (but before the paint
event) will be included (because the renderer updates in-place).

Closes #7366

It would be interesting to benchmark of blitting only sub-sections of the canvas actually helps performance.

If a draw is requested on the next paint event update the whole
canvas, not just the blit boxes.  Any un-shown blitted updates from
before the full redraw are lost (due to the full update) and any
blitted updates from after the full render (but before the paint
event) will be included (because the renderer updates in-place).

Closes matplotlib#7366
@tacaswell tacaswell force-pushed the fix_qt_draw_with_blit branch from ae281e2 to 243d50d Compare July 28, 2017 03:28
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Jul 28, 2017
@anntzer
Copy link
Contributor

anntzer commented Jul 28, 2017

See #8951 for an alternate approach and comments regarding performance.

@tacaswell
Copy link
Member Author

Closing in favor of #8951

@tacaswell tacaswell closed this Jul 29, 2017
@tacaswell tacaswell deleted the fix_qt_draw_with_blit branch July 29, 2017 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants