init_vg   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/external/going-native.xtm

Implementation

;; make sure to call this from the scheduler!
(bind-func init_vg
  (lambda (beat:float)
    ;; set THIS thread as opengl thread
    ;;(glfwMakeContextCurrent	null)
    ;;(glfwMakeContextCurrent	window)
    (glfwSwapInterval 1)
    (nvg_init)
    (set! vg (nvg_create_context))
    (set! pixel_ratio (glfw_get_pixel_ratio window))
    (println "initialized vg")
    void))


Back to Index

Similar Entries

  • NVGcolor_hex    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • apr_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/apr.xtm
  • cef_init_app    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • cef_init_base    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • cef_init_browser    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • cef_init_client    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • cl:reduce-init    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cvGetHistValue_1D    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opencv.xtm
  • cvGetHistValue_2D    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opencv.xtm
  • cvGetHistValue_3D    xtlang    /digego/extempore/tree/v0.8.9/libs/external/opencv.xtm
  • glew_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/glew.xtm
  • glfw_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_fullscreen_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_interaction_compatibility_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_interaction_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_init_and_create_window    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • gui_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • h3d_init    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/horde3d_knight.xtm
  • h3d_init    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/bullet.xtm
  • impc:compiler:print-no-redefinitions-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:initialize-closure-with-new-zone    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • init-gst    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • init-osc-vars    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm
  • init-psys    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/particles.xtm
  • init-slides    scheme    /digego/extempore/tree/v0.8.9/examples/contrib/slideshow.xtm
  • init_bodies    xtlang    /digego/extempore/tree/v0.8.9/examples/core/nbody_lang_shootout.xtm
  • init_burners    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/fluids_2d.xtm
  • init_draw_quad    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • init_env_map    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender6.xtm
  • init_gl    xtlang    /digego/extempore/tree/v0.8.9/examples/external/going-native.xtm
  • init_globals    xtlang    /digego/extempore/tree/v0.8.9/examples/core/fasta_lang_shootout.xtm
  • init_lv2_amp    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/lv2.xtm
  • init_sample_data    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo_multi.xtm
  • init_sample_data    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/gstvideo.xtm
  • init_sky    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender6.xtm
  • init_vao    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/fluids_2d.xtm
  • initalize    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/hidapi.xtm
  • initialize_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • lilv_init_world    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/lilv.xtm
  • load_vg_fonts    xtlang    /digego/extempore/tree/v0.8.9/examples/external/xtmrender5.xtm
  • node_reply_socket_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fleet-node.xtm
  • nvg_clear    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • nvg_create_context    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • nvg_create_font    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • nvg_draw_loop    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/chipmunk-simple.xtm
  • nvg_draw_loop    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/datavis.xtm
  • nvg_draw_loop    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanovg_helper.xtm
  • nvg_draw_loop    xtlang    /digego/extempore/tree/v0.8.9/examples/external/openvg.xtm
  • nvg_draw_text    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • nvg_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • nvg_load_opensans_fonts    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanovg.xtm
  • pa_initialize    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • pm_initialize    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • pm_initialize    unknown    /digego/extempore/tree/v0.8.9/libs/external/midi.xtm
  • scheduler_init    xtlang    /digego/extempore/tree/v0.8.9/libs/core/scheduler.xtm
  • some_gl_init    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/fluid_dynamics.xtm
  • sys:compile-init-ll    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • sys:compile-init-ll-from-str    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • world_init    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/game-of-life.xtm
  • xtm-vg-create-context    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_create_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_destroy_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_draw_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_envmap_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_load_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_render_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_render_init_dof_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_render_init_light_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_render_init_quad_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_render_init_simple_bone_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_render_init_simple_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_render_init_skybox_shader    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_scale_and_draw_vgimage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_scale_and_draw_vgimaged    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_set_vgimage_subdata    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_skybox_init    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_vg_clear    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_clear_rect    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_create_contextf    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_create_contexti32    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_print_error    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vg_reset_matrices    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_rotate    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_rotated    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_scaled    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_shear    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_sheard    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_translate    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm
  • xtm_vgimage_translated    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/openvg.xtm