src/video/mir/SDL_mirvulkan.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 28 Aug 2017 00:22:23 -0700
changeset 11382 2c50e79b19e0
parent 11381 2610f8f0a9c6
child 11811 5d94cb6b24d3
permissions -rw-r--r--
Renaming of guard header names to quiet -Wreserved-id-macro
icculus@11365
     1
/*
icculus@11365
     2
  Simple DirectMedia Layer
icculus@11365
     3
  Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
icculus@11365
     4
icculus@11365
     5
  This software is provided 'as-is', without any express or implied
icculus@11365
     6
  warranty.  In no event will the authors be held liable for any damages
icculus@11365
     7
  arising from the use of this software.
icculus@11365
     8
icculus@11365
     9
  Permission is granted to anyone to use this software for any purpose,
icculus@11365
    10
  including commercial applications, and to alter it and redistribute it
icculus@11365
    11
  freely, subject to the following restrictions:
icculus@11365
    12
icculus@11365
    13
  1. The origin of this software must not be misrepresented; you must not
icculus@11365
    14
     claim that you wrote the original software. If you use this software
icculus@11365
    15
     in a product, an acknowledgment in the product documentation would be
icculus@11365
    16
     appreciated but is not required.
icculus@11365
    17
  2. Altered source versions must be plainly marked as such, and must not be
icculus@11365
    18
     misrepresented as being the original software.
icculus@11365
    19
  3. This notice may not be removed or altered from any source distribution.
icculus@11365
    20
*/
icculus@11365
    21
icculus@11365
    22
/*
icculus@11365
    23
 * @author Mark Callow, www.edgewise-consulting.com. Based on Jacob Lifshay's
icculus@11365
    24
 * SDL_x11vulkan.h.
icculus@11365
    25
 */
icculus@11365
    26
icculus@11365
    27
#include "../../SDL_internal.h"
icculus@11365
    28
slouken@11382
    29
#ifndef SDL_mirvulkan_h_
slouken@11382
    30
#define SDL_mirvulkan_h_
icculus@11365
    31
icculus@11365
    32
#include "../SDL_vulkan_internal.h"
icculus@11365
    33
#include "../SDL_sysvideo.h"
icculus@11365
    34
slouken@11381
    35
#if SDL_VIDEO_VULKAN && SDL_VIDEO_DRIVER_MIR
icculus@11365
    36
icculus@11365
    37
int MIR_Vulkan_LoadLibrary(_THIS, const char *path);
icculus@11365
    38
void MIR_Vulkan_UnloadLibrary(_THIS);
icculus@11365
    39
SDL_bool MIR_Vulkan_GetInstanceExtensions(_THIS,
icculus@11365
    40
                                          SDL_Window *window,
icculus@11365
    41
                                          unsigned *count,
icculus@11365
    42
                                          const char **names);
icculus@11365
    43
SDL_bool MIR_Vulkan_CreateSurface(_THIS,
icculus@11365
    44
                                  SDL_Window *window,
icculus@11365
    45
                                  VkInstance instance,
icculus@11365
    46
                                  VkSurfaceKHR *surface);
icculus@11365
    47
icculus@11365
    48
#endif
icculus@11365
    49
slouken@11382
    50
#endif /* SDL_mirvulkan_h_ */
icculus@11365
    51
icculus@11365
    52
/* vi: set ts=4 sw=4 expandtab: */