gl: add .def file for msvc builds

Also internalize some API from being exported.
This commit is contained in:
Matthew Waters 2016-02-05 10:43:49 +11:00
parent 8f25333976
commit 1b0198631c
5 changed files with 352 additions and 7 deletions

View file

@ -239,8 +239,9 @@ _debug_type_to_string (GLenum type)
}
/* silence the compiler... */
void GSTGLAPI _gst_gl_debug_callback (GLenum source, GLenum type, GLuint id,
GLenum severity, GLsizei length, const gchar * message, gpointer user_data);
G_GNUC_INTERNAL void GSTGLAPI _gst_gl_debug_callback (GLenum source,
GLenum type, GLuint id, GLenum severity, GLsizei length,
const gchar * message, gpointer user_data);
void GSTGLAPI
_gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, GLenum severity,

View file

@ -97,7 +97,7 @@ struct _GstGLFeatureData
gboolean
gst_gl_check_extension (const char *name, const gchar * ext);
gboolean
G_GNUC_INTERNAL gboolean
_gst_gl_feature_check (GstGLContext *context,
const char *driver_prefix,
const GstGLFeatureData *data,
@ -105,7 +105,7 @@ _gst_gl_feature_check (GstGLContext *context,
int gl_minor,
const char *extensions_string);
void
G_GNUC_INTERNAL void
_gst_gl_feature_check_ext_functions (GstGLContext *context,
int gl_major,
int gl_minor,

View file

@ -55,8 +55,8 @@ typedef struct _GstGLSLFuncs
GLsizei * length, char *log);
} GstGLSLFuncs;
gboolean _gst_glsl_funcs_fill (GstGLSLFuncs * vtable, GstGLContext * context);
const gchar * _gst_glsl_shader_string_find_version (const gchar * str);
G_GNUC_INTERNAL gboolean _gst_glsl_funcs_fill (GstGLSLFuncs * vtable, GstGLContext * context);
G_GNUC_INTERNAL const gchar * _gst_glsl_shader_string_find_version (const gchar * str);
G_END_DECLS

View file

