Update remaining video context drivers

This commit is contained in:
twinaphex 2016-08-31 15:02:07 +02:00
parent d678273b0b
commit aa15fb3f91
19 changed files with 58 additions and 26 deletions

View File

@ -621,9 +621,9 @@ const gfx_ctx_driver_t gfx_ctx_android = {
android_gfx_ctx_set_flags, android_gfx_ctx_set_flags,
android_gfx_ctx_bind_hw_render, android_gfx_ctx_bind_hw_render,
#ifdef HAVE_VULKAN #ifdef HAVE_VULKAN
android_gfx_ctx_get_context_data android_gfx_ctx_get_context_data,
#else #else
NULL NULL,
#endif #endif
,NULL NULL
}; };

View File

@ -434,5 +434,7 @@ const gfx_ctx_driver_t gfx_ctx_bbqnx = {
"blackberry_qnx", "blackberry_qnx",
gfx_ctx_qnx_get_flags, gfx_ctx_qnx_get_flags,
gfx_ctx_qnx_set_flags, gfx_ctx_qnx_set_flags,
gfx_ctx_qnx_bind_hw_render gfx_ctx_qnx_bind_hw_render,
NULL,
NULL
}; };

View File

@ -379,5 +379,7 @@ const gfx_ctx_driver_t gfx_ctx_cgl = {
"cgl", "cgl",
gfx_ctx_cgl_get_flags, gfx_ctx_cgl_get_flags,
gfx_ctx_cgl_set_flags, gfx_ctx_cgl_set_flags,
gfx_ctx_cgl_bind_hw_render gfx_ctx_cgl_bind_hw_render,
NULL,
NULL
}; };

View File

@ -641,4 +641,6 @@ const gfx_ctx_driver_t gfx_ctx_cocoagl = {
cocoagl_gfx_ctx_get_flags, cocoagl_gfx_ctx_get_flags,
cocoagl_gfx_ctx_set_flags, cocoagl_gfx_ctx_set_flags,
cocoagl_gfx_ctx_bind_hw_render, cocoagl_gfx_ctx_bind_hw_render,
NULL,
NULL
}; };

View File

@ -343,5 +343,7 @@ const gfx_ctx_driver_t gfx_ctx_d3d = {
gfx_ctx_d3d_show_mouse, gfx_ctx_d3d_show_mouse,
"d3d", "d3d",
gfx_ctx_d3d_get_flags, gfx_ctx_d3d_get_flags,
gfx_ctx_d3d_set_flags gfx_ctx_d3d_set_flags,
NULL,
NULL
}; };

View File

@ -898,5 +898,7 @@ const gfx_ctx_driver_t gfx_ctx_drm = {
"kms", "kms",
gfx_ctx_drm_get_flags, gfx_ctx_drm_get_flags,
gfx_ctx_drm_set_flags, gfx_ctx_drm_set_flags,
gfx_ctx_drm_bind_hw_render gfx_ctx_drm_bind_hw_render,
NULL,
NULL
}; };

View File

@ -342,5 +342,7 @@ const gfx_ctx_driver_t gfx_ctx_emscripten = {
"emscripten", "emscripten",
gfx_ctx_emscripten_get_flags, gfx_ctx_emscripten_get_flags,
gfx_ctx_emscripten_set_flags, gfx_ctx_emscripten_set_flags,
gfx_ctx_emscripten_bind_hw_render gfx_ctx_emscripten_bind_hw_render,
NULL,
NULL
}; };

View File

@ -173,6 +173,8 @@ const gfx_ctx_driver_t gfx_ctx_null = {
"null", "null",
gfx_ctx_null_get_flags, gfx_ctx_null_get_flags,
gfx_ctx_null_set_flags, gfx_ctx_null_set_flags,
gfx_ctx_null_bind_hw_render gfx_ctx_null_bind_hw_render,
NULL,
NULL
}; };

View File

@ -258,6 +258,7 @@ const gfx_ctx_driver_t gfx_ctx_khr_display = {
gfx_ctx_khr_display_set_flags, gfx_ctx_khr_display_set_flags,
NULL, NULL,
gfx_ctx_khr_display_get_context_data, gfx_ctx_khr_display_get_context_data,
NULL,
NULL NULL
}; };

View File

