aboutsummaryrefslogtreecommitdiff
path: root/doc/nx-X11_vs_XOrg69_patches/Xrender.h.NX.patch
blob: 8bda1379555572b1d429996cc7b911433cb5b9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- ./nx-X11/lib/Xrender/Xrender.h.X.original	2015-02-13 14:03:44.652443320 +0100
+++ ./nx-X11/lib/Xrender/Xrender.h	2015-02-10 19:13:12.596731149 +0100
@@ -25,6 +25,8 @@
 #ifndef _XRENDER_H_
 #define _XRENDER_H_
 
+#define NX_CLEANUP
+
 #include <X11/extensions/render.h>
 
 #include <X11/Xlib.h>
@@ -32,6 +34,10 @@
 #include <X11/Xosdefs.h>
 #include <X11/Xutil.h>
 
+#ifdef NX_CLEANUP
+#include "renderproto.h"
+#endif
+
 typedef struct {
     short   red;
     short   redMask;
@@ -296,6 +302,16 @@
 void
 XRenderFreeGlyphSet (Display *dpy, GlyphSet glyphset);
 
+#ifdef NX_CLEANUP
+
+void XRenderCleanGlyphs (xGlyphInfo  *gi,
+                         int         nglyphs,
+                         CARD8       *images,
+                         int         depth,
+                         Display     *dpy);
+
+#endif /* #ifdef NX_CLEANUP */
+
 void
 XRenderAddGlyphs (Display		*dpy,
 		  GlyphSet		glyphset,