summaryrefslogtreecommitdiffstats
path: root/x11vnc/xdamage.h
diff options
context:
space:
mode:
authorrunge <runge>2006-01-09 01:54:38 +0000
committerrunge <runge>2006-01-09 01:54:38 +0000
commit71f2ec79180185a6c3db0c87f9d53c491dc31e76 (patch)
tree67c341571cbeb1bd9a0744cc8eb03b30ef04f381 /x11vnc/xdamage.h
parentdef301266373e462f4a5e90eab443087ccfc7ccc (diff)
downloadlibtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.tar.gz
libtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.zip
x11vnc: the big split.
Diffstat (limited to 'x11vnc/xdamage.h')
-rw-r--r--x11vnc/xdamage.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11vnc/xdamage.h b/x11vnc/xdamage.h
new file mode 100644
index 0000000..ce895a8
--- /dev/null
+++ b/x11vnc/xdamage.h
@@ -0,0 +1,29 @@
+#ifndef _X11VNC_XDAMAGE_H
+#define _X11VNC_XDAMAGE_H
+
+/* -- xdamage.h -- */
+
+#if LIBVNCSERVER_HAVE_LIBXDAMAGE
+extern Damage xdamage;
+#endif
+extern int use_xdamage;
+extern int xdamage_present;
+extern int xdamage_max_area;
+extern double xdamage_memory;
+extern int xdamage_tile_count, xdamage_direct_count;
+extern double xdamage_scheduled_mark;
+extern sraRegionPtr xdamage_scheduled_mark_region;
+extern sraRegionPtr *xdamage_regions;
+extern int xdamage_ticker;
+extern int XD_skip, XD_tot, XD_des;
+
+extern void add_region_xdamage(sraRegionPtr new_region);
+extern void clear_xdamage_mark_region(sraRegionPtr markregion, int flush);
+extern int collect_xdamage(int scancnt, int call);
+extern int xdamage_hint_skip(int y);
+extern void initialize_xdamage(void);
+extern void create_xdamage_if_needed(void);
+extern void destroy_xdamage_if_needed(void);
+extern void check_xdamage_state(void);
+
+#endif /* _X11VNC_XDAMAGE_H */