瀏覽代碼

st/dri mv __driDriverExtensions to drisw.c and dri2.c

tags/mesa-7.9-rc1
George Sapountzis 15 年之前
父節點
當前提交
1fbfc22d85

+ 0
- 15
src/gallium/state_trackers/dri/common/dri_screen.c 查看文件

@@ -338,14 +338,6 @@ const struct __DriverAPIRec driDriverAPI = {
.CopySubBuffer = dri1_copy_sub_buffer,
};

/* This is the table of extensions that the loader will dlsym() for. */
PUBLIC const __DRIextension *__driDriverExtensions[] = {
&driCoreExtension.base,
&driLegacyExtension.base,
&driDRI2Extension.base,
NULL
};

#else

const struct __DriverAPIRec driDriverAPI = {
@@ -361,13 +353,6 @@ const struct __DriverAPIRec driDriverAPI = {
.SwapBuffers = drisw_swap_buffers,
};

/* This is the table of extensions that the loader will dlsym() for. */
PUBLIC const __DRIextension *__driDriverExtensions[] = {
&driCoreExtension.base,
&driSWRastExtension.base,
NULL
};

#endif

/* vim: set sw=3 ts=8 sts=3 expandtab: */

+ 8
- 0
src/gallium/state_trackers/dri/drm/dri2.c 查看文件

@@ -410,4 +410,12 @@ fail:
return NULL;
}

/* This is the table of extensions that the loader will dlsym() for. */
PUBLIC const __DRIextension *__driDriverExtensions[] = {
&driCoreExtension.base,
&driLegacyExtension.base,
&driDRI2Extension.base,
NULL
};

/* vim: set sw=3 ts=8 sts=3 expandtab: */

+ 7
- 0
src/gallium/state_trackers/dri/sw/drisw.c 查看文件

@@ -315,4 +315,11 @@ fail:
return NULL;
}

/* This is the table of extensions that the loader will dlsym() for. */
PUBLIC const __DRIextension *__driDriverExtensions[] = {
&driCoreExtension.base,
&driSWRastExtension.base,
NULL
};

/* vim: set sw=3 ts=8 sts=3 expandtab: */

Loading…
取消
儲存