src/video/mir/SDL_mirvideo.h
author Ryan C. Gordon <icculus@icculus.org>
Mon, 06 Apr 2015 00:10:54 -0400
changeset 9458 543298b36b28
parent 8749 f34996d809b7
child 9619 b94b6d0bff0f
permissions -rw-r--r--
This function can be static.
icculus@8153
     1
/*
icculus@8153
     2
  Simple DirectMedia Layer
icculus@8157
     3
  Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
icculus@8153
     4
icculus@8153
     5
  This software is provided 'as-is', without any express or implied
icculus@8153
     6
  warranty.  In no event will the authors be held liable for any damages
icculus@8153
     7
  arising from the use of this software.
icculus@8153
     8
icculus@8153
     9
  Permission is granted to anyone to use this software for any purpose,
icculus@8153
    10
  including commercial applications, and to alter it and redistribute it
icculus@8153
    11
  freely, subject to the following restrictions:
icculus@8153
    12
icculus@8153
    13
  1. The origin of this software must not be misrepresented; you must not
icculus@8153
    14
     claim that you wrote the original software. If you use this software
icculus@8153
    15
     in a product, an acknowledgment in the product documentation would be
icculus@8153
    16
     appreciated but is not required.
icculus@8153
    17
  2. Altered source versions must be plainly marked as such, and must not be
icculus@8153
    18
     misrepresented as being the original software.
icculus@8153
    19
  3. This notice may not be removed or altered from any source distribution.
icculus@8153
    20
*/
icculus@8153
    21
icculus@8153
    22
/*
icculus@8153
    23
  Contributed by Brandon Schaefer, <brandon.schaefer@canonical.com>
icculus@8153
    24
*/
icculus@8153
    25
icculus@8153
    26
#ifndef _SDL_mirvideo_h_
icculus@8153
    27
#define _SDL_mirvideo_h_
icculus@8153
    28
icculus@8153
    29
#include <EGL/egl.h>
icculus@8153
    30
#include <mir_toolkit/mir_client_library.h>
icculus@8153
    31
icculus@8153
    32
typedef struct
icculus@8153
    33
{
icculus@8153
    34
    MirConnection* connection;
brandon@8749
    35
    SDL_bool software;
brandon@8749
    36
    
icculus@8153
    37
} MIR_Data;
icculus@8153
    38
icculus@8153
    39
#endif /* _SDL_mirvideo_h_ */
icculus@8154
    40
icculus@8154
    41
/* vi: set ts=4 sw=4 expandtab: */