src/video/windows/SDL_windowsvulkan.h
author Ryan C. Gordon <icculus@icculus.org>
Tue, 23 Oct 2018 01:34:03 -0400
branchSDL-ryan-batching-renderer
changeset 12352 2b1707cc57fc
parent 11811 5d94cb6b24d3
child 12503 806492103856
permissions -rw-r--r--
render: Add floating point versions of various draw APIs.
icculus@11365
     1
/*
icculus@11365
     2
  Simple DirectMedia Layer
slouken@11811
     3
  Copyright (C) 1997-2018 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_windowsvulkan_h_
slouken@11382
    30
#define SDL_windowsvulkan_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_WINDOWS
icculus@11365
    36
icculus@11365
    37
int WIN_Vulkan_LoadLibrary(_THIS, const char *path);
icculus@11365
    38
void WIN_Vulkan_UnloadLibrary(_THIS);
icculus@11365
    39
SDL_bool WIN_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 WIN_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_windowsvulkan_h_ */
icculus@11365
    51
icculus@11365
    52
/* vi: set ts=4 sw=4 expandtab: */