g3dvl: Use sobel filter for chroma interpolation
[mesa/nouveau-pmpeg.git] / src / glx / apple / glx_empty.c
blob1e9593c6d4534cbdd28f4f72845819a9a987b37f
1 #include "glxclient.h"
2 #include "glxextensions.h"
3 #include "glxconfig.h"
5 /*
6 ** GLX_SGI_swap_control
7 */
8 int
9 glXSwapIntervalSGI(int interval)
11 (void) interval;
12 return 0;
17 ** GLX_MESA_swap_control
19 int
20 glXSwapIntervalMESA(unsigned int interval)
22 (void) interval;
23 return GLX_BAD_CONTEXT;
27 int
28 glXGetSwapIntervalMESA(void)
30 return 0;
35 ** GLX_SGI_video_sync
37 int
38 glXGetVideoSyncSGI(unsigned int *count)
40 (void) count;
41 return GLX_BAD_CONTEXT;
44 int
45 glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count)
47 (void) count;
48 return GLX_BAD_CONTEXT;
53 ** GLX_SGIX_swap_group
55 void
56 glXJoinSwapGroupSGIX(Display * dpy, GLXDrawable drawable, GLXDrawable member)
58 (void) dpy;
59 (void) drawable;
60 (void) member;
65 ** GLX_SGIX_swap_barrier
67 void
68 glXBindSwapBarrierSGIX(Display * dpy, GLXDrawable drawable, int barrier)
70 (void) dpy;
71 (void) drawable;
72 (void) barrier;
75 Bool
76 glXQueryMaxSwapBarriersSGIX(Display * dpy, int screen, int *max)
78 (void) dpy;
79 (void) screen;
80 (void) max;
81 return False;
86 ** GLX_OML_sync_control
88 Bool
89 glXGetSyncValuesOML(Display * dpy, GLXDrawable drawable,
90 int64_t * ust, int64_t * msc, int64_t * sbc)
92 (void) dpy;
93 (void) drawable;
94 (void) ust;
95 (void) msc;
96 (void) sbc;
97 return False;
100 int64_t
101 glXSwapBuffersMscOML(Display * dpy, GLXDrawable drawable,
102 int64_t target_msc, int64_t divisor, int64_t remainder)
104 (void) dpy;
105 (void) drawable;
106 (void) target_msc;
107 (void) divisor;
108 (void) remainder;
109 return 0;
113 Bool
114 glXWaitForMscOML(Display * dpy, GLXDrawable drawable,
115 int64_t target_msc, int64_t divisor,
116 int64_t remainder, int64_t * ust,
117 int64_t * msc, int64_t * sbc)
119 (void) dpy;
120 (void) drawable;
121 (void) target_msc;
122 (void) divisor;
123 (void) remainder;
124 (void) ust;
125 (void) msc;
126 (void) sbc;
127 return False;
131 Bool
132 glXWaitForSbcOML(Display * dpy, GLXDrawable drawable,
133 int64_t target_sbc, int64_t * ust,
134 int64_t * msc, int64_t * sbc)
136 (void) dpy;
137 (void) drawable;
138 (void) target_sbc;
139 (void) ust;
140 (void) msc;
141 (void) sbc;
142 return False;
146 Bool
147 glXReleaseBuffersMESA(Display * dpy, GLXDrawable d)
149 (void) dpy;
150 (void) d;
151 return False;
155 _X_EXPORT GLXPixmap
156 glXCreateGLXPixmapMESA(Display * dpy, XVisualInfo * visual,
157 Pixmap pixmap, Colormap cmap)
159 (void) dpy;
160 (void) visual;
161 (void) pixmap;
162 (void) cmap;
163 return 0;
168 * GLX_MESA_copy_sub_buffer
170 void
171 glXCopySubBufferMESA(Display * dpy, GLXDrawable drawable,
172 int x, int y, int width, int height)
174 (void) dpy;
175 (void) drawable;
176 (void) x;
177 (void) y;
178 (void) width;
179 (void) height;
183 _X_EXPORT int
184 glXQueryGLXPbufferSGIX(Display * dpy, GLXDrawable drawable,
185 int attribute, unsigned int *value)
187 (void) dpy;
188 (void) drawable;
189 (void) attribute;
190 (void) value;
191 return 0;
194 _X_EXPORT GLXDrawable
195 glXCreateGLXPbufferSGIX(Display * dpy, GLXFBConfig config,
196 unsigned int width, unsigned int height,
197 int *attrib_list)
199 (void) dpy;
200 (void) config;
201 (void) width;
202 (void) height;
203 (void) attrib_list;
204 return None;
207 #if 0
208 /* GLX_SGIX_fbconfig */
209 _X_EXPORT int
210 glXGetFBConfigAttribSGIX(Display * dpy, void *config, int a, int *b)
212 (void) dpy;
213 (void) config;
214 (void) a;
215 (void) b;
216 return 0;
219 _X_EXPORT void *
220 glXChooseFBConfigSGIX(Display * dpy, int a, int *b, int *c)
222 (void) dpy;
223 (void) a;
224 (void) b;
225 (void) c;
226 return NULL;
229 _X_EXPORT GLXPixmap
230 glXCreateGLXPixmapWithConfigSGIX(Display * dpy, void *config, Pixmap p)
232 (void) dpy;
233 (void) config;
234 (void) p;
235 return None;
238 _X_EXPORT GLXContext
239 glXCreateContextWithConfigSGIX(Display * dpy, void *config, int a,
240 GLXContext b, Bool c)
242 (void) dpy;
243 (void) config;
244 (void) a;
245 (void) b;
246 (void) c;
247 return NULL;
250 _X_EXPORT XVisualInfo *
251 glXGetVisualFromFBConfigSGIX(Display * dpy, void *config)
253 (void) dpy;
254 (void) config;
255 return NULL;
258 _X_EXPORT void *
259 glXGetFBConfigFromVisualSGIX(Display * dpy, XVisualInfo * visinfo)
261 (void) dpy;
262 (void) visinfo;
263 return NULL;
265 #endif
268 _X_EXPORT
269 GLX_ALIAS_VOID(glXDestroyGLXPbufferSGIX,
270 (Display * dpy, GLXDrawable pbuf),
271 (dpy, pbuf), glXDestroyPbuffer)
273 _X_EXPORT GLX_ALIAS_VOID(glXSelectEventSGIX,
274 (Display * dpy, GLXDrawable drawable,
275 unsigned long mask), (dpy, drawable, mask),
276 glXSelectEvent)
278 _X_EXPORT GLX_ALIAS_VOID(glXGetSelectedEventSGIX,
279 (Display * dpy, GLXDrawable drawable,
280 unsigned long *mask), (dpy, drawable, mask),
281 glXGetSelectedEvent)