File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
pythonforandroid/recipes/vispy Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 66
77
88class VispyRecipe (PythonRecipe ):
9- version = '0.4.0'
10- url = 'https://github.com/vispy/vispy/archive/v{version}.tar.gz'
9+ # version = 'v0.4.0'
10+ version = 'master'
11+ url = 'https://github.com/vispy/vispy/archive/{version}.tar.gz'
1112 # version = 'campagnola-scenegraph-update'
1213 # url = 'https://github.com/campagnola/vispy/archive/scenegraph-update.zip'
1314 # version = '???'
@@ -25,6 +26,10 @@ def prebuild_arch(self, arch):
2526 self .apply_patch ('disable_font_triage.patch' )
2627 self .apply_patch ('use_es2.patch' )
2728 self .apply_patch ('remove_ati_check.patch' )
29+
30+ self .apply_patch ('make_shader_es2_compliant.patch' )
31+ self .apply_patch ('detect_finger_events.patch' )
32+
2833 shprint (sh .touch , join (build_dir , '.patched' ))
2934
3035recipe = VispyRecipe ()
Original file line number Diff line number Diff line change 1111print ('imported util' )
1212print (ctypes .util .find_library )
1313
14+ import vispy
15+ # vispy.set_log_level('debug')
16+
1417import sys
1518from vispy import scene
1619from vispy .geometry .torusknot import TorusKnot
1922import numpy as np
2023
2124canvas = scene .SceneCanvas (keys = 'interactive' , bgcolor = 'white' )
25+ canvas .unfreeze ()
2226canvas .view = canvas .central_widget .add_view ()
2327
2428points1 = TorusKnot (5 , 3 ).first_component [:- 1 ]
You can’t perform that action at this time.
0 commit comments