diff dwtestoo.cpp @ 2993:392f0b3dd502

Android: Add DW_FEATURE_RENDER_SAFE, initially just for Android. This will eventually be supported on other platforms that support unsafe rendering. On Android this moves EXPOSE events off the main thread and is enabled by default to provide extra safety. Since none of the callbacks happen on the main thread anymore, this means that none of the threading functions follow the potentially unsafe code paths that lead to instability. The trade off is performance, rendering performance, which was already kind of slow is even worse. I'll look for ways to improve this performance without sacrificing stability.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 02 May 2023 11:37:48 +0000
parents dfab2dfa9bc1
children
line wrap: on
line diff
--- a/dwtestoo.cpp	Fri Apr 14 02:53:00 2023 +0000
+++ b/dwtestoo.cpp	Tue May 02 11:37:48 2023 +0000
@@ -1967,7 +1967,8 @@
     "Supports the Tree Widget",
     "Supports arbitrary window placement",
     "Supports alternate container view modes",
-    "Supports the DW_SIGNAL_HTML_MESSAGE callback"
+    "Supports the DW_SIGNAL_HTML_MESSAGE callback",
+    "Supports render safe drawing mode, limited to expose"
 };
 
 // Let's demonstrate the functionality of this library. :)