author | Sam Lantinga <slouken@libsdl.org> |
Tue, 26 May 2015 06:27:46 -0700 | |
changeset 9619 | b94b6d0bff0f |
parent 9185 | 43f4122e1268 |
child 9998 | f67cf37e9cd4 |
permissions | -rw-r--r-- |
8159
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
1 |
/* |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 |
Simple DirectMedia Layer |
9619
b94b6d0bff0f
Updated the copyright year to 2015
Sam Lantinga <slouken@libsdl.org>
parents:
9185
diff
changeset
|
3 |
Copyright (C) 1997-2015 Sam Lantinga <slouken@libsdl.org> |
8159
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 |
This software is provided 'as-is', without any express or implied |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 |
warranty. In no event will the authors be held liable for any damages |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 |
arising from the use of this software. |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 |
Permission is granted to anyone to use this software for any purpose, |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
10 |
including commercial applications, and to alter it and redistribute it |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
11 |
freely, subject to the following restrictions: |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
12 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
13 |
1. The origin of this software must not be misrepresented; you must not |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
14 |
claim that you wrote the original software. If you use this software |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
15 |
in a product, an acknowledgment in the product documentation would be |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
16 |
appreciated but is not required. |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
17 |
2. Altered source versions must be plainly marked as such, and must not be |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
18 |
misrepresented as being the original software. |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
19 |
3. This notice may not be removed or altered from any source distribution. |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
20 |
*/ |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
21 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
22 |
/* *INDENT-OFF* */ |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
23 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
24 |
SDL_MIR_MODULE(MIR_CLIENT) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
25 |
SDL_MIR_SYM(MirDisplayConfiguration*,mir_connection_create_display_config,(MirConnection *connection)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
26 |
SDL_MIR_SYM(MirSurface *,mir_connection_create_surface_sync,(MirConnection *connection, MirSurfaceParameters const *params)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
27 |
SDL_MIR_SYM(void,mir_connection_get_available_surface_formats,(MirConnection* connection, MirPixelFormat* formats, unsigned const int format_size, unsigned int *num_valid_formats)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
28 |
SDL_MIR_SYM(MirEGLNativeDisplayType,mir_connection_get_egl_native_display,(MirConnection *connection)) |
9185
43f4122e1268
Merge patch for bug 2750. Thanks Sylvain!
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
8159
diff
changeset
|
29 |
SDL_MIR_SYM(MirBool,mir_connection_is_valid,(MirConnection *connection)) |
8159
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
30 |
SDL_MIR_SYM(void,mir_connection_release,(MirConnection *connection)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
31 |
SDL_MIR_SYM(MirConnection *,mir_connect_sync,(char const *server, char const *app_name)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
32 |
SDL_MIR_SYM(void,mir_display_config_destroy,(MirDisplayConfiguration* display_configuration)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
33 |
SDL_MIR_SYM(MirEGLNativeWindowType,mir_surface_get_egl_native_window,(MirSurface *surface)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
34 |
SDL_MIR_SYM(char const *,mir_surface_get_error_message,(MirSurface *surface)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
35 |
SDL_MIR_SYM(void,mir_surface_get_graphics_region,(MirSurface *surface, MirGraphicsRegion *graphics_region)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
36 |
SDL_MIR_SYM(void,mir_surface_get_parameters,(MirSurface *surface, MirSurfaceParameters *parameters)) |
9185
43f4122e1268
Merge patch for bug 2750. Thanks Sylvain!
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
8159
diff
changeset
|
37 |
SDL_MIR_SYM(MirBool,mir_surface_is_valid,(MirSurface *surface)) |
8159
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
38 |
SDL_MIR_SYM(void,mir_surface_release_sync,(MirSurface *surface)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
39 |
SDL_MIR_SYM(void,mir_surface_set_event_handler,(MirSurface *surface, MirEventDelegate const *event_handler)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
40 |
SDL_MIR_SYM(MirWaitHandle*,mir_surface_set_type,(MirSurface *surface, MirSurfaceType type)) |
9185
43f4122e1268
Merge patch for bug 2750. Thanks Sylvain!
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
8159
diff
changeset
|
41 |
SDL_MIR_SYM(MirWaitHandle*,mir_surface_set_state,(MirSurface *surface, MirSurfaceState state)) |
8159
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
42 |
SDL_MIR_SYM(void,mir_surface_swap_buffers_sync,(MirSurface *surface)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
43 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
44 |
SDL_MIR_MODULE(XKBCOMMON) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
45 |
SDL_MIR_SYM(int,xkb_keysym_to_utf8,(xkb_keysym_t keysym, char *buffer, size_t size)) |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
46 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
47 |
/* *INDENT-ON* */ |
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
48 |
|
427e8fdf6f69
Hooked up dynamic loading for Mir.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
49 |
/* vi: set ts=4 sw=4 expandtab: */ |