aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-18 10:00:27 +0100
committerDavid Robillard <d@drobilla.net>2020-02-18 23:19:44 +0100
commit2bae8905a97aa8a29826c78311c826d61f075e0e (patch)
tree8cfdf8cf0c50a31a784b061b54e9540740284f0e /resources
parent73b8c91e71676a66ef27b981da147fdf5344fded (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 'resources')
0 files changed, 0 insertions, 0 deletions