File: vulkan_test.py

package info (click to toggle)
pysdl2 0.9.9%2Bdfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,276 kB
  • sloc: python: 18,592; makefile: 148; sh: 40
file content (39 lines) | stat: -rw-r--r-- 977 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import pytest
from sdl2 import SDL_Init, SDL_Quit, SDL_INIT_VIDEO
from sdl2 import vulkan

class TestSDLVulkan(object):
    __tags__ = ["sdl"]

    @classmethod
    def setup_class(cls):
        if SDL_Init(SDL_INIT_VIDEO) != 0:
            raise pytest.skip('Video subsystem not supported')

    @classmethod
    def teardown_class(cls):
        SDL_Quit()

    @pytest.mark.skip("not implemented")
    def test_SDL_Vulkan_LoadLibrary(self):
        pass

    @pytest.mark.skip("not implemented")
    def test_SDL_Vulkan_GetVkGetInstanceProcAddr(self):
        pass

    @pytest.mark.skip("not implemented")
    def test_SDL_Vulkan_UnloadLibrary(self):
        pass

    @pytest.mark.skip("not implemented")
    def test_SDL_Vulkan_GetInstanceExtensions(self):
        pass

    @pytest.mark.skip("not implemented")
    def test_SDL_Vulkan_CreateSurface(self):
        pass

    @pytest.mark.skip("not implemented")
    def test_SDL_Vulkan_GetDrawableSize(self):
        pass