tinygl support

for 3d only