@ -331,6 +331,8 @@ const gfx_ctx_driver_t gfx_ctx_mali_fbdev = {
"mali-fbdev", "mali-fbdev",
gfx_ctx_mali_fbdev_get_flags, gfx_ctx_mali_fbdev_get_flags,
gfx_ctx_mali_fbdev_set_flags, gfx_ctx_mali_fbdev_set_flags,
gfx_ctx_mali_fbdev_bind_hw_render gfx_ctx_mali_fbdev_bind_hw_render,
NULL,
NULL
}; };

View File

@ -303,5 +303,7 @@ const gfx_ctx_driver_t gfx_ctx_opendingux_fbdev = {
"opendingux-fbdev", "opendingux-fbdev",
gfx_ctx_opendingux_get_flags, gfx_ctx_opendingux_get_flags,
gfx_ctx_opendingux_set_flags, gfx_ctx_opendingux_set_flags,
gfx_ctx_opendingux_bind_hw_render gfx_ctx_opendingux_bind_hw_render,
NULL,
NULL
}; };

View File

@ -429,5 +429,7 @@ const gfx_ctx_driver_t gfx_ctx_osmesa =
"osmesa", "osmesa",
osmesa_ctx_get_flags, osmesa_ctx_get_flags,
osmesa_ctx_set_flags, osmesa_ctx_set_flags,
NULL /* bind_hw_render */ NULL, /* bind_hw_render */
NULL,
NULL
}; };

View File

@ -449,6 +449,8 @@ const gfx_ctx_driver_t gfx_ctx_ps3 = {
NULL, NULL,
"ps3", "ps3",
gfx_ctx_ps3_get_flags, gfx_ctx_ps3_get_flags,
gfx_ctx_ps3_set_flags gfx_ctx_ps3_set_flags,
NULL,
NULL
}; };

View File

@ -442,5 +442,7 @@ const gfx_ctx_driver_t gfx_ctx_sdl_gl =
"sdl_gl", "sdl_gl",
sdl_ctx_get_flags, sdl_ctx_get_flags,
sdl_ctx_set_flags, sdl_ctx_set_flags,
NULL /* bind_hw_render */ NULL, /* bind_hw_render */
NULL,
NULL
}; };

View File

@ -668,5 +668,8 @@ const gfx_ctx_driver_t gfx_ctx_videocore = {
"videocore", "videocore",
gfx_ctx_vc_get_flags, gfx_ctx_vc_get_flags,
gfx_ctx_vc_set_flags, gfx_ctx_vc_set_flags,
gfx_ctx_vc_bind_hw_render gfx_ctx_vc_bind_hw_render,
NULL,
NULL
}; };

View File

@ -310,5 +310,7 @@ const gfx_ctx_driver_t gfx_ctx_vivante_fbdev = {
"vivante-fbdev", "vivante-fbdev",
gfx_ctx_vivante_get_flags, gfx_ctx_vivante_get_flags,
gfx_ctx_vivante_set_flags, gfx_ctx_vivante_set_flags,
gfx_ctx_vivante_bind_hw_render gfx_ctx_vivante_bind_hw_render,
NULL,
NULL
}; };

View File

@ -1173,9 +1173,9 @@ const gfx_ctx_driver_t gfx_ctx_wayland = {
gfx_ctx_wl_set_flags, gfx_ctx_wl_set_flags,
gfx_ctx_wl_bind_hw_render, gfx_ctx_wl_bind_hw_render,
#ifdef HAVE_VULKAN #ifdef HAVE_VULKAN
gfx_ctx_wl_get_context_data gfx_ctx_wl_get_context_data,
#else #else
NULL NULL,
#endif #endif
,NULL NULL
}; };

View File

@ -963,14 +963,14 @@ const gfx_ctx_driver_t gfx_ctx_x = {
gfx_ctx_x_bind_hw_render, gfx_ctx_x_bind_hw_render,
#ifdef HAVE_VULKAN #ifdef HAVE_VULKAN
gfx_ctx_x_get_context_data gfx_ctx_x_get_context_data,
#else
NULL,
#endif
#ifdef HAVE_OPENGL
gfx_ctx_x_make_current
#else #else
NULL NULL
#endif #endif
#ifdef HAVE_OPENGL
,gfx_ctx_x_make_current
#else
,NULL
#endif
}; };

View File

@ -613,5 +613,7 @@ const gfx_ctx_driver_t gfx_ctx_x_egl =
"x-egl", "x-egl",
gfx_ctx_xegl_get_flags, gfx_ctx_xegl_get_flags,
gfx_ctx_xegl_set_flags, gfx_ctx_xegl_set_flags,
gfx_ctx_xegl_bind_hw_render gfx_ctx_xegl_bind_hw_render,
NULL,
NULL
}; };