@ -36,7 +36,7 @@
GSource * wayland_event_source_new (struct wl_display *display,
struct wl_event_queue *queue);
gint gst_gl_wl_display_roundtrip_queue (struct wl_display *display,
G_GNUC_INTERNAL gint gst_gl_wl_display_roundtrip_queue (struct wl_display *display,
struct wl_event_queue *queue);
#endif /* __WAYLAND_EVENT_SOURCE_H__ */

344
win32/common/libgstgl.def Normal file
View file

@ -0,0 +1,344 @@
EXPORTS
gst_buffer_add_gl_sync_meta
gst_buffer_add_gl_sync_meta_full
gst_buffer_pool_config_get_gl_allocation_params
gst_buffer_pool_config_set_gl_allocation_params
gst_context_get_gl_display
gst_context_set_gl_display
gst_egl_image_allocator_get_type
gst_egl_image_memory_from_dmabuf
gst_egl_image_memory_get_display
gst_egl_image_memory_get_image
gst_egl_image_memory_get_orientation
gst_egl_image_memory_init
gst_egl_image_memory_set_orientation
gst_egl_image_memory_setup_buffer
gst_gl_allocation_params_copy
gst_gl_allocation_params_copy_data
gst_gl_allocation_params_free
gst_gl_allocation_params_free_data
gst_gl_allocation_params_get_type
gst_gl_allocation_params_init
gst_gl_api_from_string
gst_gl_api_to_string
gst_gl_async_debug_free
gst_gl_async_debug_freeze
gst_gl_async_debug_init
gst_gl_async_debug_new
gst_gl_async_debug_output_log_msg
gst_gl_async_debug_store_log_msg
gst_gl_async_debug_store_log_msg_valist
gst_gl_async_debug_thaw
gst_gl_async_debug_unset
gst_gl_base_filter_get_type
gst_gl_base_memory_alloc
gst_gl_base_memory_alloc_data
gst_gl_base_memory_allocator_get_type
gst_gl_base_memory_error_quark
gst_gl_base_memory_init
gst_gl_base_memory_init_once
gst_gl_base_memory_memcpy
gst_gl_buffer_allocation_params_new
gst_gl_buffer_allocator_get_type
gst_gl_buffer_init_once
gst_gl_buffer_pool_get_type
gst_gl_buffer_pool_new
gst_gl_buffer_pool_replace_last_buffer
gst_gl_caps_replace_all_caps_features
gst_gl_check_extension
gst_gl_color_convert_decide_allocation
gst_gl_color_convert_fixate_caps
gst_gl_color_convert_get_type
gst_gl_color_convert_new
gst_gl_color_convert_perform
gst_gl_color_convert_set_caps
gst_gl_color_convert_transform_caps
gst_gl_context_activate
gst_gl_context_can_share
gst_gl_context_check_feature
gst_gl_context_check_framebuffer_status
gst_gl_context_check_gl_version
gst_gl_context_clear_shader
gst_gl_context_create
gst_gl_context_debug DATA
gst_gl_context_default_get_proc_address
gst_gl_context_del_fbo
gst_gl_context_del_shader
gst_gl_context_del_texture
gst_gl_context_destroy
gst_gl_context_egl_get_current_context
gst_gl_context_egl_get_error_string
gst_gl_context_egl_get_proc_address
gst_gl_context_egl_get_type
gst_gl_context_egl_new
gst_gl_context_error_quark
gst_gl_context_fill_info
gst_gl_context_gen_fbo
gst_gl_context_gen_shader
gst_gl_context_gen_texture
gst_gl_context_get_current
gst_gl_context_get_current_gl_api
gst_gl_context_get_current_gl_context
gst_gl_context_get_display
gst_gl_context_get_error
gst_gl_context_get_gl_api
gst_gl_context_get_gl_context
gst_gl_context_get_gl_platform
gst_gl_context_get_gl_version
gst_gl_context_get_proc_address
gst_gl_context_get_proc_address_with_platform
gst_gl_context_get_thread
gst_gl_context_get_type
gst_gl_context_get_window
gst_gl_context_glx_get_current_context
gst_gl_context_glx_get_gl_api
gst_gl_context_glx_get_proc_address
gst_gl_context_glx_get_type
gst_gl_context_glx_new
gst_gl_context_is_shared
gst_gl_context_new
gst_gl_context_new_wrapped
gst_gl_context_set_error
gst_gl_context_set_window
gst_gl_context_supports_glsl_profile_version
gst_gl_context_thread_add
gst_gl_context_use_fbo_v2
gst_gl_control_binding_proxy_get_type
gst_gl_control_binding_proxy_new
gst_gl_display_add_context
gst_gl_display_create_context
gst_gl_display_egl_get_type
gst_gl_display_egl_new
gst_gl_display_egl_new_with_egl_display
gst_gl_display_filter_gl_api
gst_gl_display_get_gl_api
gst_gl_display_get_gl_api_unlocked
gst_gl_display_get_gl_context_for_thread
gst_gl_display_get_handle
gst_gl_display_get_handle_type
gst_gl_display_get_type
gst_gl_display_new
gst_gl_display_wayland_get_type
gst_gl_display_wayland_new
gst_gl_display_wayland_new_with_display
gst_gl_display_x11_get_type
gst_gl_display_x11_new
gst_gl_display_x11_new_with_display
gst_gl_dummy_window_get_type
gst_gl_dummy_window_new
gst_gl_ensure_element_data
gst_gl_filter_draw_texture
gst_gl_filter_filter_texture
gst_gl_filter_get_type
gst_gl_filter_render_to_target
gst_gl_filter_render_to_target_with_shader
gst_gl_format_from_gl_texture_type
gst_gl_format_type_n_bytes
gst_gl_framebuffer_delete
gst_gl_framebuffer_generate
gst_gl_framebuffer_get_type
gst_gl_framebuffer_new
gst_gl_framebuffer_use_v2
gst_gl_generate_texture_full
gst_gl_get_plane_data_size
gst_gl_get_plane_start
gst_gl_handle_context_query
gst_gl_handle_set_context
gst_gl_insert_debug_marker
gst_gl_memory_allocator_get_default
gst_gl_memory_allocator_get_type
gst_gl_memory_copy_into
gst_gl_memory_copy_teximage
gst_gl_memory_get_texture_height
gst_gl_memory_get_texture_id
gst_gl_memory_get_texture_target
gst_gl_memory_get_texture_type
gst_gl_memory_get_texture_width
gst_gl_memory_init
gst_gl_memory_init_once
gst_gl_memory_pbo_allocator_get_type
gst_gl_memory_pbo_copy_into_texture
gst_gl_memory_pbo_download_transfer
gst_gl_memory_pbo_init_once
gst_gl_memory_pbo_upload_transfer
gst_gl_memory_read_pixels
gst_gl_memory_setup_buffer
gst_gl_memory_texsubimage
gst_gl_object_add_control_binding_proxy
gst_gl_overlay_compositor_add_caps
gst_gl_overlay_compositor_draw_overlays
gst_gl_overlay_compositor_free_overlays
gst_gl_overlay_compositor_get_type
gst_gl_overlay_compositor_new
gst_gl_overlay_compositor_upload_overlays
gst_gl_platform_from_string
gst_gl_platform_to_string
gst_gl_query_counter
gst_gl_query_end
gst_gl_query_free
gst_gl_query_init
gst_gl_query_new
gst_gl_query_result
gst_gl_query_start
gst_gl_query_unset
gst_gl_run_query
gst_gl_shader_attach
gst_gl_shader_attach_unlocked
gst_gl_shader_bind_attribute_location
gst_gl_shader_compile_attach_stage
gst_gl_shader_detach
gst_gl_shader_detach_unlocked
gst_gl_shader_get_attribute_location
gst_gl_shader_get_program_handle
gst_gl_shader_get_type
gst_gl_shader_is_linked
gst_gl_shader_link
gst_gl_shader_new
gst_gl_shader_new_default
gst_gl_shader_new_link_with_stages
gst_gl_shader_new_with_stages
gst_gl_shader_release
gst_gl_shader_release_unlocked
gst_gl_shader_set_uniform_1f
gst_gl_shader_set_uniform_1fv
gst_gl_shader_set_uniform_1i
gst_gl_shader_set_uniform_1iv
gst_gl_shader_set_uniform_2f
gst_gl_shader_set_uniform_2fv
gst_gl_shader_set_uniform_2i
gst_gl_shader_set_uniform_2iv
gst_gl_shader_set_uniform_3f
gst_gl_shader_set_uniform_3fv
gst_gl_shader_set_uniform_3i
gst_gl_shader_set_uniform_3iv
gst_gl_shader_set_uniform_4f
gst_gl_shader_set_uniform_4fv
gst_gl_shader_set_uniform_4i
gst_gl_shader_set_uniform_4iv
gst_gl_shader_set_uniform_matrix_2fv
gst_gl_shader_set_uniform_matrix_2x3fv
gst_gl_shader_set_uniform_matrix_2x4fv
gst_gl_shader_set_uniform_matrix_3fv
gst_gl_shader_set_uniform_matrix_3x2fv
gst_gl_shader_set_uniform_matrix_3x4fv
gst_gl_shader_set_uniform_matrix_4fv
gst_gl_shader_set_uniform_matrix_4x2fv
gst_gl_shader_set_uniform_matrix_4x3fv
gst_gl_shader_string_fragment_default DATA
gst_gl_shader_string_fragment_external_oes_default DATA
gst_gl_shader_string_vertex_default DATA
gst_gl_shader_string_vertex_mat4_texture_transform DATA
gst_gl_shader_use
gst_gl_sized_gl_format_from_gl_format_type
gst_gl_stereo_downmix_mode_get_type
gst_gl_sync_meta_api_get_type
gst_gl_sync_meta_debug DATA
gst_gl_sync_meta_get_info
gst_gl_sync_meta_set_sync_point
gst_gl_sync_meta_wait
gst_gl_texture_target_from_gl
gst_gl_texture_target_from_string
gst_gl_texture_target_to_buffer_pool_option
gst_gl_texture_target_to_gl
gst_gl_texture_target_to_string
gst_gl_texture_type_from_format
gst_gl_texture_type_n_bytes
gst_gl_upload_get_caps
gst_gl_upload_get_input_template_caps
gst_gl_upload_get_type
gst_gl_upload_new
gst_gl_upload_perform_with_buffer
gst_gl_upload_propose_allocation
gst_gl_upload_set_caps
gst_gl_upload_transform_caps
gst_gl_value_get_texture_target_mask
gst_gl_value_set_texture_target
gst_gl_value_set_texture_target_from_mask
gst_gl_version_to_glsl_version
gst_gl_video_allocation_params_copy_data
gst_gl_video_allocation_params_free_data
gst_gl_video_allocation_params_init_full
gst_gl_video_allocation_params_new
gst_gl_video_allocation_params_new_wrapped_data
gst_gl_video_allocation_params_new_wrapped_texture
gst_gl_view_convert_fixate_caps
gst_gl_view_convert_get_output
gst_gl_view_convert_get_type
gst_gl_view_convert_new
gst_gl_view_convert_perform
gst_gl_view_convert_reset
gst_gl_view_convert_set_caps
gst_gl_view_convert_set_context
gst_gl_view_convert_submit_input_buffer
gst_gl_view_convert_transform_caps
gst_gl_window_debug DATA
gst_gl_window_draw
gst_gl_window_error_quark
gst_gl_window_get_context
gst_gl_window_get_display
gst_gl_window_get_surface_dimensions
gst_gl_window_get_type
gst_gl_window_get_window_handle
gst_gl_window_handle_events
gst_gl_window_is_running
gst_gl_window_new
gst_gl_window_queue_resize
gst_gl_window_quit
gst_gl_window_resize
gst_gl_window_run
gst_gl_window_send_key_event
gst_gl_window_send_key_event_async
gst_gl_window_send_message
gst_gl_window_send_message_async
gst_gl_window_send_mouse_event
gst_gl_window_send_mouse_event_async
gst_gl_window_set_close_callback
gst_gl_window_set_draw_callback
gst_gl_window_set_preferred_size
gst_gl_window_set_render_rectangle
gst_gl_window_set_resize_callback
gst_gl_window_set_window_handle
gst_gl_window_show
gst_gl_window_wayland_egl_create_window
gst_gl_window_wayland_egl_get_type
gst_gl_window_wayland_egl_new
gst_gl_window_x11_close
gst_gl_window_x11_create_window
gst_gl_window_x11_draw
gst_gl_window_x11_get_display
gst_gl_window_x11_get_type
gst_gl_window_x11_get_window_handle
gst_gl_window_x11_handle_event
gst_gl_window_x11_handle_events
gst_gl_window_x11_new
gst_gl_window_x11_open
gst_gl_window_x11_set_window_handle
gst_gl_window_x11_show
gst_gl_window_x11_trap_x_errors
gst_gl_window_x11_untrap_x_errors
gst_gl_wrapped_context_get_type
gst_glsl_error_quark
gst_glsl_profile_from_string
gst_glsl_profile_to_string
gst_glsl_stage_compile
gst_glsl_stage_get_handle
gst_glsl_stage_get_profile
gst_glsl_stage_get_shader_type
gst_glsl_stage_get_type
gst_glsl_stage_get_version
gst_glsl_stage_new
gst_glsl_stage_new_default_fragment
gst_glsl_stage_new_default_vertex
gst_glsl_stage_new_with_string
gst_glsl_stage_new_with_strings
gst_glsl_stage_set_strings
gst_glsl_string_get_version_profile
gst_glsl_version_from_string
gst_glsl_version_profile_from_string
gst_glsl_version_profile_to_string
gst_glsl_version_to_string
gst_is_egl_image_memory
gst_is_gl_base_memory
gst_is_gl_buffer
gst_is_gl_memory
gst_is_gl_memory_pbo