diff options
author | David Robillard <d@drobilla.net> | 2020-02-18 10:00:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-18 23:19:44 +0100 |
commit | 2bae8905a97aa8a29826c78311c826d61f075e0e (patch) | |
tree | 8cfdf8cf0c50a31a784b061b54e9540740284f0e /Tools/__init__.py | |
parent | 73b8c91e71676a66ef27b981da147fdf5344fded (diff) |
Remove immediate dispatch of exposed rects
This was a hack to support only exposing the rects that were explicitly exposed
with puglPostRedisplayRect(), but it caused flaky drawing issues because it
circumvented the deferral of exposure until the end of the loop. Instead,
simply expand the pending expose to be dispatched later as usual.
This means that only the union will be exposed in the end, so more area might
be drawn than necessary, but this is probably good enough. If not, we will
have to maintain a set of rects and be more clever about combining them.
Diffstat (limited to 'Tools/__init__.py')
0 files changed, 0 insertions, 0 deletions