summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2022-08-18 19:07:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2022-08-18 19:07:48 (GMT)
commit51e4bf015e0bd0320f2a44bd1f97f1cd7e95a41d (patch)
tree920f600c0f44075e3144c48df7bfd530cd464f6e
parentf22f73bcbdb6510169c8b7c7c3fea842750c6fe5 (diff)
Reduce the rendering concurrency between the GTK main loop and Python computation threads.
-rw-r--r--plugins/python/cglimpse/panel.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/python/cglimpse/panel.py b/plugins/python/cglimpse/panel.py
index a195b0d..e2dc035 100644
--- a/plugins/python/cglimpse/panel.py
+++ b/plugins/python/cglimpse/panel.py
@@ -118,7 +118,8 @@ class CGlimpsePanel(PanelItem, UpdatablePanel):
assert(uid == 0)
- self.switch_to_updating_mask()
+ # Reduce the rendering concurrency between the GTK main loop and this thread
+ #self.switch_to_updating_mask()
def _process(self, uid, status, id, data):
@@ -137,7 +138,8 @@ class CGlimpsePanel(PanelItem, UpdatablePanel):
assert(uid == 0)
- self.switch_to_updated_content()
+ # Reduce the rendering concurrency between the GTK main loop and this thread
+ # self.switch_to_updated_content()
def _clean_data(self, uid, data):