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