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
  • apr_init    xtlang
  • cef_init_app    xtlang
  • cef_init_base    xtlang
  • cef_init_browser    xtlang
  • cef_init_client    xtlang
  • cl:reduce-init    scheme
  • cvGetHistValue_1D    xtlang
  • cvGetHistValue_2D    xtlang
  • cvGetHistValue_3D    xtlang
  • glew_init    xtlang
  • glfw_init    xtlang
  • glfw_init_and_create_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_compatibility_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_window    xtlang
  • glfw_init_and_create_fullscreen_interaction_window    xtlang
  • glfw_init_and_create_fullscreen_window    xtlang
  • glfw_init_and_create_fullscreen_window    xtlang
  • glfw_init_and_create_interaction_compatibility_window    xtlang
  • glfw_init_and_create_interaction_window    xtlang
  • glfw_init_and_create_window    xtlang
  • gui_init    xtlang
  • h3d_init    xtlang
  • h3d_init    xtlang
  • impc:compiler:print-no-redefinitions-error    scheme
  • impc:ti:initialize-closure-with-new-zone    scheme
  • init-gst    xtlang
  • init-osc-vars    xtlang
  • init-psys    xtlang
  • init-slides    scheme
  • init_bodies    xtlang
  • init_burners    xtlang
  • init_draw_quad    xtlang
  • init_env_map    xtlang
  • init_gl    xtlang
  • init_globals    xtlang
  • init_lv2_amp    xtlang
  • init_sample_data    xtlang
  • init_sample_data    xtlang
  • init_sky    xtlang
  • init_vao    xtlang
  • initalize    xtlang
  • initialize_walkers    xtlang
  • lilv_init_world    xtlang
  • load_vg_fonts    xtlang
  • node_reply_socket_init    xtlang
  • nvg_clear    xtlang
  • nvg_create_context    xtlang
  • nvg_create_font    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_loop    xtlang
  • nvg_draw_text    xtlang
  • nvg_init    xtlang
  • nvg_load_opensans_fonts    xtlang
  • pa_initialize    xtlang
  • pm_initialize    xtlang
  • pm_initialize    unknown
  • scheduler_init    xtlang
  • some_gl_init    xtlang
  • sys:compile-init-ll    scheme
  • sys:compile-init-ll-from-str    scheme
  • world_init    xtlang
  • xtm-vg-create-context    scheme
  • xtm_create_vgimage    xtlang
  • xtm_destroy_vgimage    xtlang
  • xtm_draw_vgimage    xtlang
  • xtm_envmap_init    xtlang
  • xtm_load_vgimage    xtlang
  • xtm_render_init    xtlang
  • xtm_render_init_dof_shader    xtlang
  • xtm_render_init_light_shader    xtlang
  • xtm_render_init_quad_shader    xtlang
  • xtm_render_init_simple_bone_shader    xtlang
  • xtm_render_init_simple_shader    xtlang
  • xtm_render_init_skybox_shader    xtlang
  • xtm_scale_and_draw_vgimage    xtlang
  • xtm_scale_and_draw_vgimaged    xtlang
  • xtm_set_vgimage_subdata    xtlang
  • xtm_skybox_init    xtlang
  • xtm_vg_clear    xtlang
  • xtm_vg_clear_rect    xtlang
  • xtm_vg_create_contextf    xtlang
  • xtm_vg_create_contexti32    xtlang
  • xtm_vg_print_error    xtlang
  • xtm_vg_reset_matrices    xtlang
  • xtm_vgimage_rotate    xtlang
  • xtm_vgimage_rotated    xtlang
  • xtm_vgimage_scale    xtlang
  • xtm_vgimage_scaled    xtlang
  • xtm_vgimage_shear    xtlang
  • xtm_vgimage_sheard    xtlang
  • xtm_vgimage_translate    xtlang
  • xtm_vgimage_translated    xtlang