firestryker's picture
download
raw
755 Bytes
from OpenGL.arrays import vbo
from OpenGL.GLES3.VERSION import GLES3_3_0
from OpenGL.GLES3.OES import mapbuffer
class Implementation( vbo.Implementation ):
"""OpenGL-based implementation of VBO interfaces"""
def __init__( self ):
for name in self.EXPORTED_NAMES:
for source in [ GLES3_3_0, mapbuffer ]:
for possible in (name,name+'OES'):
try:
setattr( self, name, getattr( source, possible ))
except AttributeError as err:
pass
else:
found = True
assert found, name
if GLES3_3_0.glBufferData:
self.available = True
Implementation.register()

Xet Storage Details

Size:
755 Bytes
·
Xet hash:
2f49b997d1e448a8459317d8ca98f5344d4375229c60ccf70e8bccbb8acebb3d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.