File size: 343 Bytes
8554568
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# from pyrender.platforms import egl


def tmp_test_default_device():
    egl.get_default_device()


def tmp_test_query_device():
    devices = egl.query_devices()
    assert len(devices) > 0


def tmp_test_init_context():
    device = egl.query_devices()[0]
    platform = egl.EGLPlatform(128, 128, device=device)
    platform.init_context()