pixo 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +23 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/ext/CMakeLists.txt +35 -0
- data/ext/libpixgem/extconf.rb +29 -0
- data/ext/libpixgem/include/opengl.h +4 -0
- data/ext/libpixgem/src/application.cpp +135 -0
- data/ext/libpixgem/src/application.hpp +28 -0
- data/ext/libpixgem/src/camera.cpp +28 -0
- data/ext/libpixgem/src/camera.hpp +22 -0
- data/ext/libpixgem/src/fade_candy.cpp +32 -0
- data/ext/libpixgem/src/fade_candy.hpp +22 -0
- data/ext/libpixgem/src/gem.cpp +58 -0
- data/ext/libpixgem/src/holder.cpp +9 -0
- data/ext/libpixgem/src/holder.hpp +8 -0
- data/ext/libpixgem/src/pattern.cpp +57 -0
- data/ext/libpixgem/src/pattern.hpp +25 -0
- data/ext/pixo/CMakeLists.txt +57 -0
- data/ext/pixo/README.md +3 -0
- data/ext/pixo/ext/glew/CMakeLists.txt +118 -0
- data/ext/pixo/ext/glew/LICENSE.txt +73 -0
- data/ext/pixo/ext/glew/Makefile +347 -0
- data/ext/pixo/ext/glew/README.md +192 -0
- data/ext/pixo/ext/glew/auto/Makefile +357 -0
- data/ext/pixo/ext/glew/auto/bin/filter_gl_ext.sh +523 -0
- data/ext/pixo/ext/glew/auto/bin/filter_gles_ext.sh +19 -0
- data/ext/pixo/ext/glew/auto/bin/filter_spec.py +38 -0
- data/ext/pixo/ext/glew/auto/bin/make.pl +223 -0
- data/ext/pixo/ext/glew/auto/bin/make_def_fun.pl +35 -0
- data/ext/pixo/ext/glew/auto/bin/make_def_var.pl +31 -0
- data/ext/pixo/ext/glew/auto/bin/make_enable_index.pl +45 -0
- data/ext/pixo/ext/glew/auto/bin/make_header.pl +71 -0
- data/ext/pixo/ext/glew/auto/bin/make_html.pl +55 -0
- data/ext/pixo/ext/glew/auto/bin/make_index.pl +38 -0
- data/ext/pixo/ext/glew/auto/bin/make_info.pl +59 -0
- data/ext/pixo/ext/glew/auto/bin/make_info_list.pl +47 -0
- data/ext/pixo/ext/glew/auto/bin/make_init.pl +59 -0
- data/ext/pixo/ext/glew/auto/bin/make_initd.pl +43 -0
- data/ext/pixo/ext/glew/auto/bin/make_list.pl +73 -0
- data/ext/pixo/ext/glew/auto/bin/make_list2.pl +44 -0
- data/ext/pixo/ext/glew/auto/bin/make_str.pl +53 -0
- data/ext/pixo/ext/glew/auto/bin/make_struct_fun.pl +36 -0
- data/ext/pixo/ext/glew/auto/bin/make_struct_var.pl +31 -0
- data/ext/pixo/ext/glew/auto/bin/parse_spec.pl +393 -0
- data/ext/pixo/ext/glew/auto/bin/parse_xml.py +131 -0
- data/ext/pixo/ext/glew/auto/bin/update_ext.sh +25 -0
- data/ext/pixo/ext/glew/auto/blacklist +14 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_AMD_gpu_association +23 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_ARB_get_proc_address +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_ATI_pixel_format_float +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_ATI_render_texture +42 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_EXT_create_context_es2_profile +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_EXT_create_context_es_profile +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_EXT_fbconfig_packed_float +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_EXT_framebuffer_sRGB +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_MESA_swap_control +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_NV_float_buffer +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_NV_vertex_array_range +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_SGIS_shared_multisample +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_SGIX_hyperpipe +26 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_SGIX_swap_barrier +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_SGIX_swap_group +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_SGI_video_sync +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_SUN_video_resize +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_VERSION_1_2 +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_VERSION_1_3 +83 -0
- data/ext/pixo/ext/glew/auto/core/gl/GLX_VERSION_1_4 +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_APPLE_float_pixels +18 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_APPLE_pixel_buffer +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_APPLE_texture_range +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_draw_instanced +4 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_imaging +113 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_instanced_arrays +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_internalformat_query2 +104 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_matrix_palette +19 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_multitexture +73 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_robustness +31 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_separate_shader_objects +73 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_vertex_attrib_64bit +14 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ARB_vertex_blend +56 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATIX_point_sprites +10 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATIX_texture_env_combine3 +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATIX_texture_env_route +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATIX_vertex_shader_output_point_size +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_envmap_bumpmap +16 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_map_object_buffer +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_pn_triangles +15 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_separate_stencil +10 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_shader_texture_lod +4 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_texture_compression_3dc +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_ATI_vertex_streams +59 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_Cg_shader +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_bindable_uniform +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_debug_marker +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_depth_bounds_test +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_draw_instanced +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_draw_range_elements +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_fog_coord +17 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_framebuffer_sRGB +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_geometry_shader4 +27 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_gpu_program_parameters +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_gpu_shader4 +64 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_packed_float +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_pixel_buffer_object +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_secondary_color +28 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_array +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_buffer_object +10 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_compression_latc +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_compression_rgtc +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_cube_map +16 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_edge_clamp +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_integer +57 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_rectangle +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_texture_shared_exponent +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_timer_query +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_EXT_vertex_shader +157 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_KTX_buffer_region +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NVX_gpu_memory_info +9 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_depth_buffer_float +11 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_depth_range_unclamped +9 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_fragment_program2 +9 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_fragment_program4 +4 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_fragment_program_option +4 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_framebuffer_multisample_coverage +9 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_geometry_program4 +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_geometry_shader4 +4 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_gpu_program4 +24 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_gpu_program5 +10 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_parameter_buffer_object +12 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_present_video +16 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_tessellation_program5 +9 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_transform_feedback +40 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_vdpau_interop +19 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_vertex_program2_option +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_vertex_program3 +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_NV_vertex_program4 +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_SGIX_shadow +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_SUN_read_video_pixels +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_1_2 +50 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_1_2_1 +4 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_1_3 +147 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_1_4 +90 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_1_5 +75 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_2_0 +181 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_2_1 +33 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_3_0 +164 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_3_1 +42 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_3_2 +29 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_3_3 +7 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_4_0 +21 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_4_1 +3 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_4_2 +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_4_3 +6 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_4_4 +8 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_VERSION_4_5 +9 -0
- data/ext/pixo/ext/glew/auto/core/gl/GL_WIN_swap_hint +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_ARB_create_context +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_ATI_render_texture_rectangle +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_EXT_create_context_es2_profile +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_EXT_create_context_es_profile +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_EXT_framebuffer_sRGB +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_EXT_pixel_format_packed_float +5 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_NV_gpu_affinity +13 -0
- data/ext/pixo/ext/glew/auto/core/gl/WGL_NV_vertex_array_range +6 -0
- data/ext/pixo/ext/glew/auto/custom.txt +7 -0
- data/ext/pixo/ext/glew/auto/doc/advanced.html +130 -0
- data/ext/pixo/ext/glew/auto/doc/basic.html +180 -0
- data/ext/pixo/ext/glew/auto/doc/build.html +49 -0
- data/ext/pixo/ext/glew/auto/doc/credits.html +2 -0
- data/ext/pixo/ext/glew/auto/doc/index.html +111 -0
- data/ext/pixo/ext/glew/auto/doc/install.html +126 -0
- data/ext/pixo/ext/glew/auto/doc/log.html +1073 -0
- data/ext/pixo/ext/glew/auto/src/eglew_head.h +88 -0
- data/ext/pixo/ext/glew/auto/src/eglew_mid.h +4 -0
- data/ext/pixo/ext/glew/auto/src/eglew_tail.h +15 -0
- data/ext/pixo/ext/glew/auto/src/footer.html +4 -0
- data/ext/pixo/ext/glew/auto/src/glew.rc +135 -0
- data/ext/pixo/ext/glew/auto/src/glew_head.c +285 -0
- data/ext/pixo/ext/glew/auto/src/glew_head.h +1129 -0
- data/ext/pixo/ext/glew/auto/src/glew_init_egl.c +45 -0
- data/ext/pixo/ext/glew/auto/src/glew_init_gl.c +206 -0
- data/ext/pixo/ext/glew/auto/src/glew_init_glx.c +53 -0
- data/ext/pixo/ext/glew/auto/src/glew_init_tail.c +67 -0
- data/ext/pixo/ext/glew/auto/src/glew_init_wgl.c +41 -0
- data/ext/pixo/ext/glew/auto/src/glew_license.h +32 -0
- data/ext/pixo/ext/glew/auto/src/glew_str_egl.c +17 -0
- data/ext/pixo/ext/glew/auto/src/glew_str_glx.c +17 -0
- data/ext/pixo/ext/glew/auto/src/glew_str_head.c +9 -0
- data/ext/pixo/ext/glew/auto/src/glew_str_tail.c +7 -0
- data/ext/pixo/ext/glew/auto/src/glew_str_wgl.c +17 -0
- data/ext/pixo/ext/glew/auto/src/glew_tail.h +67 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo.rc +123 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo_egl.c +6 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo_gl.c +7 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo_glx.c +6 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo_head.c +89 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo_tail.c +598 -0
- data/ext/pixo/ext/glew/auto/src/glewinfo_wgl.c +8 -0
- data/ext/pixo/ext/glew/auto/src/glxew_head.h +106 -0
- data/ext/pixo/ext/glew/auto/src/glxew_mid.h +4 -0
- data/ext/pixo/ext/glew/auto/src/glxew_tail.h +20 -0
- data/ext/pixo/ext/glew/auto/src/header.html +98 -0
- data/ext/pixo/ext/glew/auto/src/khronos_license.h +23 -0
- data/ext/pixo/ext/glew/auto/src/mesa_license.h +24 -0
- data/ext/pixo/ext/glew/auto/src/visualinfo.rc +123 -0
- data/ext/pixo/ext/glew/auto/src/wglew_head.h +36 -0
- data/ext/pixo/ext/glew/auto/src/wglew_mid.h +4 -0
- data/ext/pixo/ext/glew/auto/src/wglew_tail.h +22 -0
- data/ext/pixo/ext/glew/build/cmake/CMakeLists.txt +215 -0
- data/ext/pixo/ext/glew/build/cmake/CopyImportedTargetProperties.cmake +88 -0
- data/ext/pixo/ext/glew/build/cmake/glew-config.cmake +60 -0
- data/ext/pixo/ext/glew/build/cmake/testbuild/CMakeLists.txt +25 -0
- data/ext/pixo/ext/glew/build/cmake/testbuild/main.c +23 -0
- data/ext/pixo/ext/glew/build/glew.rc +135 -0
- data/ext/pixo/ext/glew/build/glewinfo.rc +123 -0
- data/ext/pixo/ext/glew/build/vc10/common.props +29 -0
- data/ext/pixo/ext/glew/build/vc10/glew.sln +56 -0
- data/ext/pixo/ext/glew/build/vc10/glew_shared.vcxproj +254 -0
- data/ext/pixo/ext/glew/build/vc10/glew_static.vcxproj +228 -0
- data/ext/pixo/ext/glew/build/vc10/glewinfo.vcxproj +252 -0
- data/ext/pixo/ext/glew/build/vc10/visualinfo.vcxproj +251 -0
- data/ext/pixo/ext/glew/build/vc12/common.props +29 -0
- data/ext/pixo/ext/glew/build/vc12/glew.sln +56 -0
- data/ext/pixo/ext/glew/build/vc12/glew_shared.vcxproj +258 -0
- data/ext/pixo/ext/glew/build/vc12/glew_static.vcxproj +232 -0
- data/ext/pixo/ext/glew/build/vc12/glewinfo.vcxproj +259 -0
- data/ext/pixo/ext/glew/build/vc12/visualinfo.vcxproj +258 -0
- data/ext/pixo/ext/glew/build/vc6/Makefile +21 -0
- data/ext/pixo/ext/glew/build/vc6/glew.dsw +71 -0
- data/ext/pixo/ext/glew/build/vc6/glew_shared.dsp +122 -0
- data/ext/pixo/ext/glew/build/vc6/glew_static.dsp +112 -0
- data/ext/pixo/ext/glew/build/vc6/glewinfo.dsp +103 -0
- data/ext/pixo/ext/glew/build/vc6/visualinfo.dsp +103 -0
- data/ext/pixo/ext/glew/build/visualinfo.rc +123 -0
- data/ext/pixo/ext/glew/cmake-testbuild.sh +71 -0
- data/ext/pixo/ext/glew/config/Makefile.cygming +21 -0
- data/ext/pixo/ext/glew/config/Makefile.cygwin +19 -0
- data/ext/pixo/ext/glew/config/Makefile.darwin +25 -0
- data/ext/pixo/ext/glew/config/Makefile.darwin-ppc +24 -0
- data/ext/pixo/ext/glew/config/Makefile.darwin-universal +27 -0
- data/ext/pixo/ext/glew/config/Makefile.darwin-x86_64 +24 -0
- data/ext/pixo/ext/glew/config/Makefile.fedora-mingw32 +12 -0
- data/ext/pixo/ext/glew/config/Makefile.freebsd +17 -0
- data/ext/pixo/ext/glew/config/Makefile.gnu +17 -0
- data/ext/pixo/ext/glew/config/Makefile.haiku +20 -0
- data/ext/pixo/ext/glew/config/Makefile.irix +17 -0
- data/ext/pixo/ext/glew/config/Makefile.kfreebsd +17 -0
- data/ext/pixo/ext/glew/config/Makefile.linux +34 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-clang +34 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-clang-egl +4 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-egl +4 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-mingw-w64 +22 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-mingw32 +22 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-mingw64 +22 -0
- data/ext/pixo/ext/glew/config/Makefile.linux-osmesa +4 -0
- data/ext/pixo/ext/glew/config/Makefile.mingw +17 -0
- data/ext/pixo/ext/glew/config/Makefile.mingw-win32 +5 -0
- data/ext/pixo/ext/glew/config/Makefile.msys +19 -0
- data/ext/pixo/ext/glew/config/Makefile.msys-win32 +5 -0
- data/ext/pixo/ext/glew/config/Makefile.msys-win64 +5 -0
- data/ext/pixo/ext/glew/config/Makefile.nacl-32 +31 -0
- data/ext/pixo/ext/glew/config/Makefile.nacl-64 +31 -0
- data/ext/pixo/ext/glew/config/Makefile.netbsd +17 -0
- data/ext/pixo/ext/glew/config/Makefile.openbsd +17 -0
- data/ext/pixo/ext/glew/config/Makefile.solaris +14 -0
- data/ext/pixo/ext/glew/config/Makefile.solaris-gcc +15 -0
- data/ext/pixo/ext/glew/config/config.guess +1456 -0
- data/ext/pixo/ext/glew/config/version +7 -0
- data/ext/pixo/ext/glew/doc/advanced.html +232 -0
- data/ext/pixo/ext/glew/doc/basic.html +282 -0
- data/ext/pixo/ext/glew/doc/build.html +151 -0
- data/ext/pixo/ext/glew/doc/credits.html +104 -0
- data/ext/pixo/ext/glew/doc/github.png +0 -0
- data/ext/pixo/ext/glew/doc/glew.css +187 -0
- data/ext/pixo/ext/glew/doc/glew.html +724 -0
- data/ext/pixo/ext/glew/doc/glew.png +0 -0
- data/ext/pixo/ext/glew/doc/glew.txt +29 -0
- data/ext/pixo/ext/glew/doc/glxew.html +185 -0
- data/ext/pixo/ext/glew/doc/gpl.txt +340 -0
- data/ext/pixo/ext/glew/doc/index.html +213 -0
- data/ext/pixo/ext/glew/doc/install.html +228 -0
- data/ext/pixo/ext/glew/doc/khronos.txt +20 -0
- data/ext/pixo/ext/glew/doc/log.html +1175 -0
- data/ext/pixo/ext/glew/doc/mesa.txt +21 -0
- data/ext/pixo/ext/glew/doc/new.png +0 -0
- data/ext/pixo/ext/glew/doc/ogl_sm.jpg +0 -0
- data/ext/pixo/ext/glew/doc/travis.png +0 -0
- data/ext/pixo/ext/glew/doc/wglew.html +168 -0
- data/ext/pixo/ext/glew/glew.pc.in +11 -0
- data/ext/pixo/ext/glew/include/GL/eglew.h +2261 -0
- data/ext/pixo/ext/glew/include/GL/glew.h +20113 -0
- data/ext/pixo/ext/glew/include/GL/glxew.h +1769 -0
- data/ext/pixo/ext/glew/include/GL/wglew.h +1427 -0
- data/ext/pixo/ext/glew/maintain.sh +142 -0
- data/ext/pixo/ext/glew/src/glew.c +23960 -0
- data/ext/pixo/ext/glew/src/glewinfo.c +13912 -0
- data/ext/pixo/ext/glew/src/visualinfo.c +1297 -0
- data/ext/pixo/ext/glfw/CMake/MacOSXBundleInfo.plist.in +38 -0
- data/ext/pixo/ext/glfw/CMake/amd64-mingw32msvc.cmake +13 -0
- data/ext/pixo/ext/glfw/CMake/i586-mingw32msvc.cmake +13 -0
- data/ext/pixo/ext/glfw/CMake/i686-pc-mingw32.cmake +13 -0
- data/ext/pixo/ext/glfw/CMake/i686-w64-mingw32.cmake +13 -0
- data/ext/pixo/ext/glfw/CMake/modules/FindMir.cmake +18 -0
- data/ext/pixo/ext/glfw/CMake/modules/FindVulkan.cmake +34 -0
- data/ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake +26 -0
- data/ext/pixo/ext/glfw/CMake/modules/FindXKBCommon.cmake +34 -0
- data/ext/pixo/ext/glfw/CMake/x86_64-w64-mingw32.cmake +13 -0
- data/ext/pixo/ext/glfw/CMakeLists.txt +419 -0
- data/ext/pixo/ext/glfw/COPYING.txt +22 -0
- data/ext/pixo/ext/glfw/README.md +274 -0
- data/ext/pixo/ext/glfw/cmake_uninstall.cmake.in +29 -0
- data/ext/pixo/ext/glfw/deps/KHR/khrplatform.h +282 -0
- data/ext/pixo/ext/glfw/deps/getopt.c +230 -0
- data/ext/pixo/ext/glfw/deps/getopt.h +57 -0
- data/ext/pixo/ext/glfw/deps/glad/glad.h +3520 -0
- data/ext/pixo/ext/glfw/deps/glad.c +1555 -0
- data/ext/pixo/ext/glfw/deps/linmath.h +574 -0
- data/ext/pixo/ext/glfw/deps/mingw/_mingw_dxhelper.h +117 -0
- data/ext/pixo/ext/glfw/deps/mingw/dinput.h +2467 -0
- data/ext/pixo/ext/glfw/deps/mingw/xinput.h +239 -0
- data/ext/pixo/ext/glfw/deps/tinycthread.c +594 -0
- data/ext/pixo/ext/glfw/deps/tinycthread.h +441 -0
- data/ext/pixo/ext/glfw/deps/vulkan/vk_platform.h +120 -0
- data/ext/pixo/ext/glfw/deps/vulkan/vulkan.h +3835 -0
- data/ext/pixo/ext/glfw/docs/CMakeLists.txt +32 -0
- data/ext/pixo/ext/glfw/docs/Doxyfile.in +1859 -0
- data/ext/pixo/ext/glfw/docs/DoxygenLayout.xml +188 -0
- data/ext/pixo/ext/glfw/docs/build.dox +347 -0
- data/ext/pixo/ext/glfw/docs/compat.dox +224 -0
- data/ext/pixo/ext/glfw/docs/compile.dox +284 -0
- data/ext/pixo/ext/glfw/docs/context.dox +345 -0
- data/ext/pixo/ext/glfw/docs/extra.css +1 -0
- data/ext/pixo/ext/glfw/docs/extra.less +370 -0
- data/ext/pixo/ext/glfw/docs/footer.html +7 -0
- data/ext/pixo/ext/glfw/docs/header.html +34 -0
- data/ext/pixo/ext/glfw/docs/input.dox +665 -0
- data/ext/pixo/ext/glfw/docs/internal.dox +116 -0
- data/ext/pixo/ext/glfw/docs/intro.dox +372 -0
- data/ext/pixo/ext/glfw/docs/main.dox +47 -0
- data/ext/pixo/ext/glfw/docs/monitor.dox +216 -0
- data/ext/pixo/ext/glfw/docs/moving.dox +506 -0
- data/ext/pixo/ext/glfw/docs/news.dox +376 -0
- data/ext/pixo/ext/glfw/docs/quick.dox +364 -0
- data/ext/pixo/ext/glfw/docs/spaces.svg +872 -0
- data/ext/pixo/ext/glfw/docs/vulkan.dox +211 -0
- data/ext/pixo/ext/glfw/docs/window.dox +1008 -0
- data/ext/pixo/ext/glfw/examples/CMakeLists.txt +67 -0
- data/ext/pixo/ext/glfw/examples/boing.c +678 -0
- data/ext/pixo/ext/glfw/examples/gears.c +357 -0
- data/ext/pixo/ext/glfw/examples/glfw.icns +0 -0
- data/ext/pixo/ext/glfw/examples/glfw.ico +0 -0
- data/ext/pixo/ext/glfw/examples/glfw.rc +3 -0
- data/ext/pixo/ext/glfw/examples/heightmap.c +511 -0
- data/ext/pixo/ext/glfw/examples/particles.c +1068 -0
- data/ext/pixo/ext/glfw/examples/simple.c +163 -0
- data/ext/pixo/ext/glfw/examples/splitview.c +545 -0
- data/ext/pixo/ext/glfw/examples/wave.c +460 -0
- data/ext/pixo/ext/glfw/include/GLFW/glfw3.h +4248 -0
- data/ext/pixo/ext/glfw/include/GLFW/glfw3native.h +456 -0
- data/ext/pixo/ext/glfw/src/CMakeLists.txt +120 -0
- data/ext/pixo/ext/glfw/src/cocoa_init.m +398 -0
- data/ext/pixo/ext/glfw/src/cocoa_joystick.h +60 -0
- data/ext/pixo/ext/glfw/src/cocoa_joystick.m +511 -0
- data/ext/pixo/ext/glfw/src/cocoa_monitor.m +413 -0
- data/ext/pixo/ext/glfw/src/cocoa_platform.h +150 -0
- data/ext/pixo/ext/glfw/src/cocoa_time.c +60 -0
- data/ext/pixo/ext/glfw/src/cocoa_window.m +1653 -0
- data/ext/pixo/ext/glfw/src/context.c +720 -0
- data/ext/pixo/ext/glfw/src/egl_context.c +746 -0
- data/ext/pixo/ext/glfw/src/egl_context.h +213 -0
- data/ext/pixo/ext/glfw/src/glfw3.pc.in +13 -0
- data/ext/pixo/ext/glfw/src/glfw3Config.cmake.in +1 -0
- data/ext/pixo/ext/glfw/src/glfw_config.h.in +65 -0
- data/ext/pixo/ext/glfw/src/glx_context.c +677 -0
- data/ext/pixo/ext/glfw/src/glx_context.h +182 -0
- data/ext/pixo/ext/glfw/src/init.c +200 -0
- data/ext/pixo/ext/glfw/src/input.c +659 -0
- data/ext/pixo/ext/glfw/src/internal.h +1055 -0
- data/ext/pixo/ext/glfw/src/linux_joystick.c +341 -0
- data/ext/pixo/ext/glfw/src/linux_joystick.h +68 -0
- data/ext/pixo/ext/glfw/src/mir_init.c +238 -0
- data/ext/pixo/ext/glfw/src/mir_monitor.c +182 -0
- data/ext/pixo/ext/glfw/src/mir_platform.h +130 -0
- data/ext/pixo/ext/glfw/src/mir_window.c +848 -0
- data/ext/pixo/ext/glfw/src/monitor.c +477 -0
- data/ext/pixo/ext/glfw/src/nsgl_context.h +60 -0
- data/ext/pixo/ext/glfw/src/nsgl_context.m +308 -0
- data/ext/pixo/ext/glfw/src/posix_time.c +85 -0
- data/ext/pixo/ext/glfw/src/posix_time.h +48 -0
- data/ext/pixo/ext/glfw/src/posix_tls.c +68 -0
- data/ext/pixo/ext/glfw/src/posix_tls.h +49 -0
- data/ext/pixo/ext/glfw/src/vulkan.c +302 -0
- data/ext/pixo/ext/glfw/src/wgl_context.c +718 -0
- data/ext/pixo/ext/glfw/src/wgl_context.h +157 -0
- data/ext/pixo/ext/glfw/src/win32_init.c +473 -0
- data/ext/pixo/ext/glfw/src/win32_joystick.c +763 -0
- data/ext/pixo/ext/glfw/src/win32_joystick.h +64 -0
- data/ext/pixo/ext/glfw/src/win32_monitor.c +401 -0
- data/ext/pixo/ext/glfw/src/win32_platform.h +350 -0
- data/ext/pixo/ext/glfw/src/win32_time.c +74 -0
- data/ext/pixo/ext/glfw/src/win32_tls.c +69 -0
- data/ext/pixo/ext/glfw/src/win32_window.c +1724 -0
- data/ext/pixo/ext/glfw/src/window.c +904 -0
- data/ext/pixo/ext/glfw/src/wl_init.c +658 -0
- data/ext/pixo/ext/glfw/src/wl_monitor.c +269 -0
- data/ext/pixo/ext/glfw/src/wl_platform.h +179 -0
- data/ext/pixo/ext/glfw/src/wl_window.c +1050 -0
- data/ext/pixo/ext/glfw/src/x11_init.c +833 -0
- data/ext/pixo/ext/glfw/src/x11_monitor.c +491 -0
- data/ext/pixo/ext/glfw/src/x11_platform.h +296 -0
- data/ext/pixo/ext/glfw/src/x11_window.c +2475 -0
- data/ext/pixo/ext/glfw/src/xkb_unicode.c +889 -0
- data/ext/pixo/ext/glfw/src/xkb_unicode.h +33 -0
- data/ext/pixo/ext/glfw/tests/CMakeLists.txt +80 -0
- data/ext/pixo/ext/glfw/tests/clipboard.c +157 -0
- data/ext/pixo/ext/glfw/tests/cursor.c +317 -0
- data/ext/pixo/ext/glfw/tests/empty.c +131 -0
- data/ext/pixo/ext/glfw/tests/events.c +620 -0
- data/ext/pixo/ext/glfw/tests/gamma.c +188 -0
- data/ext/pixo/ext/glfw/tests/glfwinfo.c +899 -0
- data/ext/pixo/ext/glfw/tests/icon.c +148 -0
- data/ext/pixo/ext/glfw/tests/iconify.c +298 -0
- data/ext/pixo/ext/glfw/tests/joysticks.c +216 -0
- data/ext/pixo/ext/glfw/tests/monitors.c +243 -0
- data/ext/pixo/ext/glfw/tests/msaa.c +163 -0
- data/ext/pixo/ext/glfw/tests/reopen.c +192 -0
- data/ext/pixo/ext/glfw/tests/sharing.c +186 -0
- data/ext/pixo/ext/glfw/tests/tearing.c +214 -0
- data/ext/pixo/ext/glfw/tests/threads.c +143 -0
- data/ext/pixo/ext/glfw/tests/timeout.c +97 -0
- data/ext/pixo/ext/glfw/tests/title.c +78 -0
- data/ext/pixo/ext/glfw/tests/vulkan.c +2245 -0
- data/ext/pixo/ext/glfw/tests/windows.c +166 -0
- data/ext/pixo/ext/glm/CMakeLists.txt +227 -0
- data/ext/pixo/ext/glm/cmake/CMakePackageConfigHelpers.cmake +227 -0
- data/ext/pixo/ext/glm/cmake/GNUInstallDirs.cmake +188 -0
- data/ext/pixo/ext/glm/cmake/glm.pc.in +7 -0
- data/ext/pixo/ext/glm/cmake/glmBuildConfig.cmake.in +6 -0
- data/ext/pixo/ext/glm/cmake/glmConfig.cmake.in +9 -0
- data/ext/pixo/ext/glm/copying.txt +54 -0
- data/ext/pixo/ext/glm/doc/api/a00001.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00001_source.html +457 -0
- data/ext/pixo/ext/glm/doc/api/a00002.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00002_source.html +83 -0
- data/ext/pixo/ext/glm/doc/api/a00003.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00003_source.html +167 -0
- data/ext/pixo/ext/glm/doc/api/a00004.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00004_source.html +857 -0
- data/ext/pixo/ext/glm/doc/api/a00005.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00005_source.html +754 -0
- data/ext/pixo/ext/glm/doc/api/a00006.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00006_source.html +194 -0
- data/ext/pixo/ext/glm/doc/api/a00007.html +141 -0
- data/ext/pixo/ext/glm/doc/api/a00007_source.html +207 -0
- data/ext/pixo/ext/glm/doc/api/a00008.html +102 -0
- data/ext/pixo/ext/glm/doc/api/a00008_source.html +111 -0
- data/ext/pixo/ext/glm/doc/api/a00009.html +137 -0
- data/ext/pixo/ext/glm/doc/api/a00009_source.html +149 -0
- data/ext/pixo/ext/glm/doc/api/a00010.html +80 -0
- data/ext/pixo/ext/glm/doc/api/a00010_source.html +90 -0
- data/ext/pixo/ext/glm/doc/api/a00011.html +88 -0
- data/ext/pixo/ext/glm/doc/api/a00011_source.html +97 -0
- data/ext/pixo/ext/glm/doc/api/a00012.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00012_source.html +107 -0
- data/ext/pixo/ext/glm/doc/api/a00013.html +85 -0
- data/ext/pixo/ext/glm/doc/api/a00013_source.html +98 -0
- data/ext/pixo/ext/glm/doc/api/a00014.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00014_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00015.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00015_source.html +88 -0
- data/ext/pixo/ext/glm/doc/api/a00016.html +327 -0
- data/ext/pixo/ext/glm/doc/api/a00016_source.html +239 -0
- data/ext/pixo/ext/glm/doc/api/a00017.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00017_source.html +102 -0
- data/ext/pixo/ext/glm/doc/api/a00018.html +162 -0
- data/ext/pixo/ext/glm/doc/api/a00018_source.html +193 -0
- data/ext/pixo/ext/glm/doc/api/a00019.html +129 -0
- data/ext/pixo/ext/glm/doc/api/a00019_source.html +271 -0
- data/ext/pixo/ext/glm/doc/api/a00020.html +89 -0
- data/ext/pixo/ext/glm/doc/api/a00020_source.html +105 -0
- data/ext/pixo/ext/glm/doc/api/a00021.html +126 -0
- data/ext/pixo/ext/glm/doc/api/a00021_source.html +175 -0
- data/ext/pixo/ext/glm/doc/api/a00022.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00022_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00023.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00023_source.html +219 -0
- data/ext/pixo/ext/glm/doc/api/a00024.html +76 -0
- data/ext/pixo/ext/glm/doc/api/a00024_source.html +84 -0
- data/ext/pixo/ext/glm/doc/api/a00025.html +111 -0
- data/ext/pixo/ext/glm/doc/api/a00025_source.html +157 -0
- data/ext/pixo/ext/glm/doc/api/a00026.html +111 -0
- data/ext/pixo/ext/glm/doc/api/a00026_source.html +118 -0
- data/ext/pixo/ext/glm/doc/api/a00027.html +100 -0
- data/ext/pixo/ext/glm/doc/api/a00027_source.html +111 -0
- data/ext/pixo/ext/glm/doc/api/a00028.html +97 -0
- data/ext/pixo/ext/glm/doc/api/a00028_source.html +109 -0
- data/ext/pixo/ext/glm/doc/api/a00029.html +168 -0
- data/ext/pixo/ext/glm/doc/api/a00029_source.html +238 -0
- data/ext/pixo/ext/glm/doc/api/a00030.html +94 -0
- data/ext/pixo/ext/glm/doc/api/a00030_source.html +110 -0
- data/ext/pixo/ext/glm/doc/api/a00031.html +97 -0
- data/ext/pixo/ext/glm/doc/api/a00031_source.html +121 -0
- data/ext/pixo/ext/glm/doc/api/a00032.html +112 -0
- data/ext/pixo/ext/glm/doc/api/a00032_source.html +149 -0
- data/ext/pixo/ext/glm/doc/api/a00033.html +85 -0
- data/ext/pixo/ext/glm/doc/api/a00033_source.html +165 -0
- data/ext/pixo/ext/glm/doc/api/a00034.html +99 -0
- data/ext/pixo/ext/glm/doc/api/a00034_source.html +115 -0
- data/ext/pixo/ext/glm/doc/api/a00035.html +118 -0
- data/ext/pixo/ext/glm/doc/api/a00035_source.html +135 -0
- data/ext/pixo/ext/glm/doc/api/a00036.html +100 -0
- data/ext/pixo/ext/glm/doc/api/a00036_source.html +111 -0
- data/ext/pixo/ext/glm/doc/api/a00037.html +83 -0
- data/ext/pixo/ext/glm/doc/api/a00037_source.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00038.html +979 -0
- data/ext/pixo/ext/glm/doc/api/a00038_source.html +1716 -0
- data/ext/pixo/ext/glm/doc/api/a00039.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00039_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00040.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00040_source.html +119 -0
- data/ext/pixo/ext/glm/doc/api/a00041.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00041_source.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00042.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00042_source.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00043.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00043_source.html +185 -0
- data/ext/pixo/ext/glm/doc/api/a00044.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00044_source.html +104 -0
- data/ext/pixo/ext/glm/doc/api/a00045.html +98 -0
- data/ext/pixo/ext/glm/doc/api/a00045_source.html +107 -0
- data/ext/pixo/ext/glm/doc/api/a00046.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00046_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00047.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00047_source.html +124 -0
- data/ext/pixo/ext/glm/doc/api/a00048.html +72 -0
- data/ext/pixo/ext/glm/doc/api/a00048_source.html +237 -0
- data/ext/pixo/ext/glm/doc/api/a00049.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00049_source.html +89 -0
- data/ext/pixo/ext/glm/doc/api/a00050_source.html +2457 -0
- data/ext/pixo/ext/glm/doc/api/a00051.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00051_source.html +88 -0
- data/ext/pixo/ext/glm/doc/api/a00052.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00052_source.html +80 -0
- data/ext/pixo/ext/glm/doc/api/a00053.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00053_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00054.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00054_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00055.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00055_source.html +88 -0
- data/ext/pixo/ext/glm/doc/api/a00056.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00056_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00057.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00057_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00058_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00059.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00059_source.html +88 -0
- data/ext/pixo/ext/glm/doc/api/a00060.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00060_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00061.html +85 -0
- data/ext/pixo/ext/glm/doc/api/a00061_source.html +101 -0
- data/ext/pixo/ext/glm/doc/api/a00062.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00062_source.html +87 -0
- data/ext/pixo/ext/glm/doc/api/a00063.html +76 -0
- data/ext/pixo/ext/glm/doc/api/a00063_source.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00064.html +265 -0
- data/ext/pixo/ext/glm/doc/api/a00064_source.html +438 -0
- data/ext/pixo/ext/glm/doc/api/a00065.html +86 -0
- data/ext/pixo/ext/glm/doc/api/a00065_source.html +104 -0
- data/ext/pixo/ext/glm/doc/api/a00066.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00066_source.html +89 -0
- data/ext/pixo/ext/glm/doc/api/a00067.html +111 -0
- data/ext/pixo/ext/glm/doc/api/a00067_source.html +143 -0
- data/ext/pixo/ext/glm/doc/api/a00068.html +100 -0
- data/ext/pixo/ext/glm/doc/api/a00068_source.html +122 -0
- data/ext/pixo/ext/glm/doc/api/a00069.html +99 -0
- data/ext/pixo/ext/glm/doc/api/a00069_source.html +108 -0
- data/ext/pixo/ext/glm/doc/api/a00070.html +158 -0
- data/ext/pixo/ext/glm/doc/api/a00070_source.html +289 -0
- data/ext/pixo/ext/glm/doc/api/a00071.html +89 -0
- data/ext/pixo/ext/glm/doc/api/a00071_source.html +110 -0
- data/ext/pixo/ext/glm/doc/api/a00072.html +77 -0
- data/ext/pixo/ext/glm/doc/api/a00072_source.html +84 -0
- data/ext/pixo/ext/glm/doc/api/a00073.html +82 -0
- data/ext/pixo/ext/glm/doc/api/a00073_source.html +100 -0
- data/ext/pixo/ext/glm/doc/api/a00074.html +99 -0
- data/ext/pixo/ext/glm/doc/api/a00074_source.html +121 -0
- data/ext/pixo/ext/glm/doc/api/a00075.html +78 -0
- data/ext/pixo/ext/glm/doc/api/a00075_source.html +84 -0
- data/ext/pixo/ext/glm/doc/api/a00076.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00076_source.html +85 -0
- data/ext/pixo/ext/glm/doc/api/a00077.html +107 -0
- data/ext/pixo/ext/glm/doc/api/a00077_source.html +115 -0
- data/ext/pixo/ext/glm/doc/api/a00078.html +82 -0
- data/ext/pixo/ext/glm/doc/api/a00078_source.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00079.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00079_source.html +86 -0
- data/ext/pixo/ext/glm/doc/api/a00080.html +175 -0
- data/ext/pixo/ext/glm/doc/api/a00080_source.html +233 -0
- data/ext/pixo/ext/glm/doc/api/a00081.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00081_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00082_source.html +61 -0
- data/ext/pixo/ext/glm/doc/api/a00083.html +78 -0
- data/ext/pixo/ext/glm/doc/api/a00083_source.html +84 -0
- data/ext/pixo/ext/glm/doc/api/a00084.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00084_source.html +87 -0
- data/ext/pixo/ext/glm/doc/api/a00085.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00085_source.html +123 -0
- data/ext/pixo/ext/glm/doc/api/a00086.html +76 -0
- data/ext/pixo/ext/glm/doc/api/a00086_source.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00087.html +161 -0
- data/ext/pixo/ext/glm/doc/api/a00087_source.html +329 -0
- data/ext/pixo/ext/glm/doc/api/a00088.html +129 -0
- data/ext/pixo/ext/glm/doc/api/a00088_source.html +189 -0
- data/ext/pixo/ext/glm/doc/api/a00089.html +98 -0
- data/ext/pixo/ext/glm/doc/api/a00089_source.html +115 -0
- data/ext/pixo/ext/glm/doc/api/a00090.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00090_source.html +133 -0
- data/ext/pixo/ext/glm/doc/api/a00091.html +81 -0
- data/ext/pixo/ext/glm/doc/api/a00091_source.html +90 -0
- data/ext/pixo/ext/glm/doc/api/a00092.html +109 -0
- data/ext/pixo/ext/glm/doc/api/a00092_source.html +126 -0
- data/ext/pixo/ext/glm/doc/api/a00093.html +83 -0
- data/ext/pixo/ext/glm/doc/api/a00093_source.html +94 -0
- data/ext/pixo/ext/glm/doc/api/a00094.html +108 -0
- data/ext/pixo/ext/glm/doc/api/a00094_source.html +143 -0
- data/ext/pixo/ext/glm/doc/api/a00095.html +126 -0
- data/ext/pixo/ext/glm/doc/api/a00095_source.html +149 -0
- data/ext/pixo/ext/glm/doc/api/a00096.html +69 -0
- data/ext/pixo/ext/glm/doc/api/a00096_source.html +131 -0
- data/ext/pixo/ext/glm/doc/api/a00097.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00097_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00098.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00098_source.html +827 -0
- data/ext/pixo/ext/glm/doc/api/a00099.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00099_source.html +219 -0
- data/ext/pixo/ext/glm/doc/api/a00100.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00100_source.html +282 -0
- data/ext/pixo/ext/glm/doc/api/a00101.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00101_source.html +402 -0
- data/ext/pixo/ext/glm/doc/api/a00102.html +82 -0
- data/ext/pixo/ext/glm/doc/api/a00102_source.html +105 -0
- data/ext/pixo/ext/glm/doc/api/a00103.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00103_source.html +102 -0
- data/ext/pixo/ext/glm/doc/api/a00104.html +82 -0
- data/ext/pixo/ext/glm/doc/api/a00104_source.html +89 -0
- data/ext/pixo/ext/glm/doc/api/a00105.html +88 -0
- data/ext/pixo/ext/glm/doc/api/a00105_source.html +95 -0
- data/ext/pixo/ext/glm/doc/api/a00106.html +102 -0
- data/ext/pixo/ext/glm/doc/api/a00106_source.html +144 -0
- data/ext/pixo/ext/glm/doc/api/a00107.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00107_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00108.html +241 -0
- data/ext/pixo/ext/glm/doc/api/a00108_source.html +383 -0
- data/ext/pixo/ext/glm/doc/api/a00109.html +493 -0
- data/ext/pixo/ext/glm/doc/api/a00109_source.html +769 -0
- data/ext/pixo/ext/glm/doc/api/a00110.html +82 -0
- data/ext/pixo/ext/glm/doc/api/a00110_source.html +113 -0
- data/ext/pixo/ext/glm/doc/api/a00111.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00111_source.html +248 -0
- data/ext/pixo/ext/glm/doc/api/a00112.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00112_source.html +79 -0
- data/ext/pixo/ext/glm/doc/api/a00113.html +102 -0
- data/ext/pixo/ext/glm/doc/api/a00113_source.html +352 -0
- data/ext/pixo/ext/glm/doc/api/a00114.html +271 -0
- data/ext/pixo/ext/glm/doc/api/a00114_source.html +469 -0
- data/ext/pixo/ext/glm/doc/api/a00115.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00115_source.html +245 -0
- data/ext/pixo/ext/glm/doc/api/a00116.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00116_source.html +228 -0
- data/ext/pixo/ext/glm/doc/api/a00117.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00117_source.html +230 -0
- data/ext/pixo/ext/glm/doc/api/a00118.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00118_source.html +236 -0
- data/ext/pixo/ext/glm/doc/api/a00119.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00119_source.html +252 -0
- data/ext/pixo/ext/glm/doc/api/a00120.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00120_source.html +235 -0
- data/ext/pixo/ext/glm/doc/api/a00121.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00121_source.html +240 -0
- data/ext/pixo/ext/glm/doc/api/a00122.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00122_source.html +240 -0
- data/ext/pixo/ext/glm/doc/api/a00123.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00123_source.html +257 -0
- data/ext/pixo/ext/glm/doc/api/a00124.html +71 -0
- data/ext/pixo/ext/glm/doc/api/a00124_source.html +692 -0
- data/ext/pixo/ext/glm/doc/api/a00125.html +128 -0
- data/ext/pixo/ext/glm/doc/api/a00125_source.html +158 -0
- data/ext/pixo/ext/glm/doc/api/a00126.html +67 -0
- data/ext/pixo/ext/glm/doc/api/a00126_source.html +299 -0
- data/ext/pixo/ext/glm/doc/api/a00127.html +192 -0
- data/ext/pixo/ext/glm/doc/api/a00127_source.html +435 -0
- data/ext/pixo/ext/glm/doc/api/a00128.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00128_source.html +357 -0
- data/ext/pixo/ext/glm/doc/api/a00129.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00129_source.html +443 -0
- data/ext/pixo/ext/glm/doc/api/a00130.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00130_source.html +461 -0
- data/ext/pixo/ext/glm/doc/api/a00131.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00131_source.html +500 -0
- data/ext/pixo/ext/glm/doc/api/a00132.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00132_source.html +101 -0
- data/ext/pixo/ext/glm/doc/api/a00133.html +107 -0
- data/ext/pixo/ext/glm/doc/api/a00133_source.html +159 -0
- data/ext/pixo/ext/glm/doc/api/a00134.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00134_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00135.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00135_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00136.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00136_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00137.html +86 -0
- data/ext/pixo/ext/glm/doc/api/a00137_source.html +98 -0
- data/ext/pixo/ext/glm/doc/api/a00138.html +91 -0
- data/ext/pixo/ext/glm/doc/api/a00138_source.html +104 -0
- data/ext/pixo/ext/glm/doc/api/a00139.html +66 -0
- data/ext/pixo/ext/glm/doc/api/a00139_source.html +65 -0
- data/ext/pixo/ext/glm/doc/api/a00140.html +85 -0
- data/ext/pixo/ext/glm/doc/api/a00140_source.html +94 -0
- data/ext/pixo/ext/glm/doc/api/a00146.html +1123 -0
- data/ext/pixo/ext/glm/doc/api/a00147.html +325 -0
- data/ext/pixo/ext/glm/doc/api/a00148.html +367 -0
- data/ext/pixo/ext/glm/doc/api/a00149.html +577 -0
- data/ext/pixo/ext/glm/doc/api/a00150.html +210 -0
- data/ext/pixo/ext/glm/doc/api/a00151.html +364 -0
- data/ext/pixo/ext/glm/doc/api/a00152.html +532 -0
- data/ext/pixo/ext/glm/doc/api/a00153.html +393 -0
- data/ext/pixo/ext/glm/doc/api/a00154.html +103 -0
- data/ext/pixo/ext/glm/doc/api/a00155.html +177 -0
- data/ext/pixo/ext/glm/doc/api/a00156.html +84 -0
- data/ext/pixo/ext/glm/doc/api/a00157.html +808 -0
- data/ext/pixo/ext/glm/doc/api/a00158.html +2827 -0
- data/ext/pixo/ext/glm/doc/api/a00159.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00160.html +985 -0
- data/ext/pixo/ext/glm/doc/api/a00161.html +141 -0
- data/ext/pixo/ext/glm/doc/api/a00162.html +670 -0
- data/ext/pixo/ext/glm/doc/api/a00163.html +217 -0
- data/ext/pixo/ext/glm/doc/api/a00164.html +137 -0
- data/ext/pixo/ext/glm/doc/api/a00165.html +290 -0
- data/ext/pixo/ext/glm/doc/api/a00166.html +201 -0
- data/ext/pixo/ext/glm/doc/api/a00167.html +1885 -0
- data/ext/pixo/ext/glm/doc/api/a00168.html +129 -0
- data/ext/pixo/ext/glm/doc/api/a00169.html +1690 -0
- data/ext/pixo/ext/glm/doc/api/a00170.html +136 -0
- data/ext/pixo/ext/glm/doc/api/a00171.html +1406 -0
- data/ext/pixo/ext/glm/doc/api/a00172.html +939 -0
- data/ext/pixo/ext/glm/doc/api/a00173.html +303 -0
- data/ext/pixo/ext/glm/doc/api/a00174.html +406 -0
- data/ext/pixo/ext/glm/doc/api/a00175.html +603 -0
- data/ext/pixo/ext/glm/doc/api/a00176.html +688 -0
- data/ext/pixo/ext/glm/doc/api/a00177.html +3678 -0
- data/ext/pixo/ext/glm/doc/api/a00178.html +445 -0
- data/ext/pixo/ext/glm/doc/api/a00179.html +233 -0
- data/ext/pixo/ext/glm/doc/api/a00180.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00181.html +1293 -0
- data/ext/pixo/ext/glm/doc/api/a00182.html +273 -0
- data/ext/pixo/ext/glm/doc/api/a00183.html +103 -0
- data/ext/pixo/ext/glm/doc/api/a00184.html +213 -0
- data/ext/pixo/ext/glm/doc/api/a00185.html +153 -0
- data/ext/pixo/ext/glm/doc/api/a00186.html +117 -0
- data/ext/pixo/ext/glm/doc/api/a00187.html +312 -0
- data/ext/pixo/ext/glm/doc/api/a00188.html +193 -0
- data/ext/pixo/ext/glm/doc/api/a00189.html +464 -0
- data/ext/pixo/ext/glm/doc/api/a00190.html +565 -0
- data/ext/pixo/ext/glm/doc/api/a00191.html +99 -0
- data/ext/pixo/ext/glm/doc/api/a00192.html +553 -0
- data/ext/pixo/ext/glm/doc/api/a00193.html +355 -0
- data/ext/pixo/ext/glm/doc/api/a00194.html +282 -0
- data/ext/pixo/ext/glm/doc/api/a00195.html +246 -0
- data/ext/pixo/ext/glm/doc/api/a00196.html +143 -0
- data/ext/pixo/ext/glm/doc/api/a00197.html +137 -0
- data/ext/pixo/ext/glm/doc/api/a00198.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00199.html +314 -0
- data/ext/pixo/ext/glm/doc/api/a00200.html +397 -0
- data/ext/pixo/ext/glm/doc/api/a00201.html +55 -0
- data/ext/pixo/ext/glm/doc/api/a00202.html +126 -0
- data/ext/pixo/ext/glm/doc/api/a00203.html +105 -0
- data/ext/pixo/ext/glm/doc/api/a00204.html +117 -0
- data/ext/pixo/ext/glm/doc/api/a00205.html +191 -0
- data/ext/pixo/ext/glm/doc/api/a00206.html +421 -0
- data/ext/pixo/ext/glm/doc/api/a00207.html +259 -0
- data/ext/pixo/ext/glm/doc/api/a00208.html +317 -0
- data/ext/pixo/ext/glm/doc/api/a00209.html +251 -0
- data/ext/pixo/ext/glm/doc/api/a00210.html +64 -0
- data/ext/pixo/ext/glm/doc/api/a00211.html +293 -0
- data/ext/pixo/ext/glm/doc/api/a00212.html +99 -0
- data/ext/pixo/ext/glm/doc/api/a00213.html +127 -0
- data/ext/pixo/ext/glm/doc/api/a00214.html +90 -0
- data/ext/pixo/ext/glm/doc/api/a00215.html +127 -0
- data/ext/pixo/ext/glm/doc/api/a00216.html +115 -0
- data/ext/pixo/ext/glm/doc/api/a00217.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00218.html +105 -0
- data/ext/pixo/ext/glm/doc/api/a00219.html +93 -0
- data/ext/pixo/ext/glm/doc/api/a00220.html +613 -0
- data/ext/pixo/ext/glm/doc/api/a00221.html +55 -0
- data/ext/pixo/ext/glm/doc/api/a00222.html +137 -0
- data/ext/pixo/ext/glm/doc/api/a00223.html +165 -0
- data/ext/pixo/ext/glm/doc/api/a00224.html +439 -0
- data/ext/pixo/ext/glm/doc/api/a00225.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00226.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00227.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00228.html +53 -0
- data/ext/pixo/ext/glm/doc/api/a00229.html +211 -0
- data/ext/pixo/ext/glm/doc/api/a00230.html +213 -0
- data/ext/pixo/ext/glm/doc/api/a00231.html +83 -0
- data/ext/pixo/ext/glm/doc/api/a00232.html +143 -0
- data/ext/pixo/ext/glm/doc/api/a00233.html +372 -0
- data/ext/pixo/ext/glm/doc/api/a00234.html +7811 -0
- data/ext/pixo/ext/glm/doc/api/a00235.html +54 -0
- data/ext/pixo/ext/glm/doc/api/a00236.html +163 -0
- data/ext/pixo/ext/glm/doc/api/a00237.html +271 -0
- data/ext/pixo/ext/glm/doc/api/a00238.html +149 -0
- data/ext/pixo/ext/glm/doc/api/arrowdown.png +0 -0
- data/ext/pixo/ext/glm/doc/api/arrowright.png +0 -0
- data/ext/pixo/ext/glm/doc/api/bc_s.png +0 -0
- data/ext/pixo/ext/glm/doc/api/bdwn.png +0 -0
- data/ext/pixo/ext/glm/doc/api/closed.png +0 -0
- data/ext/pixo/ext/glm/doc/api/dir_1f76e953200861345293ade84ac7fb6c.html +61 -0
- data/ext/pixo/ext/glm/doc/api/dir_275089585c7fc1b5fd5d7d42c69cb1da.html +61 -0
- data/ext/pixo/ext/glm/doc/api/dir_577c788b67d63fb3b3b5752bd495d0f2.html +63 -0
- data/ext/pixo/ext/glm/doc/api/dir_5ce58d942b2d0776e17a9a58abc01e04.html +114 -0
- data/ext/pixo/ext/glm/doc/api/dir_7b98f88bffbed4b390b5f8f520d9c08e.html +61 -0
- data/ext/pixo/ext/glm/doc/api/dir_8d176b5b7dd0ae42ea6876078f2bde49.html +177 -0
- data/ext/pixo/ext/glm/doc/api/dir_9440d7c11b99dcd7e5d369c7cf9802fe.html +101 -0
- data/ext/pixo/ext/glm/doc/api/dir_e29b03b892e0e25920d021a614d4db9b.html +63 -0
- data/ext/pixo/ext/glm/doc/api/dir_e529a619cfdec1fa4c331fb042fd332f.html +129 -0
- data/ext/pixo/ext/glm/doc/api/doc.png +0 -0
- data/ext/pixo/ext/glm/doc/api/doxygen.css +865 -0
- data/ext/pixo/ext/glm/doc/api/doxygen.png +0 -0
- data/ext/pixo/ext/glm/doc/api/dynsections.js +104 -0
- data/ext/pixo/ext/glm/doc/api/files.html +200 -0
- data/ext/pixo/ext/glm/doc/api/folderclosed.png +0 -0
- data/ext/pixo/ext/glm/doc/api/folderopen.png +0 -0
- data/ext/pixo/ext/glm/doc/api/index.html +68 -0
- data/ext/pixo/ext/glm/doc/api/jquery.js +68 -0
- data/ext/pixo/ext/glm/doc/api/logo.png +0 -0
- data/ext/pixo/ext/glm/doc/api/modules.html +149 -0
- data/ext/pixo/ext/glm/doc/api/nav_f.png +0 -0
- data/ext/pixo/ext/glm/doc/api/nav_g.png +0 -0
- data/ext/pixo/ext/glm/doc/api/nav_h.png +0 -0
- data/ext/pixo/ext/glm/doc/api/open.png +0 -0
- data/ext/pixo/ext/glm/doc/api/splitbar.png +0 -0
- data/ext/pixo/ext/glm/doc/api/sync_off.png +0 -0
- data/ext/pixo/ext/glm/doc/api/sync_on.png +0 -0
- data/ext/pixo/ext/glm/doc/api/tab_a.png +0 -0
- data/ext/pixo/ext/glm/doc/api/tab_b.png +0 -0
- data/ext/pixo/ext/glm/doc/api/tab_h.png +0 -0
- data/ext/pixo/ext/glm/doc/api/tab_s.png +0 -0
- data/ext/pixo/ext/glm/doc/api/tabs.css +79 -0
- data/ext/pixo/ext/glm/doc/glm.docx +0 -0
- data/ext/pixo/ext/glm/doc/glm.pdf +0 -0
- data/ext/pixo/ext/glm/doc/logo.png +0 -0
- data/ext/pixo/ext/glm/doc/man.doxy +2396 -0
- data/ext/pixo/ext/glm/doc/pages.doxy +32 -0
- data/ext/pixo/ext/glm/doc/theme/doxygen.css +865 -0
- data/ext/pixo/ext/glm/doc/theme/tabs.css +79 -0
- data/ext/pixo/ext/glm/glm/CMakeLists.txt +67 -0
- data/ext/pixo/ext/glm/glm/common.hpp +6 -0
- data/ext/pixo/ext/glm/glm/detail/_features.hpp +399 -0
- data/ext/pixo/ext/glm/glm/detail/_fixes.hpp +30 -0
- data/ext/pixo/ext/glm/glm/detail/_noise.hpp +107 -0
- data/ext/pixo/ext/glm/glm/detail/_swizzle.hpp +797 -0
- data/ext/pixo/ext/glm/glm/detail/_swizzle_func.hpp +696 -0
- data/ext/pixo/ext/glm/glm/detail/_vectorize.hpp +131 -0
- data/ext/pixo/ext/glm/glm/detail/dummy.cpp +207 -0
- data/ext/pixo/ext/glm/glm/detail/func_common.hpp +427 -0
- data/ext/pixo/ext/glm/glm/detail/func_common.inl +848 -0
- data/ext/pixo/ext/glm/glm/detail/func_common_simd.inl +231 -0
- data/ext/pixo/ext/glm/glm/detail/func_exponential.hpp +103 -0
- data/ext/pixo/ext/glm/glm/detail/func_exponential.inl +146 -0
- data/ext/pixo/ext/glm/glm/detail/func_exponential_simd.inl +35 -0
- data/ext/pixo/ext/glm/glm/detail/func_geometric.hpp +113 -0
- data/ext/pixo/ext/glm/glm/detail/func_geometric.inl +247 -0
- data/ext/pixo/ext/glm/glm/detail/func_geometric_simd.inl +99 -0
- data/ext/pixo/ext/glm/glm/detail/func_integer.hpp +203 -0
- data/ext/pixo/ext/glm/glm/detail/func_integer.inl +375 -0
- data/ext/pixo/ext/glm/glm/detail/func_integer_simd.inl +66 -0
- data/ext/pixo/ext/glm/glm/detail/func_matrix.hpp +149 -0
- data/ext/pixo/ext/glm/glm/detail/func_matrix.inl +401 -0
- data/ext/pixo/ext/glm/glm/detail/func_matrix_simd.inl +88 -0
- data/ext/pixo/ext/glm/glm/detail/func_packing.hpp +168 -0
- data/ext/pixo/ext/glm/glm/detail/func_packing.inl +190 -0
- data/ext/pixo/ext/glm/glm/detail/func_packing_simd.inl +9 -0
- data/ext/pixo/ext/glm/glm/detail/func_trigonometric.hpp +176 -0
- data/ext/pixo/ext/glm/glm/detail/func_trigonometric.inl +200 -0
- data/ext/pixo/ext/glm/glm/detail/func_trigonometric_simd.inl +0 -0
- data/ext/pixo/ext/glm/glm/detail/func_vector_relational.hpp +111 -0
- data/ext/pixo/ext/glm/glm/detail/func_vector_relational.inl +105 -0
- data/ext/pixo/ext/glm/glm/detail/func_vector_relational_simd.inl +9 -0
- data/ext/pixo/ext/glm/glm/detail/glm.cpp +257 -0
- data/ext/pixo/ext/glm/glm/detail/precision.hpp +63 -0
- data/ext/pixo/ext/glm/glm/detail/setup.hpp +777 -0
- data/ext/pixo/ext/glm/glm/detail/type_float.hpp +67 -0
- data/ext/pixo/ext/glm/glm/detail/type_gentype.hpp +195 -0
- data/ext/pixo/ext/glm/glm/detail/type_gentype.inl +341 -0
- data/ext/pixo/ext/glm/glm/detail/type_half.hpp +19 -0
- data/ext/pixo/ext/glm/glm/detail/type_half.inl +244 -0
- data/ext/pixo/ext/glm/glm/detail/type_int.hpp +306 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat.hpp +767 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat.inl +3 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat2x2.hpp +183 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat2x2.inl +490 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat2x3.hpp +165 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat2x3.inl +464 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat2x4.hpp +167 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat2x4.inl +473 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat3x2.hpp +173 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat3x2.inl +498 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat3x3.hpp +190 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat3x3.inl +567 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat3x4.hpp +172 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat3x4.inl +538 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x2.hpp +177 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x2.inl +551 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x3.hpp +177 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x3.inl +568 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x4.hpp +195 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x4.inl +677 -0
- data/ext/pixo/ext/glm/glm/detail/type_mat4x4_simd.inl +7 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec.hpp +576 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec.inl +2 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec1.hpp +299 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec1.inl +564 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec2.hpp +385 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec2.inl +900 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec3.hpp +406 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec3.inl +1028 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec4.hpp +451 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec4.inl +975 -0
- data/ext/pixo/ext/glm/glm/detail/type_vec4_simd.inl +481 -0
- data/ext/pixo/ext/glm/glm/exponential.hpp +6 -0
- data/ext/pixo/ext/glm/glm/ext.hpp +117 -0
- data/ext/pixo/ext/glm/glm/fwd.hpp +2570 -0
- data/ext/pixo/ext/glm/glm/geometric.hpp +6 -0
- data/ext/pixo/ext/glm/glm/glm.hpp +88 -0
- data/ext/pixo/ext/glm/glm/gtc/bitfield.hpp +207 -0
- data/ext/pixo/ext/glm/glm/gtc/bitfield.inl +515 -0
- data/ext/pixo/ext/glm/glm/gtc/color_encoding.hpp +50 -0
- data/ext/pixo/ext/glm/glm/gtc/color_encoding.inl +65 -0
- data/ext/pixo/ext/glm/glm/gtc/color_space.hpp +56 -0
- data/ext/pixo/ext/glm/glm/gtc/color_space.inl +75 -0
- data/ext/pixo/ext/glm/glm/gtc/constants.hpp +176 -0
- data/ext/pixo/ext/glm/glm/gtc/constants.inl +181 -0
- data/ext/pixo/ext/glm/glm/gtc/epsilon.hpp +73 -0
- data/ext/pixo/ext/glm/glm/gtc/epsilon.inl +125 -0
- data/ext/pixo/ext/glm/glm/gtc/functions.hpp +53 -0
- data/ext/pixo/ext/glm/glm/gtc/functions.inl +31 -0
- data/ext/pixo/ext/glm/glm/gtc/integer.hpp +102 -0
- data/ext/pixo/ext/glm/glm/gtc/integer.inl +71 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_access.hpp +59 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_access.inl +63 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_integer.hpp +486 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_inverse.hpp +49 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_inverse.inl +120 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_transform.hpp +465 -0
- data/ext/pixo/ext/glm/glm/gtc/matrix_transform.inl +575 -0
- data/ext/pixo/ext/glm/glm/gtc/noise.hpp +60 -0
- data/ext/pixo/ext/glm/glm/gtc/noise.inl +808 -0
- data/ext/pixo/ext/glm/glm/gtc/packing.hpp +579 -0
- data/ext/pixo/ext/glm/glm/gtc/packing.inl +781 -0
- data/ext/pixo/ext/glm/glm/gtc/quaternion.hpp +397 -0
- data/ext/pixo/ext/glm/glm/gtc/quaternion.inl +801 -0
- data/ext/pixo/ext/glm/glm/gtc/quaternion_simd.inl +198 -0
- data/ext/pixo/ext/glm/glm/gtc/random.hpp +98 -0
- data/ext/pixo/ext/glm/glm/gtc/random.inl +350 -0
- data/ext/pixo/ext/glm/glm/gtc/reciprocal.hpp +135 -0
- data/ext/pixo/ext/glm/glm/gtc/reciprocal.inl +192 -0
- data/ext/pixo/ext/glm/glm/gtc/round.hpp +174 -0
- data/ext/pixo/ext/glm/glm/gtc/round.inl +344 -0
- data/ext/pixo/ext/glm/glm/gtc/type_aligned.hpp +362 -0
- data/ext/pixo/ext/glm/glm/gtc/type_precision.hpp +861 -0
- data/ext/pixo/ext/glm/glm/gtc/type_precision.inl +7 -0
- data/ext/pixo/ext/glm/glm/gtc/type_ptr.hpp +149 -0
- data/ext/pixo/ext/glm/glm/gtc/type_ptr.inl +450 -0
- data/ext/pixo/ext/glm/glm/gtc/ulp.hpp +63 -0
- data/ext/pixo/ext/glm/glm/gtc/ulp.inl +321 -0
- data/ext/pixo/ext/glm/glm/gtc/vec1.hpp +164 -0
- data/ext/pixo/ext/glm/glm/gtc/vec1.inl +2 -0
- data/ext/pixo/ext/glm/glm/gtx/associated_min_max.hpp +202 -0
- data/ext/pixo/ext/glm/glm/gtx/associated_min_max.inl +355 -0
- data/ext/pixo/ext/glm/glm/gtx/bit.hpp +95 -0
- data/ext/pixo/ext/glm/glm/gtx/bit.inl +93 -0
- data/ext/pixo/ext/glm/glm/gtx/closest_point.hpp +45 -0
- data/ext/pixo/ext/glm/glm/gtx/closest_point.inl +46 -0
- data/ext/pixo/ext/glm/glm/gtx/color_space.hpp +68 -0
- data/ext/pixo/ext/glm/glm/gtx/color_space.inl +143 -0
- data/ext/pixo/ext/glm/glm/gtx/color_space_YCoCg.hpp +56 -0
- data/ext/pixo/ext/glm/glm/gtx/color_space_YCoCg.inl +108 -0
- data/ext/pixo/ext/glm/glm/gtx/common.hpp +53 -0
- data/ext/pixo/ext/glm/glm/gtx/common.inl +112 -0
- data/ext/pixo/ext/glm/glm/gtx/compatibility.hpp +130 -0
- data/ext/pixo/ext/glm/glm/gtx/compatibility.inl +65 -0
- data/ext/pixo/ext/glm/glm/gtx/component_wise.hpp +65 -0
- data/ext/pixo/ext/glm/glm/gtx/component_wise.inl +128 -0
- data/ext/pixo/ext/glm/glm/gtx/dual_quaternion.hpp +266 -0
- data/ext/pixo/ext/glm/glm/gtx/dual_quaternion.inl +357 -0
- data/ext/pixo/ext/glm/glm/gtx/euler_angles.hpp +143 -0
- data/ext/pixo/ext/glm/glm/gtx/euler_angles.inl +312 -0
- data/ext/pixo/ext/glm/glm/gtx/extend.hpp +38 -0
- data/ext/pixo/ext/glm/glm/gtx/extend.inl +49 -0
- data/ext/pixo/ext/glm/glm/gtx/extended_min_max.hpp +133 -0
- data/ext/pixo/ext/glm/glm/gtx/extended_min_max.inl +140 -0
- data/ext/pixo/ext/glm/glm/gtx/fast_exponential.hpp +91 -0
- data/ext/pixo/ext/glm/glm/gtx/fast_exponential.inl +137 -0
- data/ext/pixo/ext/glm/glm/gtx/fast_square_root.hpp +88 -0
- data/ext/pixo/ext/glm/glm/gtx/fast_square_root.inl +81 -0
- data/ext/pixo/ext/glm/glm/gtx/fast_trigonometry.hpp +75 -0
- data/ext/pixo/ext/glm/glm/gtx/fast_trigonometry.inl +143 -0
- data/ext/pixo/ext/glm/glm/gtx/float_notmalize.inl +14 -0
- data/ext/pixo/ext/glm/glm/gtx/gradient_paint.hpp +48 -0
- data/ext/pixo/ext/glm/glm/gtx/gradient_paint.inl +37 -0
- data/ext/pixo/ext/glm/glm/gtx/handed_coordinate_space.hpp +46 -0
- data/ext/pixo/ext/glm/glm/gtx/handed_coordinate_space.inl +27 -0
- data/ext/pixo/ext/glm/glm/gtx/hash.hpp +134 -0
- data/ext/pixo/ext/glm/glm/gtx/hash.inl +185 -0
- data/ext/pixo/ext/glm/glm/gtx/integer.hpp +72 -0
- data/ext/pixo/ext/glm/glm/gtx/integer.inl +182 -0
- data/ext/pixo/ext/glm/glm/gtx/intersect.hpp +87 -0
- data/ext/pixo/ext/glm/glm/gtx/intersect.inl +170 -0
- data/ext/pixo/ext/glm/glm/gtx/io.hpp +197 -0
- data/ext/pixo/ext/glm/glm/gtx/io.inl +441 -0
- data/ext/pixo/ext/glm/glm/gtx/log_base.hpp +44 -0
- data/ext/pixo/ext/glm/glm/gtx/log_base.inl +18 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_cross_product.hpp +43 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_cross_product.inl +38 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_decompose.hpp +42 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_decompose.inl +194 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_interpolation.hpp +61 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_interpolation.inl +134 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_major_storage.hpp +115 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_major_storage.inl +167 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_operation.hpp +84 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_operation.inl +118 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_query.hpp +73 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_query.inl +114 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_transform_2d.hpp +78 -0
- data/ext/pixo/ext/glm/glm/gtx/matrix_transform_2d.inl +69 -0
- data/ext/pixo/ext/glm/glm/gtx/mixed_product.hpp +37 -0
- data/ext/pixo/ext/glm/glm/gtx/mixed_product.inl +16 -0
- data/ext/pixo/ext/glm/glm/gtx/norm.hpp +86 -0
- data/ext/pixo/ext/glm/glm/gtx/norm.inl +106 -0
- data/ext/pixo/ext/glm/glm/gtx/normal.hpp +39 -0
- data/ext/pixo/ext/glm/glm/gtx/normal.inl +16 -0
- data/ext/pixo/ext/glm/glm/gtx/normalize_dot.hpp +45 -0
- data/ext/pixo/ext/glm/glm/gtx/normalize_dot.inl +17 -0
- data/ext/pixo/ext/glm/glm/gtx/number_precision.hpp +57 -0
- data/ext/pixo/ext/glm/glm/gtx/number_precision.inl +7 -0
- data/ext/pixo/ext/glm/glm/gtx/optimum_pow.hpp +50 -0
- data/ext/pixo/ext/glm/glm/gtx/optimum_pow.inl +23 -0
- data/ext/pixo/ext/glm/glm/gtx/orthonormalize.hpp +45 -0
- data/ext/pixo/ext/glm/glm/gtx/orthonormalize.inl +30 -0
- data/ext/pixo/ext/glm/glm/gtx/perpendicular.hpp +39 -0
- data/ext/pixo/ext/glm/glm/gtx/perpendicular.inl +15 -0
- data/ext/pixo/ext/glm/glm/gtx/polar_coordinates.hpp +44 -0
- data/ext/pixo/ext/glm/glm/gtx/polar_coordinates.inl +37 -0
- data/ext/pixo/ext/glm/glm/gtx/projection.hpp +36 -0
- data/ext/pixo/ext/glm/glm/gtx/projection.inl +11 -0
- data/ext/pixo/ext/glm/glm/gtx/quaternion.hpp +185 -0
- data/ext/pixo/ext/glm/glm/gtx/quaternion.inl +212 -0
- data/ext/pixo/ext/glm/glm/gtx/range.hpp +85 -0
- data/ext/pixo/ext/glm/glm/gtx/raw_data.hpp +47 -0
- data/ext/pixo/ext/glm/glm/gtx/raw_data.inl +2 -0
- data/ext/pixo/ext/glm/glm/gtx/rotate_normalized_axis.hpp +64 -0
- data/ext/pixo/ext/glm/glm/gtx/rotate_normalized_axis.inl +59 -0
- data/ext/pixo/ext/glm/glm/gtx/rotate_vector.hpp +117 -0
- data/ext/pixo/ext/glm/glm/gtx/rotate_vector.inl +188 -0
- data/ext/pixo/ext/glm/glm/gtx/scalar_multiplication.hpp +69 -0
- data/ext/pixo/ext/glm/glm/gtx/scalar_relational.hpp +32 -0
- data/ext/pixo/ext/glm/glm/gtx/scalar_relational.inl +89 -0
- data/ext/pixo/ext/glm/glm/gtx/spline.hpp +61 -0
- data/ext/pixo/ext/glm/glm/gtx/spline.inl +63 -0
- data/ext/pixo/ext/glm/glm/gtx/std_based_type.hpp +63 -0
- data/ext/pixo/ext/glm/glm/gtx/std_based_type.inl +7 -0
- data/ext/pixo/ext/glm/glm/gtx/string_cast.hpp +47 -0
- data/ext/pixo/ext/glm/glm/gtx/string_cast.inl +458 -0
- data/ext/pixo/ext/glm/glm/gtx/transform.hpp +56 -0
- data/ext/pixo/ext/glm/glm/gtx/transform.inl +24 -0
- data/ext/pixo/ext/glm/glm/gtx/transform2.hpp +107 -0
- data/ext/pixo/ext/glm/glm/gtx/transform2.inl +126 -0
- data/ext/pixo/ext/glm/glm/gtx/type_aligned.hpp +966 -0
- data/ext/pixo/ext/glm/glm/gtx/type_aligned.inl +7 -0
- data/ext/pixo/ext/glm/glm/gtx/type_trait.hpp +252 -0
- data/ext/pixo/ext/glm/glm/gtx/type_trait.inl +0 -0
- data/ext/pixo/ext/glm/glm/gtx/vector_angle.hpp +60 -0
- data/ext/pixo/ext/glm/glm/gtx/vector_angle.inl +58 -0
- data/ext/pixo/ext/glm/glm/gtx/vector_query.hpp +62 -0
- data/ext/pixo/ext/glm/glm/gtx/vector_query.inl +193 -0
- data/ext/pixo/ext/glm/glm/gtx/wrap.hpp +51 -0
- data/ext/pixo/ext/glm/glm/gtx/wrap.inl +58 -0
- data/ext/pixo/ext/glm/glm/integer.hpp +6 -0
- data/ext/pixo/ext/glm/glm/mat2x2.hpp +52 -0
- data/ext/pixo/ext/glm/glm/mat2x3.hpp +32 -0
- data/ext/pixo/ext/glm/glm/mat2x4.hpp +31 -0
- data/ext/pixo/ext/glm/glm/mat3x2.hpp +31 -0
- data/ext/pixo/ext/glm/glm/mat3x3.hpp +52 -0
- data/ext/pixo/ext/glm/glm/mat3x4.hpp +31 -0
- data/ext/pixo/ext/glm/glm/mat4x2.hpp +31 -0
- data/ext/pixo/ext/glm/glm/mat4x3.hpp +31 -0
- data/ext/pixo/ext/glm/glm/mat4x4.hpp +52 -0
- data/ext/pixo/ext/glm/glm/matrix.hpp +6 -0
- data/ext/pixo/ext/glm/glm/packing.hpp +6 -0
- data/ext/pixo/ext/glm/glm/simd/common.h +240 -0
- data/ext/pixo/ext/glm/glm/simd/exponential.h +20 -0
- data/ext/pixo/ext/glm/glm/simd/geometric.h +124 -0
- data/ext/pixo/ext/glm/glm/simd/integer.h +115 -0
- data/ext/pixo/ext/glm/glm/simd/matrix.h +1028 -0
- data/ext/pixo/ext/glm/glm/simd/packing.h +8 -0
- data/ext/pixo/ext/glm/glm/simd/platform.h +437 -0
- data/ext/pixo/ext/glm/glm/simd/trigonometric.h +9 -0
- data/ext/pixo/ext/glm/glm/simd/vector_relational.h +8 -0
- data/ext/pixo/ext/glm/glm/trigonometric.hpp +6 -0
- data/ext/pixo/ext/glm/glm/vec2.hpp +6 -0
- data/ext/pixo/ext/glm/glm/vec3.hpp +6 -0
- data/ext/pixo/ext/glm/glm/vec4.hpp +6 -0
- data/ext/pixo/ext/glm/glm/vector_relational.hpp +6 -0
- data/ext/pixo/ext/glm/readme.md +962 -0
- data/ext/pixo/ext/glm/test/CMakeLists.txt +17 -0
- data/ext/pixo/ext/glm/test/bug/CMakeLists.txt +0 -0
- data/ext/pixo/ext/glm/test/core/CMakeLists.txt +38 -0
- data/ext/pixo/ext/glm/test/core/core_func_common.cpp +1272 -0
- data/ext/pixo/ext/glm/test/core/core_func_exponential.cpp +128 -0
- data/ext/pixo/ext/glm/test/core/core_func_geometric.cpp +193 -0
- data/ext/pixo/ext/glm/test/core/core_func_integer.cpp +1554 -0
- data/ext/pixo/ext/glm/test/core/core_func_integer_bit_count.cpp +291 -0
- data/ext/pixo/ext/glm/test/core/core_func_integer_find_lsb.cpp +400 -0
- data/ext/pixo/ext/glm/test/core/core_func_integer_find_msb.cpp +438 -0
- data/ext/pixo/ext/glm/test/core/core_func_matrix.cpp +277 -0
- data/ext/pixo/ext/glm/test/core/core_func_noise.cpp +7 -0
- data/ext/pixo/ext/glm/test/core/core_func_packing.cpp +156 -0
- data/ext/pixo/ext/glm/test/core/core_func_swizzle.cpp +78 -0
- data/ext/pixo/ext/glm/test/core/core_func_trigonometric.cpp +10 -0
- data/ext/pixo/ext/glm/test/core/core_func_vector_relational.cpp +42 -0
- data/ext/pixo/ext/glm/test/core/core_setup_force_cxx98.cpp +10 -0
- data/ext/pixo/ext/glm/test/core/core_setup_message.cpp +263 -0
- data/ext/pixo/ext/glm/test/core/core_setup_precision.cpp +58 -0
- data/ext/pixo/ext/glm/test/core/core_type_aligned.cpp +128 -0
- data/ext/pixo/ext/glm/test/core/core_type_cast.cpp +144 -0
- data/ext/pixo/ext/glm/test/core/core_type_ctor.cpp +358 -0
- data/ext/pixo/ext/glm/test/core/core_type_float.cpp +31 -0
- data/ext/pixo/ext/glm/test/core/core_type_int.cpp +43 -0
- data/ext/pixo/ext/glm/test/core/core_type_length.cpp +79 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat2x2.cpp +145 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat2x3.cpp +118 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat2x4.cpp +121 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat3x2.cpp +124 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat3x3.cpp +184 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat3x4.cpp +123 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat4x2.cpp +127 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat4x3.cpp +128 -0
- data/ext/pixo/ext/glm/test/core/core_type_mat4x4.cpp +313 -0
- data/ext/pixo/ext/glm/test/core/core_type_vec1.cpp +147 -0
- data/ext/pixo/ext/glm/test/core/core_type_vec2.cpp +312 -0
- data/ext/pixo/ext/glm/test/core/core_type_vec3.cpp +486 -0
- data/ext/pixo/ext/glm/test/core/core_type_vec4.cpp +559 -0
- data/ext/pixo/ext/glm/test/external/gli/CMakeLists.txt +27 -0
- data/ext/pixo/ext/glm/test/external/gli/core/dummy.cpp +4 -0
- data/ext/pixo/ext/glm/test/external/gli/core/generate_mipmaps.hpp +25 -0
- data/ext/pixo/ext/glm/test/external/gli/core/generate_mipmaps.inl +69 -0
- data/ext/pixo/ext/glm/test/external/gli/core/image2d.hpp +169 -0
- data/ext/pixo/ext/glm/test/external/gli/core/image2d.inl +229 -0
- data/ext/pixo/ext/glm/test/external/gli/core/operation.hpp +82 -0
- data/ext/pixo/ext/glm/test/external/gli/core/operation.inl +233 -0
- data/ext/pixo/ext/glm/test/external/gli/core/operator.hpp +28 -0
- data/ext/pixo/ext/glm/test/external/gli/core/operator.inl +210 -0
- data/ext/pixo/ext/glm/test/external/gli/core/shared_array.hpp +48 -0
- data/ext/pixo/ext/glm/test/external/gli/core/shared_array.inl +151 -0
- data/ext/pixo/ext/glm/test/external/gli/core/shared_ptr.hpp +41 -0
- data/ext/pixo/ext/glm/test/external/gli/core/shared_ptr.inl +125 -0
- data/ext/pixo/ext/glm/test/external/gli/core/size.hpp +31 -0
- data/ext/pixo/ext/glm/test/external/gli/core/size.inl +47 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture2d.hpp +122 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture2d.inl +304 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture2d_array.hpp +59 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture2d_array.inl +78 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture_cube.hpp +65 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture_cube.inl +70 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture_cube_array.hpp +59 -0
- data/ext/pixo/ext/glm/test/external/gli/core/texture_cube_array.inl +72 -0
- data/ext/pixo/ext/glm/test/external/gli/gli.hpp +31 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/compression.hpp +27 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/compression.inl +8 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/fetch.hpp +46 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/fetch.inl +91 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/gl_texture2d.hpp +33 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/gl_texture2d.inl +210 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/gradient.hpp +38 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/gradient.inl +74 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader.hpp +37 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader.inl +46 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader_dds10.hpp +35 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader_dds10.inl +595 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader_dds9.hpp +39 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader_dds9.inl +790 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader_tga.hpp +36 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/loader_tga.inl +159 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/wavelet.hpp +27 -0
- data/ext/pixo/ext/glm/test/external/gli/gtx/wavelet.inl +8 -0
- data/ext/pixo/ext/glm/test/glm.cppcheck +6 -0
- data/ext/pixo/ext/glm/test/gtc/CMakeLists.txt +22 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_bitfield.cpp +642 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_color_encoding.cpp +51 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_color_space.cpp +50 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_constants.cpp +28 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_epsilon.cpp +77 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_functions.cpp +35 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_integer.cpp +232 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_matrix_access.cpp +381 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_matrix_integer.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_matrix_inverse.cpp +51 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_matrix_transform.cpp +54 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_noise.cpp +188 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_packing.cpp +682 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_quaternion.cpp +312 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_random.cpp +377 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_reciprocal.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_round.cpp +458 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_type_aligned.cpp +118 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_type_precision.cpp +890 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_type_ptr.cpp +252 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_ulp.cpp +96 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_user_defined_types.cpp +30 -0
- data/ext/pixo/ext/glm/test/gtc/gtc_vec1.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/CMakeLists.txt +49 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_associated_min_max.cpp +9 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_closest_point.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_color_space.cpp +19 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_color_space_YCoCg.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_common.cpp +127 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_compatibility.cpp +18 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_component_wise.cpp +115 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_dual_quaternion.cpp +188 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_euler_angle.cpp +328 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_extend.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_extended_min_max.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_extented_min_max.cpp +39 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_fast_exponential.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_fast_square_root.cpp +45 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_fast_trigonometry.cpp +445 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_gradient_paint.cpp +33 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_handed_coordinate_space.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_int_10_10_10_2.cpp +18 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_integer.cpp +64 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_intersect.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_io.cpp +175 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_log_base.cpp +53 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_cross_product.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_decompose.cpp +18 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_interpolation.cpp +10 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_major_storage.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_operation.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_query.cpp +65 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_matrix_transform_2d.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_mixed_product.cpp +18 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_norm.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_normal.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_normalize_dot.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_number_precision.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_optimum_pow.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_orthonormalize.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_perpendicular.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_polar_coordinates.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_projection.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_quaternion.cpp +102 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_random.cpp +99 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_range.cpp +52 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_rotate_normalized_axis.cpp +8 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_rotate_vector.cpp +75 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_scalar_multiplication.cpp +34 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_scalar_relational.cpp +170 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_simd_mat4.cpp +324 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_simd_vec4.cpp +71 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_spline.cpp +99 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_string_cast.cpp +128 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_type_aligned.cpp +113 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_type_trait.cpp +12 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_vector_angle.cpp +58 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_vector_query.cpp +81 -0
- data/ext/pixo/ext/glm/test/gtx/gtx_wrap.cpp +189 -0
- data/ext/pixo/ext/glm/util/autoexp.txt +28 -0
- data/ext/pixo/ext/glm/util/autoexp.vc2010.dat +3896 -0
- data/ext/pixo/ext/glm/util/glm.natvis +69 -0
- data/ext/pixo/ext/glm/util/usertype.dat +407 -0
- data/ext/pixo/ext/tinyobjloader/CMakeLists.txt +146 -0
- data/ext/pixo/ext/tinyobjloader/LICENSE +21 -0
- data/ext/pixo/ext/tinyobjloader/README.md +254 -0
- data/ext/pixo/ext/tinyobjloader/appveyor.yml +22 -0
- data/ext/pixo/ext/tinyobjloader/build.ninja +53 -0
- data/ext/pixo/ext/tinyobjloader/deps/cpplint.py +6323 -0
- data/ext/pixo/ext/tinyobjloader/examples/callback_api/Makefile +2 -0
- data/ext/pixo/ext/tinyobjloader/examples/callback_api/main.cc +166 -0
- data/ext/pixo/ext/tinyobjloader/examples/obj_sticher/obj_sticher.cc +110 -0
- data/ext/pixo/ext/tinyobjloader/examples/obj_sticher/obj_writer.cc +176 -0
- data/ext/pixo/ext/tinyobjloader/examples/obj_sticher/obj_writer.h +9 -0
- data/ext/pixo/ext/tinyobjloader/examples/obj_sticher/premake4.lua +38 -0
- data/ext/pixo/ext/tinyobjloader/examples/viewer/README.md +37 -0
- data/ext/pixo/ext/tinyobjloader/examples/viewer/premake4.lua +44 -0
- data/ext/pixo/ext/tinyobjloader/examples/viewer/stb_image.h +6755 -0
- data/ext/pixo/ext/tinyobjloader/examples/viewer/trackball.cc +292 -0
- data/ext/pixo/ext/tinyobjloader/examples/viewer/trackball.h +75 -0
- data/ext/pixo/ext/tinyobjloader/examples/viewer/viewer.cc +698 -0
- data/ext/pixo/ext/tinyobjloader/examples/voxelize/Makefile +2 -0
- data/ext/pixo/ext/tinyobjloader/examples/voxelize/README.md +5 -0
- data/ext/pixo/ext/tinyobjloader/examples/voxelize/main.cc +74 -0
- data/ext/pixo/ext/tinyobjloader/examples/voxelize/voxelizer.h +764 -0
- data/ext/pixo/ext/tinyobjloader/experimental/LICENSE.ltalloc +26 -0
- data/ext/pixo/ext/tinyobjloader/experimental/README.md +5 -0
- data/ext/pixo/ext/tinyobjloader/experimental/ltalloc.cc +973 -0
- data/ext/pixo/ext/tinyobjloader/experimental/ltalloc.h +14 -0
- data/ext/pixo/ext/tinyobjloader/experimental/ltalloc.hpp +59 -0
- data/ext/pixo/ext/tinyobjloader/experimental/premake5.lua +95 -0
- data/ext/pixo/ext/tinyobjloader/experimental/tinyobj_loader_opt.h +1678 -0
- data/ext/pixo/ext/tinyobjloader/experimental/trackball.cc +292 -0
- data/ext/pixo/ext/tinyobjloader/experimental/trackball.h +75 -0
- data/ext/pixo/ext/tinyobjloader/experimental/viewer.cc +748 -0
- data/ext/pixo/ext/tinyobjloader/images/rungholt.jpg +0 -0
- data/ext/pixo/ext/tinyobjloader/images/sanmugel.png +0 -0
- data/ext/pixo/ext/tinyobjloader/jni/Android.mk +12 -0
- data/ext/pixo/ext/tinyobjloader/jni/Application.mk +2 -0
- data/ext/pixo/ext/tinyobjloader/jni/Makefile +2 -0
- data/ext/pixo/ext/tinyobjloader/jni/README +1 -0
- data/ext/pixo/ext/tinyobjloader/loader_example.cc +419 -0
- data/ext/pixo/ext/tinyobjloader/models/catmark_torus_creases0.obj +101 -0
- data/ext/pixo/ext/tinyobjloader/models/cornell_box.mtl +24 -0
- data/ext/pixo/ext/tinyobjloader/models/cornell_box.obj +145 -0
- data/ext/pixo/ext/tinyobjloader/models/cornell_box_multimaterial.obj +146 -0
- data/ext/pixo/ext/tinyobjloader/models/cube.mtl +24 -0
- data/ext/pixo/ext/tinyobjloader/models/cube.obj +31 -0
- data/ext/pixo/ext/tinyobjloader/models/issue-92.mtl +6 -0
- data/ext/pixo/ext/tinyobjloader/models/issue-92.obj +7 -0
- data/ext/pixo/ext/tinyobjloader/models/issue-95-2.mtl +5 -0
- data/ext/pixo/ext/tinyobjloader/models/issue-95-2.obj +7 -0
- data/ext/pixo/ext/tinyobjloader/models/issue-95.mtl +5 -0
- data/ext/pixo/ext/tinyobjloader/models/issue-95.obj +7 -0
- data/ext/pixo/ext/tinyobjloader/models/missing_material_file.obj +145 -0
- data/ext/pixo/ext/tinyobjloader/models/mtllib-multiple-files-issue-112.mtl +6 -0
- data/ext/pixo/ext/tinyobjloader/models/mtllib-multiple-files-issue-112.obj +7 -0
- data/ext/pixo/ext/tinyobjloader/models/no_material.obj +133 -0
- data/ext/pixo/ext/tinyobjloader/models/pbr-mat-ext.mtl +19 -0
- data/ext/pixo/ext/tinyobjloader/models/pbr-mat-ext.obj +10 -0
- data/ext/pixo/ext/tinyobjloader/models/test-nan.obj +145 -0
- data/ext/pixo/ext/tinyobjloader/models/texture-options-issue-85.mtl +36 -0
- data/ext/pixo/ext/tinyobjloader/models/texture-options-issue-85.obj +7 -0
- data/ext/pixo/ext/tinyobjloader/models/tr-and-d-issue-43.mtl +13 -0
- data/ext/pixo/ext/tinyobjloader/models/tr-and-d-issue-43.obj +817 -0
- data/ext/pixo/ext/tinyobjloader/models/usemtl-issue-104.obj +30 -0
- data/ext/pixo/ext/tinyobjloader/models/usemtl-issue-68.mtl +9 -0
- data/ext/pixo/ext/tinyobjloader/models/usemtl-issue-68.obj +817 -0
- data/ext/pixo/ext/tinyobjloader/premake4.lua +29 -0
- data/ext/pixo/ext/tinyobjloader/python/TODO.md +2 -0
- data/ext/pixo/ext/tinyobjloader/python/cornell_box_multimaterial_output.json +581 -0
- data/ext/pixo/ext/tinyobjloader/python/howto.py +9 -0
- data/ext/pixo/ext/tinyobjloader/python/main.cpp +203 -0
- data/ext/pixo/ext/tinyobjloader/python/setup.py +13 -0
- data/ext/pixo/ext/tinyobjloader/tests/Makefile +16 -0
- data/ext/pixo/ext/tinyobjloader/tests/README.md +37 -0
- data/ext/pixo/ext/tinyobjloader/tests/catch.hpp +10445 -0
- data/ext/pixo/ext/tinyobjloader/tests/config-msvc.py +52 -0
- data/ext/pixo/ext/tinyobjloader/tests/config-posix.py +53 -0
- data/ext/pixo/ext/tinyobjloader/tests/kuroga.py +312 -0
- data/ext/pixo/ext/tinyobjloader/tests/tester.cc +588 -0
- data/ext/pixo/ext/tinyobjloader/tests/vcbuild.bat +4 -0
- data/ext/pixo/ext/tinyobjloader/tiny_obj_loader.cc +2 -0
- data/ext/pixo/ext/tinyobjloader/tiny_obj_loader.h +2029 -0
- data/ext/pixo/ext/tinyobjloader/tinyobjloader-config.cmake.in +9 -0
- data/ext/pixo/ext/tinyobjloader/tinyobjloader.pc.in +15 -0
- data/ext/pixo/ext/tinyobjloader/tools/travis_postbuild.sh +12 -0
- data/ext/pixo/ext/tinyobjloader/tools/windows/premake5.exe +0 -0
- data/ext/pixo/ext/tinyobjloader/vcsetup.bat +1 -0
- data/ext/pixo/ext/tinyobjloader/wercker.yml +10 -0
- data/ext/pixo/fadecandy_configs/4x4x4.json +21 -0
- data/ext/pixo/fadecandy_configs/8x8x8.json +18 -0
- data/ext/pixo/patterns/basic.glsl +20 -0
- data/ext/pixo/patterns/bendy_pipes.glsl +116 -0
- data/ext/pixo/patterns/blades.glsl +69 -0
- data/ext/pixo/patterns/blob_neon.glsl +71 -0
- data/ext/pixo/patterns/bubbles.glsl +58 -0
- data/ext/pixo/patterns/chevron.glsl +45 -0
- data/ext/pixo/patterns/clouds.glsl +382 -0
- data/ext/pixo/patterns/cnoise.glsl +162 -0
- data/ext/pixo/patterns/corrente_continua.glsl +51 -0
- data/ext/pixo/patterns/drain.glsl +32 -0
- data/ext/pixo/patterns/dual_spiral.glsl +21 -0
- data/ext/pixo/patterns/ether.glsl +35 -0
- data/ext/pixo/patterns/fire.glsl +56 -0
- data/ext/pixo/patterns/fireball.glsl +229 -0
- data/ext/pixo/patterns/flame.glsl +101 -0
- data/ext/pixo/patterns/flower.glsl +27 -0
- data/ext/pixo/patterns/galaxy.glsl +50 -0
- data/ext/pixo/patterns/goop.glsl +117 -0
- data/ext/pixo/patterns/hypno_rings.glsl +13 -0
- data/ext/pixo/patterns/lightning.glsl +111 -0
- data/ext/pixo/patterns/paint.glsl +39 -0
- data/ext/pixo/patterns/plad.glsl +22 -0
- data/ext/pixo/patterns/plasam.glsl +30 -0
- data/ext/pixo/patterns/plasma_globe.glsl +215 -0
- data/ext/pixo/patterns/pulse.glsl +44 -0
- data/ext/pixo/patterns/pulsing_circles.glsl +32 -0
- data/ext/pixo/patterns/rainbow_ribbon.glsl +41 -0
- data/ext/pixo/patterns/rings.glsl +62 -0
- data/ext/pixo/patterns/sauron.glsl +220 -0
- data/ext/pixo/patterns/scales.glsl +64 -0
- data/ext/pixo/patterns/soccer.glsl +737 -0
- data/ext/pixo/patterns/spherical_polyhedra.glsl +251 -0
- data/ext/pixo/patterns/spiral.glsl +23 -0
- data/ext/pixo/patterns/star.glsl +518 -0
- data/ext/pixo/patterns/tiedy.glsl +39 -0
- data/ext/pixo/patterns/tunnel.glsl +145 -0
- data/ext/pixo/patterns/warping_grid.glsl +50 -0
- data/ext/pixo/pixlib/CMakeLists.txt +34 -0
- data/ext/pixo/pixlib/include/opc_client.h +205 -0
- data/ext/pixo/pixlib/include/pixlib/app.hpp +41 -0
- data/ext/pixo/pixlib/include/pixlib/camera.hpp +78 -0
- data/ext/pixo/pixlib/include/pixlib/cube.hpp +46 -0
- data/ext/pixo/pixlib/include/pixlib/drawable.hpp +11 -0
- data/ext/pixo/pixlib/include/pixlib/fade_candy.hpp +38 -0
- data/ext/pixo/pixlib/include/pixlib/led_cluster.hpp +58 -0
- data/ext/pixo/pixlib/include/pixlib/led_mesh.hpp +60 -0
- data/ext/pixo/pixlib/include/pixlib/led_renderer.hpp +36 -0
- data/ext/pixo/pixlib/include/pixlib/mesh.hpp +56 -0
- data/ext/pixo/pixlib/include/pixlib/pattern.hpp +21 -0
- data/ext/pixo/pixlib/include/pixlib/pattern_renderer.hpp +28 -0
- data/ext/pixo/pixlib/include/pixlib/renderer.hpp +32 -0
- data/ext/pixo/pixlib/include/pixlib/scene.hpp +39 -0
- data/ext/pixo/pixlib/include/pixlib/shader.hpp +19 -0
- data/ext/pixo/pixlib/include/pixlib/texture.hpp +34 -0
- data/ext/pixo/pixlib/include/pixlib/timer.hpp +19 -0
- data/ext/pixo/pixlib/include/pixlib.hpp +6 -0
- data/ext/pixo/pixlib/src/app.cpp +59 -0
- data/ext/pixo/pixlib/src/camera.cpp +106 -0
- data/ext/pixo/pixlib/src/cube.cpp +100 -0
- data/ext/pixo/pixlib/src/fade_candy.cpp +70 -0
- data/ext/pixo/pixlib/src/led_cluster.cpp +78 -0
- data/ext/pixo/pixlib/src/led_mesh.cpp +123 -0
- data/ext/pixo/pixlib/src/led_renderer.cpp +135 -0
- data/ext/pixo/pixlib/src/mesh.cpp +146 -0
- data/ext/pixo/pixlib/src/pattern.cpp +32 -0
- data/ext/pixo/pixlib/src/pattern_renderer.cpp +103 -0
- data/ext/pixo/pixlib/src/renderer.cpp +127 -0
- data/ext/pixo/pixlib/src/scene.cpp +52 -0
- data/ext/pixo/pixlib/src/shader.cpp +59 -0
- data/ext/pixo/pixlib/src/texture.cpp +62 -0
- data/ext/pixo/pixlib/src/timer.cpp +39 -0
- data/ext/pixo/src/CMakeLists.txt +14 -0
- data/ext/pixo/src/main.cpp +244 -0
- data/ext/pixo/src/opengl.h +4 -0
- data/lib/pixo/version.rb +3 -0
- data/lib/pixo.rb +7 -0
- data/pixo.gemspec +34 -0
- data/pkg/pixo-0.1.0.gem +0 -0
- metadata +1539 -0
@@ -0,0 +1,1008 @@
|
|
1
|
+
/*!
|
2
|
+
|
3
|
+
@page window_guide Window guide
|
4
|
+
|
5
|
+
@tableofcontents
|
6
|
+
|
7
|
+
This guide introduces the window related functions of GLFW. For details on
|
8
|
+
a specific function in this category, see the @ref window. There are also
|
9
|
+
guides for the other areas of GLFW.
|
10
|
+
|
11
|
+
- @ref intro_guide
|
12
|
+
- @ref context_guide
|
13
|
+
- @ref vulkan_guide
|
14
|
+
- @ref monitor_guide
|
15
|
+
- @ref input_guide
|
16
|
+
|
17
|
+
|
18
|
+
@section window_object Window objects
|
19
|
+
|
20
|
+
The @ref GLFWwindow object encapsulates both a window and a context. They are
|
21
|
+
created with @ref glfwCreateWindow and destroyed with @ref glfwDestroyWindow, or
|
22
|
+
@ref glfwTerminate, if any remain. As the window and context are inseparably
|
23
|
+
linked, the object pointer is used as both a context and window handle.
|
24
|
+
|
25
|
+
To see the event stream provided to the various window related callbacks, run
|
26
|
+
the `events` test program.
|
27
|
+
|
28
|
+
|
29
|
+
@subsection window_creation Window creation
|
30
|
+
|
31
|
+
A window and its OpenGL or OpenGL ES context are created with @ref
|
32
|
+
glfwCreateWindow, which returns a handle to the created window object. For
|
33
|
+
example, this creates a 640 by 480 windowed mode window:
|
34
|
+
|
35
|
+
@code
|
36
|
+
GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
|
37
|
+
@endcode
|
38
|
+
|
39
|
+
If window creation fails, `NULL` will be returned, so it is necessary to check
|
40
|
+
the return value.
|
41
|
+
|
42
|
+
The window handle is passed to all window related functions and is provided to
|
43
|
+
along with all input events, so event handlers can tell which window received
|
44
|
+
the event.
|
45
|
+
|
46
|
+
|
47
|
+
@subsubsection window_full_screen Full screen windows
|
48
|
+
|
49
|
+
To create a full screen window, you need to specify which monitor the window
|
50
|
+
should use. In most cases, the user's primary monitor is a good choice.
|
51
|
+
For more information about retrieving monitors, see @ref monitor_monitors.
|
52
|
+
|
53
|
+
@code
|
54
|
+
GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", glfwGetPrimaryMonitor(), NULL);
|
55
|
+
@endcode
|
56
|
+
|
57
|
+
Full screen windows cover the entire display area of a monitor, have no border
|
58
|
+
or decorations.
|
59
|
+
|
60
|
+
Windowed mode windows can be made full screen by setting a monitor with @ref
|
61
|
+
glfwSetWindowMonitor, and full screen ones can be made windowed by unsetting it
|
62
|
+
with the same function.
|
63
|
+
|
64
|
+
Each field of the @ref GLFWvidmode structure corresponds to a function parameter
|
65
|
+
or window hint and combine to form the _desired video mode_ for that window.
|
66
|
+
The supported video mode most closely matching the desired video mode will be
|
67
|
+
set for the chosen monitor as long as the window has input focus. For more
|
68
|
+
information about retrieving video modes, see @ref monitor_modes.
|
69
|
+
|
70
|
+
Video mode field | Corresponds to
|
71
|
+
----------------------- | ------------------------
|
72
|
+
GLFWvidmode.width | `width` parameter
|
73
|
+
GLFWvidmode.height | `height` parameter
|
74
|
+
GLFWvidmode.redBits | `GLFW_RED_BITS` hint
|
75
|
+
GLFWvidmode.greenBits | `GLFW_GREEN_BITS` hint
|
76
|
+
GLFWvidmode.blueBits | `GLFW_BLUE_BITS` hint
|
77
|
+
GLFWvidmode.refreshRate | `GLFW_REFRESH_RATE` hint
|
78
|
+
|
79
|
+
Once you have a full screen window, you can change its resolution, refresh rate
|
80
|
+
and monitor with @ref glfwSetWindowMonitor. If you just need change its
|
81
|
+
resolution you can also call @ref glfwSetWindowSize. In all cases, the new
|
82
|
+
video mode will be selected the same way as the video mode chosen by @ref
|
83
|
+
glfwCreateWindow. If the window has an OpenGL or OpenGL ES context, it will be
|
84
|
+
unaffected.
|
85
|
+
|
86
|
+
By default, the original video mode of the monitor will be restored and the
|
87
|
+
window iconified if it loses input focus, to allow the user to switch back to
|
88
|
+
the desktop. This behavior can be disabled with the `GLFW_AUTO_ICONIFY` window
|
89
|
+
hint, for example if you wish to simultaneously cover multiple windows with full
|
90
|
+
screen windows.
|
91
|
+
|
92
|
+
|
93
|
+
@subsubsection window_windowed_full_screen "Windowed full screen" windows
|
94
|
+
|
95
|
+
If the closest match for the desired video mode is the current one, the video
|
96
|
+
mode will not be changed, making window creation faster and application
|
97
|
+
switching much smoother. This is sometimes called _windowed full screen_ or
|
98
|
+
_borderless full screen_ window and counts as a full screen window. To create
|
99
|
+
such a window, simply request the current video mode.
|
100
|
+
|
101
|
+
@code
|
102
|
+
const GLFWvidmode* mode = glfwGetVideoMode(monitor);
|
103
|
+
|
104
|
+
glfwWindowHint(GLFW_RED_BITS, mode->redBits);
|
105
|
+
glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits);
|
106
|
+
glfwWindowHint(GLFW_BLUE_BITS, mode->blueBits);
|
107
|
+
glfwWindowHint(GLFW_REFRESH_RATE, mode->refreshRate);
|
108
|
+
|
109
|
+
GLFWwindow* window = glfwCreateWindow(mode->width, mode->height, "My Title", monitor, NULL);
|
110
|
+
@endcode
|
111
|
+
|
112
|
+
This also works for windowed mode windows that are made full screen.
|
113
|
+
|
114
|
+
@code
|
115
|
+
const GLFWvidmode* mode = glfwGetVideoMode(monitor);
|
116
|
+
|
117
|
+
glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);
|
118
|
+
@endcode
|
119
|
+
|
120
|
+
Note that @ref glfwGetVideoMode returns the _current_ video mode of a monitor,
|
121
|
+
so if you already have a full screen window on that monitor that you want to
|
122
|
+
make windowed full screen, you need to have saved the desktop resolution before.
|
123
|
+
|
124
|
+
|
125
|
+
@subsection window_destruction Window destruction
|
126
|
+
|
127
|
+
When a window is no longer needed, destroy it with @ref glfwDestroyWindow.
|
128
|
+
|
129
|
+
@code
|
130
|
+
glfwDestroyWindow(window);
|
131
|
+
@endcode
|
132
|
+
|
133
|
+
Window destruction always succeeds. Before the actual destruction, all
|
134
|
+
callbacks are removed so no further events will be delivered for the window.
|
135
|
+
All windows remaining when @ref glfwTerminate is called are destroyed as well.
|
136
|
+
|
137
|
+
When a full screen window is destroyed, the original video mode of its monitor
|
138
|
+
is restored, but the gamma ramp is left untouched.
|
139
|
+
|
140
|
+
|
141
|
+
@subsection window_hints Window creation hints
|
142
|
+
|
143
|
+
There are a number of hints that can be set before the creation of a window and
|
144
|
+
context. Some affect the window itself, others affect the framebuffer or
|
145
|
+
context. These hints are set to their default values each time the library is
|
146
|
+
initialized with @ref glfwInit, can be set individually with @ref glfwWindowHint
|
147
|
+
and reset all at once to their defaults with @ref glfwDefaultWindowHints.
|
148
|
+
|
149
|
+
Note that hints need to be set _before_ the creation of the window and context
|
150
|
+
you wish to have the specified attributes.
|
151
|
+
|
152
|
+
|
153
|
+
@subsubsection window_hints_hard Hard and soft constraints
|
154
|
+
|
155
|
+
Some window hints are hard constraints. These must match the available
|
156
|
+
capabilities _exactly_ for window and context creation to succeed. Hints
|
157
|
+
that are not hard constraints are matched as closely as possible, but the
|
158
|
+
resulting context and framebuffer may differ from what these hints requested.
|
159
|
+
|
160
|
+
The following hints are always hard constraints:
|
161
|
+
- `GLFW_STEREO`
|
162
|
+
- `GLFW_DOUBLEBUFFER`
|
163
|
+
- `GLFW_CLIENT_API`
|
164
|
+
- `GLFW_CONTEXT_CREATION_API`
|
165
|
+
|
166
|
+
The following additional hints are hard constraints when requesting an OpenGL
|
167
|
+
context, but are ignored when requesting an OpenGL ES context:
|
168
|
+
- `GLFW_OPENGL_FORWARD_COMPAT`
|
169
|
+
- `GLFW_OPENGL_PROFILE`
|
170
|
+
|
171
|
+
|
172
|
+
@subsubsection window_hints_wnd Window related hints
|
173
|
+
|
174
|
+
`GLFW_RESIZABLE` specifies whether the windowed mode window will be resizable
|
175
|
+
_by the user_. The window will still be resizable using the @ref
|
176
|
+
glfwSetWindowSize function. This hint is ignored for full screen windows.
|
177
|
+
|
178
|
+
`GLFW_VISIBLE` specifies whether the windowed mode window will be initially
|
179
|
+
visible. This hint is ignored for full screen windows.
|
180
|
+
|
181
|
+
`GLFW_DECORATED` specifies whether the windowed mode window will have window
|
182
|
+
decorations such as a border, a close widget, etc. An undecorated window may
|
183
|
+
still allow the user to generate close events on some platforms. This hint is
|
184
|
+
ignored for full screen windows.
|
185
|
+
|
186
|
+
`GLFW_FOCUSED` specifies whether the windowed mode window will be given input
|
187
|
+
focus when created. This hint is ignored for full screen and initially hidden
|
188
|
+
windows.
|
189
|
+
|
190
|
+
`GLFW_AUTO_ICONIFY` specifies whether the full screen window will
|
191
|
+
automatically iconify and restore the previous video mode on input focus loss.
|
192
|
+
This hint is ignored for windowed mode windows.
|
193
|
+
|
194
|
+
`GLFW_FLOATING` specifies whether the windowed mode window will be floating
|
195
|
+
above other regular windows, also called topmost or always-on-top. This is
|
196
|
+
intended primarily for debugging purposes and cannot be used to implement proper
|
197
|
+
full screen windows. This hint is ignored for full screen windows.
|
198
|
+
|
199
|
+
`GLFW_MAXIMIZED` specifies whether the windowed mode window will be maximized
|
200
|
+
when created. This hint is ignored for full screen windows.
|
201
|
+
|
202
|
+
|
203
|
+
@subsubsection window_hints_fb Framebuffer related hints
|
204
|
+
|
205
|
+
`GLFW_RED_BITS`, `GLFW_GREEN_BITS`, `GLFW_BLUE_BITS`, `GLFW_ALPHA_BITS`,
|
206
|
+
`GLFW_DEPTH_BITS` and `GLFW_STENCIL_BITS` specify the desired bit depths of the
|
207
|
+
various components of the default framebuffer. `GLFW_DONT_CARE` means the
|
208
|
+
application has no preference.
|
209
|
+
|
210
|
+
`GLFW_ACCUM_RED_BITS`, `GLFW_ACCUM_GREEN_BITS`, `GLFW_ACCUM_BLUE_BITS` and
|
211
|
+
`GLFW_ACCUM_ALPHA_BITS` specify the desired bit depths of the various components
|
212
|
+
of the accumulation buffer. `GLFW_DONT_CARE` means the application has no
|
213
|
+
preference.
|
214
|
+
|
215
|
+
@par
|
216
|
+
Accumulation buffers are a legacy OpenGL feature and should not be used in new
|
217
|
+
code.
|
218
|
+
|
219
|
+
`GLFW_AUX_BUFFERS` specifies the desired number of auxiliary buffers.
|
220
|
+
`GLFW_DONT_CARE` means the application has no preference.
|
221
|
+
|
222
|
+
@par
|
223
|
+
Auxiliary buffers are a legacy OpenGL feature and should not be used in new
|
224
|
+
code.
|
225
|
+
|
226
|
+
`GLFW_STEREO` specifies whether to use stereoscopic rendering. This is a hard
|
227
|
+
constraint.
|
228
|
+
|
229
|
+
`GLFW_SAMPLES` specifies the desired number of samples to use for multisampling.
|
230
|
+
Zero disables multisampling. `GLFW_DONT_CARE` means the application has no
|
231
|
+
preference.
|
232
|
+
|
233
|
+
`GLFW_SRGB_CAPABLE` specifies whether the framebuffer should be sRGB capable.
|
234
|
+
If supported, a created OpenGL context will support the `GL_FRAMEBUFFER_SRGB`
|
235
|
+
enable, also called `GL_FRAMEBUFFER_SRGB_EXT`) for controlling sRGB rendering
|
236
|
+
and a created OpenGL ES context will always have sRGB rendering enabled.
|
237
|
+
|
238
|
+
`GLFW_DOUBLEBUFFER` specifies whether the framebuffer should be double buffered.
|
239
|
+
You nearly always want to use double buffering. This is a hard constraint.
|
240
|
+
|
241
|
+
|
242
|
+
@subsubsection window_hints_mtr Monitor related hints
|
243
|
+
|
244
|
+
`GLFW_REFRESH_RATE` specifies the desired refresh rate for full screen windows.
|
245
|
+
If set to `GLFW_DONT_CARE`, the highest available refresh rate will be used.
|
246
|
+
This hint is ignored for windowed mode windows.
|
247
|
+
|
248
|
+
|
249
|
+
@subsubsection window_hints_ctx Context related hints
|
250
|
+
|
251
|
+
`GLFW_CLIENT_API` specifies which client API to create the context for.
|
252
|
+
Possible values are `GLFW_OPENGL_API`, `GLFW_OPENGL_ES_API` and `GLFW_NO_API`.
|
253
|
+
This is a hard constraint.
|
254
|
+
|
255
|
+
`GLFW_CONTEXT_CREATION_API` specifies which context creation API to use to
|
256
|
+
create the context. Possible values are `GLFW_NATIVE_CONTEXT_API` and
|
257
|
+
`GLFW_EGL_CONTEXT_API`. This is a hard constraint. If no client API is
|
258
|
+
requested, this hint is ignored.
|
259
|
+
|
260
|
+
@par
|
261
|
+
__OS X:__ The EGL API is not available on this platform and requests to use it
|
262
|
+
will fail.
|
263
|
+
|
264
|
+
@par
|
265
|
+
__Wayland, Mir:__ The EGL API _is_ the native context creation API, so this hint
|
266
|
+
will have no effect.
|
267
|
+
|
268
|
+
@note An OpenGL extension loader library that assumes it knows which context
|
269
|
+
creation API is used on a given platform may fail if you change this hint. This
|
270
|
+
can be resolved by having it load via @ref glfwGetProcAddress, which always uses
|
271
|
+
the selected API.
|
272
|
+
|
273
|
+
@bug On some Linux systems, creating contexts via both the native and EGL APIs
|
274
|
+
in a single process will cause the application to segfault. Stick to one API or
|
275
|
+
the other on Linux for now.
|
276
|
+
|
277
|
+
`GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` specify the client
|
278
|
+
API version that the created context must be compatible with. The exact
|
279
|
+
behavior of these hints depend on the requested client API.
|
280
|
+
|
281
|
+
@par
|
282
|
+
__OpenGL:__ `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` are
|
283
|
+
not hard constraints, but creation will fail if the OpenGL version of the
|
284
|
+
created context is less than the one requested. It is therefore perfectly safe
|
285
|
+
to use the default of version 1.0 for legacy code and you will still get
|
286
|
+
backwards-compatible contexts of version 3.0 and above when available.
|
287
|
+
|
288
|
+
@par
|
289
|
+
While there is no way to ask the driver for a context of the highest supported
|
290
|
+
version, GLFW will attempt to provide this when you ask for a version 1.0
|
291
|
+
context, which is the default for these hints.
|
292
|
+
|
293
|
+
@par
|
294
|
+
__OpenGL ES:__ `GLFW_CONTEXT_VERSION_MAJOR` and `GLFW_CONTEXT_VERSION_MINOR` are
|
295
|
+
not hard constraints, but creation will fail if the OpenGL ES version of the
|
296
|
+
created context is less than the one requested. Additionally, OpenGL ES 1.x
|
297
|
+
cannot be returned if 2.0 or later was requested, and vice versa. This is
|
298
|
+
because OpenGL ES 3.x is backward compatible with 2.0, but OpenGL ES 2.0 is not
|
299
|
+
backward compatible with 1.x.
|
300
|
+
|
301
|
+
`GLFW_OPENGL_FORWARD_COMPAT` specifies whether the OpenGL context should be
|
302
|
+
forward-compatible, i.e. one where all functionality deprecated in the requested
|
303
|
+
version of OpenGL is removed. This must only be used if the requested OpenGL
|
304
|
+
version is 3.0 or above. If OpenGL ES is requested, this hint is ignored.
|
305
|
+
|
306
|
+
@par
|
307
|
+
Forward-compatibility is described in detail in the
|
308
|
+
[OpenGL Reference Manual](https://www.opengl.org/registry/).
|
309
|
+
|
310
|
+
`GLFW_OPENGL_DEBUG_CONTEXT` specifies whether to create a debug OpenGL context,
|
311
|
+
which may have additional error and performance issue reporting functionality.
|
312
|
+
If OpenGL ES is requested, this hint is ignored.
|
313
|
+
|
314
|
+
`GLFW_OPENGL_PROFILE` specifies which OpenGL profile to create the context for.
|
315
|
+
Possible values are one of `GLFW_OPENGL_CORE_PROFILE` or
|
316
|
+
`GLFW_OPENGL_COMPAT_PROFILE`, or `GLFW_OPENGL_ANY_PROFILE` to not request
|
317
|
+
a specific profile. If requesting an OpenGL version below 3.2,
|
318
|
+
`GLFW_OPENGL_ANY_PROFILE` must be used. If OpenGL ES is requested,
|
319
|
+
this hint is ignored.
|
320
|
+
|
321
|
+
@par
|
322
|
+
OpenGL profiles are described in detail in the
|
323
|
+
[OpenGL Reference Manual](https://www.opengl.org/registry/).
|
324
|
+
|
325
|
+
`GLFW_CONTEXT_ROBUSTNESS` specifies the robustness strategy to be used by the
|
326
|
+
context. This can be one of `GLFW_NO_RESET_NOTIFICATION` or
|
327
|
+
`GLFW_LOSE_CONTEXT_ON_RESET`, or `GLFW_NO_ROBUSTNESS` to not request
|
328
|
+
a robustness strategy.
|
329
|
+
|
330
|
+
`GLFW_CONTEXT_RELEASE_BEHAVIOR` specifies the release behavior to be
|
331
|
+
used by the context. Possible values are one of `GLFW_ANY_RELEASE_BEHAVIOR`,
|
332
|
+
`GLFW_RELEASE_BEHAVIOR_FLUSH` or `GLFW_RELEASE_BEHAVIOR_NONE`. If the
|
333
|
+
behavior is `GLFW_ANY_RELEASE_BEHAVIOR`, the default behavior of the context
|
334
|
+
creation API will be used. If the behavior is `GLFW_RELEASE_BEHAVIOR_FLUSH`,
|
335
|
+
the pipeline will be flushed whenever the context is released from being the
|
336
|
+
current one. If the behavior is `GLFW_RELEASE_BEHAVIOR_NONE`, the pipeline will
|
337
|
+
not be flushed on release.
|
338
|
+
|
339
|
+
@par
|
340
|
+
Context release behaviors are described in detail by the
|
341
|
+
[GL_KHR_context_flush_control](https://www.opengl.org/registry/specs/KHR/context_flush_control.txt)
|
342
|
+
extension.
|
343
|
+
|
344
|
+
`GLFW_CONTEXT_NO_ERROR` specifies whether errors should be generated by the
|
345
|
+
context. If enabled, situations that would have generated errors instead cause
|
346
|
+
undefined behavior.
|
347
|
+
|
348
|
+
@par
|
349
|
+
The no error mode for OpenGL and OpenGL ES is described in detail by the
|
350
|
+
[GL_KHR_no_error](https://www.opengl.org/registry/specs/KHR/no_error.txt)
|
351
|
+
extension.
|
352
|
+
|
353
|
+
@note This hint is experimental in its current state. There are currently
|
354
|
+
(October 2015) no corresponding WGL or GLX extensions. That makes this hint
|
355
|
+
a [hard constraint](@ref window_hints_hard) for those backends, as creation will
|
356
|
+
fail if unsupported context flags are requested. Once the extensions are
|
357
|
+
available, they will be required and creation of `GL_KHR_no_error` contexts may
|
358
|
+
fail on early drivers where this flag is supported without those extensions
|
359
|
+
being listed.
|
360
|
+
|
361
|
+
|
362
|
+
@subsubsection window_hints_values Supported and default values
|
363
|
+
|
364
|
+
Window hint | Default value | Supported values
|
365
|
+
------------------------------- | --------------------------- | ----------------
|
366
|
+
`GLFW_RESIZABLE` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE`
|
367
|
+
`GLFW_VISIBLE` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE`
|
368
|
+
`GLFW_DECORATED` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE`
|
369
|
+
`GLFW_FOCUSED` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE`
|
370
|
+
`GLFW_AUTO_ICONIFY` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE`
|
371
|
+
`GLFW_FLOATING` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
|
372
|
+
`GLFW_MAXIMIZED` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
|
373
|
+
`GLFW_RED_BITS` | 8 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
374
|
+
`GLFW_GREEN_BITS` | 8 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
375
|
+
`GLFW_BLUE_BITS` | 8 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
376
|
+
`GLFW_ALPHA_BITS` | 8 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
377
|
+
`GLFW_DEPTH_BITS` | 24 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
378
|
+
`GLFW_STENCIL_BITS` | 8 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
379
|
+
`GLFW_ACCUM_RED_BITS` | 0 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
380
|
+
`GLFW_ACCUM_GREEN_BITS` | 0 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
381
|
+
`GLFW_ACCUM_BLUE_BITS` | 0 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
382
|
+
`GLFW_ACCUM_ALPHA_BITS` | 0 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
383
|
+
`GLFW_AUX_BUFFERS` | 0 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
384
|
+
`GLFW_SAMPLES` | 0 | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
385
|
+
`GLFW_REFRESH_RATE` | `GLFW_DONT_CARE` | 0 to `INT_MAX` or `GLFW_DONT_CARE`
|
386
|
+
`GLFW_STEREO` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
|
387
|
+
`GLFW_SRGB_CAPABLE` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
|
388
|
+
`GLFW_DOUBLEBUFFER` | `GLFW_TRUE` | `GLFW_TRUE` or `GLFW_FALSE`
|
389
|
+
`GLFW_CLIENT_API` | `GLFW_OPENGL_API` | `GLFW_OPENGL_API`, `GLFW_OPENGL_ES_API` or `GLFW_NO_API`
|
390
|
+
`GLFW_CONTEXT_CREATION_API` | `GLFW_NATIVE_CONTEXT_API` | `GLFW_NATIVE_CONTEXT_API` or `GLFW_EGL_CONTEXT_API`
|
391
|
+
`GLFW_CONTEXT_VERSION_MAJOR` | 1 | Any valid major version number of the chosen client API
|
392
|
+
`GLFW_CONTEXT_VERSION_MINOR` | 0 | Any valid minor version number of the chosen client API
|
393
|
+
`GLFW_CONTEXT_ROBUSTNESS` | `GLFW_NO_ROBUSTNESS` | `GLFW_NO_ROBUSTNESS`, `GLFW_NO_RESET_NOTIFICATION` or `GLFW_LOSE_CONTEXT_ON_RESET`
|
394
|
+
`GLFW_CONTEXT_RELEASE_BEHAVIOR` | `GLFW_ANY_RELEASE_BEHAVIOR` | `GLFW_ANY_RELEASE_BEHAVIOR`, `GLFW_RELEASE_BEHAVIOR_FLUSH` or `GLFW_RELEASE_BEHAVIOR_NONE`
|
395
|
+
`GLFW_OPENGL_FORWARD_COMPAT` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
|
396
|
+
`GLFW_OPENGL_DEBUG_CONTEXT` | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
|
397
|
+
`GLFW_OPENGL_PROFILE` | `GLFW_OPENGL_ANY_PROFILE` | `GLFW_OPENGL_ANY_PROFILE`, `GLFW_OPENGL_COMPAT_PROFILE` or `GLFW_OPENGL_CORE_PROFILE`
|
398
|
+
|
399
|
+
|
400
|
+
@section window_events Window event processing
|
401
|
+
|
402
|
+
See @ref events.
|
403
|
+
|
404
|
+
|
405
|
+
@section window_properties Window properties and events
|
406
|
+
|
407
|
+
@subsection window_userptr User pointer
|
408
|
+
|
409
|
+
Each window has a user pointer that can be set with @ref
|
410
|
+
glfwSetWindowUserPointer and fetched with @ref glfwGetWindowUserPointer. This
|
411
|
+
can be used for any purpose you need and will not be modified by GLFW throughout
|
412
|
+
the life-time of the window.
|
413
|
+
|
414
|
+
The initial value of the pointer is `NULL`.
|
415
|
+
|
416
|
+
|
417
|
+
@subsection window_close Window closing and close flag
|
418
|
+
|
419
|
+
When the user attempts to close the window, for example by clicking the close
|
420
|
+
widget or using a key chord like Alt+F4, the _close flag_ of the window is set.
|
421
|
+
The window is however not actually destroyed and, unless you watch for this
|
422
|
+
state change, nothing further happens.
|
423
|
+
|
424
|
+
The current state of the close flag is returned by @ref glfwWindowShouldClose
|
425
|
+
and can be set or cleared directly with @ref glfwSetWindowShouldClose. A common
|
426
|
+
pattern is to use the close flag as a main loop condition.
|
427
|
+
|
428
|
+
@code
|
429
|
+
while (!glfwWindowShouldClose(window))
|
430
|
+
{
|
431
|
+
render(window);
|
432
|
+
|
433
|
+
glfwSwapBuffers(window);
|
434
|
+
glfwPollEvents();
|
435
|
+
}
|
436
|
+
@endcode
|
437
|
+
|
438
|
+
If you wish to be notified when the user attempts to close a window, set a close
|
439
|
+
callback.
|
440
|
+
|
441
|
+
@code
|
442
|
+
glfwSetWindowCloseCallback(window, window_close_callback);
|
443
|
+
@endcode
|
444
|
+
|
445
|
+
The callback function is called directly _after_ the close flag has been set.
|
446
|
+
It can be used for example to filter close requests and clear the close flag
|
447
|
+
again unless certain conditions are met.
|
448
|
+
|
449
|
+
@code
|
450
|
+
void window_close_callback(GLFWwindow* window)
|
451
|
+
{
|
452
|
+
if (!time_to_close)
|
453
|
+
glfwSetWindowShouldClose(window, GLFW_FALSE);
|
454
|
+
}
|
455
|
+
@endcode
|
456
|
+
|
457
|
+
|
458
|
+
@subsection window_size Window size
|
459
|
+
|
460
|
+
The size of a window can be changed with @ref glfwSetWindowSize. For windowed
|
461
|
+
mode windows, this sets the size, in
|
462
|
+
[screen coordinates](@ref coordinate_systems) of the _client area_ or _content
|
463
|
+
area_ of the window. The window system may impose limits on window size.
|
464
|
+
|
465
|
+
@code
|
466
|
+
glfwSetWindowSize(window, 640, 480);
|
467
|
+
@endcode
|
468
|
+
|
469
|
+
For full screen windows, the specified size becomes the new resolution of the
|
470
|
+
window's desired video mode. The video mode most closely matching the new
|
471
|
+
desired video mode is set immediately. The window is resized to fit the
|
472
|
+
resolution of the set video mode.
|
473
|
+
|
474
|
+
If you wish to be notified when a window is resized, whether by the user or
|
475
|
+
the system, set a size callback.
|
476
|
+
|
477
|
+
@code
|
478
|
+
glfwSetWindowSizeCallback(window, window_size_callback);
|
479
|
+
@endcode
|
480
|
+
|
481
|
+
The callback function receives the new size, in screen coordinates, of the
|
482
|
+
client area of the window when it is resized.
|
483
|
+
|
484
|
+
@code
|
485
|
+
void window_size_callback(GLFWwindow* window, int width, int height)
|
486
|
+
{
|
487
|
+
}
|
488
|
+
@endcode
|
489
|
+
|
490
|
+
There is also @ref glfwGetWindowSize for directly retrieving the current size of
|
491
|
+
a window.
|
492
|
+
|
493
|
+
@code
|
494
|
+
int width, height;
|
495
|
+
glfwGetWindowSize(window, &width, &height);
|
496
|
+
@endcode
|
497
|
+
|
498
|
+
@note Do not pass the window size to `glViewport` or other pixel-based OpenGL
|
499
|
+
calls. The window size is in screen coordinates, not pixels. Use the
|
500
|
+
[framebuffer size](@ref window_fbsize), which is in pixels, for pixel-based
|
501
|
+
calls.
|
502
|
+
|
503
|
+
The above functions work with the size of the client area, but decorated windows
|
504
|
+
typically have title bars and window frames around this rectangle. You can
|
505
|
+
retrieve the extents of these with @ref glfwGetWindowFrameSize.
|
506
|
+
|
507
|
+
@code
|
508
|
+
int left, top, right, bottom;
|
509
|
+
glfwGetWindowFrameSize(window, &left, &top, &right, &bottom);
|
510
|
+
@endcode
|
511
|
+
|
512
|
+
The returned values are the distances, in screen coordinates, from the edges of
|
513
|
+
the client area to the corresponding edges of the full window. As they are
|
514
|
+
distances and not coordinates, they are always zero or positive.
|
515
|
+
|
516
|
+
|
517
|
+
@subsection window_fbsize Framebuffer size
|
518
|
+
|
519
|
+
While the size of a window is measured in screen coordinates, OpenGL works with
|
520
|
+
pixels. The size you pass into `glViewport`, for example, should be in pixels.
|
521
|
+
On some machines screen coordinates and pixels are the same, but on others they
|
522
|
+
will not be. There is a second set of functions to retrieve the size, in
|
523
|
+
pixels, of the framebuffer of a window.
|
524
|
+
|
525
|
+
If you wish to be notified when the framebuffer of a window is resized, whether
|
526
|
+
by the user or the system, set a size callback.
|
527
|
+
|
528
|
+
@code
|
529
|
+
glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);
|
530
|
+
@endcode
|
531
|
+
|
532
|
+
The callback function receives the new size of the framebuffer when it is
|
533
|
+
resized, which can for example be used to update the OpenGL viewport.
|
534
|
+
|
535
|
+
@code
|
536
|
+
void framebuffer_size_callback(GLFWwindow* window, int width, int height)
|
537
|
+
{
|
538
|
+
glViewport(0, 0, width, height);
|
539
|
+
}
|
540
|
+
@endcode
|
541
|
+
|
542
|
+
There is also @ref glfwGetFramebufferSize for directly retrieving the current
|
543
|
+
size of the framebuffer of a window.
|
544
|
+
|
545
|
+
@code
|
546
|
+
int width, height;
|
547
|
+
glfwGetFramebufferSize(window, &width, &height);
|
548
|
+
glViewport(0, 0, width, height);
|
549
|
+
@endcode
|
550
|
+
|
551
|
+
The size of a framebuffer may change independently of the size of a window, for
|
552
|
+
example if the window is dragged between a regular monitor and a high-DPI one.
|
553
|
+
|
554
|
+
|
555
|
+
@subsection window_sizelimits Window size limits
|
556
|
+
|
557
|
+
The minimum and maximum size of the client area of a windowed mode window can be
|
558
|
+
enforced with @ref glfwSetWindowSizeLimits. The user may resize the window to
|
559
|
+
any size and aspect ratio within the specified limits, unless the aspect ratio
|
560
|
+
is also set.
|
561
|
+
|
562
|
+
@code
|
563
|
+
glfwSetWindowSizeLimits(window, 200, 200, 400, 400);
|
564
|
+
@endcode
|
565
|
+
|
566
|
+
To specify only a minimum size or only a maximum one, set the other pair to
|
567
|
+
`GLFW_DONT_CARE`.
|
568
|
+
|
569
|
+
@code
|
570
|
+
glfwSetWindowSizeLimits(window, 640, 480, GLFW_DONT_CARE, GLFW_DONT_CARE);
|
571
|
+
@endcode
|
572
|
+
|
573
|
+
To disable size limits for a window, set them all to `GLFW_DONT_CARE`.
|
574
|
+
|
575
|
+
The aspect ratio of the client area of a windowed mode window can be enforced
|
576
|
+
with @ref glfwSetWindowAspectRatio. The user may resize the window freely
|
577
|
+
unless size limits are also set, but the size will be constrained to maintain
|
578
|
+
the aspect ratio.
|
579
|
+
|
580
|
+
@code
|
581
|
+
glfwSetWindowAspectRatio(window, 16, 9);
|
582
|
+
@endcode
|
583
|
+
|
584
|
+
The aspect ratio is specified as a numerator and denominator, corresponding to
|
585
|
+
the width and height, respectively. If you want a window to maintain its
|
586
|
+
current aspect ratio, simply use its current size as the ratio.
|
587
|
+
|
588
|
+
@code
|
589
|
+
int width, height;
|
590
|
+
glfwGetWindowSize(window, &width, &height);
|
591
|
+
glfwSetWindowAspectRatio(window, width, height);
|
592
|
+
@endcode
|
593
|
+
|
594
|
+
To disable the aspect ratio limit for a window, set both terms to
|
595
|
+
`GLFW_DONT_CARE`.
|
596
|
+
|
597
|
+
You can have both size limits and aspect ratio set for a window, but the results
|
598
|
+
are undefined if they conflict.
|
599
|
+
|
600
|
+
|
601
|
+
@subsection window_pos Window position
|
602
|
+
|
603
|
+
The position of a windowed-mode window can be changed with @ref
|
604
|
+
glfwSetWindowPos. This moves the window so that the upper-left corner of its
|
605
|
+
client area has the specified [screen coordinates](@ref coordinate_systems).
|
606
|
+
The window system may put limitations on window placement.
|
607
|
+
|
608
|
+
@code
|
609
|
+
glfwSetWindowPos(window, 100, 100);
|
610
|
+
@endcode
|
611
|
+
|
612
|
+
If you wish to be notified when a window is moved, whether by the user, system
|
613
|
+
or your own code, set a position callback.
|
614
|
+
|
615
|
+
@code
|
616
|
+
glfwSetWindowPosCallback(window, window_pos_callback);
|
617
|
+
@endcode
|
618
|
+
|
619
|
+
The callback function receives the new position of the upper-left corner of the
|
620
|
+
client area when the window is moved.
|
621
|
+
|
622
|
+
@code
|
623
|
+
void window_pos_callback(GLFWwindow* window, int xpos, int ypos)
|
624
|
+
{
|
625
|
+
}
|
626
|
+
@endcode
|
627
|
+
|
628
|
+
There is also @ref glfwGetWindowPos for directly retrieving the current position
|
629
|
+
of the client area of the window.
|
630
|
+
|
631
|
+
@code
|
632
|
+
int xpos, ypos;
|
633
|
+
glfwGetWindowPos(window, &xpos, &ypos);
|
634
|
+
@endcode
|
635
|
+
|
636
|
+
|
637
|
+
@subsection window_title Window title
|
638
|
+
|
639
|
+
All GLFW windows have a title, although undecorated or full screen windows may
|
640
|
+
not display it or only display it in a task bar or similar interface. You can
|
641
|
+
set a UTF-8 encoded window title with @ref glfwSetWindowTitle.
|
642
|
+
|
643
|
+
@code
|
644
|
+
glfwSetWindowTitle(window, "My Window");
|
645
|
+
@endcode
|
646
|
+
|
647
|
+
The specified string is copied before the function returns, so there is no need
|
648
|
+
to keep it around.
|
649
|
+
|
650
|
+
As long as your source file is encoded as UTF-8, you can use any Unicode
|
651
|
+
characters directly in the source.
|
652
|
+
|
653
|
+
@code
|
654
|
+
glfwSetWindowTitle(window, "カウボーイビバップ");
|
655
|
+
@endcode
|
656
|
+
|
657
|
+
If you are using C++11 or C11, you can use a UTF-8 string literal.
|
658
|
+
|
659
|
+
@code
|
660
|
+
glfwSetWindowTitle(window, u8"This is always a UTF-8 string");
|
661
|
+
@endcode
|
662
|
+
|
663
|
+
|
664
|
+
@subsection window_icon Window icon
|
665
|
+
|
666
|
+
Decorated windows have icons on some platforms. You can set this icon by
|
667
|
+
specifying a list of candidate images with @ref glfwSetWindowIcon.
|
668
|
+
|
669
|
+
@code
|
670
|
+
GLFWimage images[2];
|
671
|
+
images[0] = load_icon("my_icon.png");
|
672
|
+
images[1] = load_icon("my_icon_small.png");
|
673
|
+
|
674
|
+
glfwSetWindowIcon(window, 2, images);
|
675
|
+
@endcode
|
676
|
+
|
677
|
+
To revert to the default window icon, pass in an empty image array.
|
678
|
+
|
679
|
+
@code
|
680
|
+
glfwSetWindowIcon(window, 0, NULL);
|
681
|
+
@endcode
|
682
|
+
|
683
|
+
|
684
|
+
@subsection window_monitor Window monitor
|
685
|
+
|
686
|
+
Full screen windows are associated with a specific monitor. You can get the
|
687
|
+
handle for this monitor with @ref glfwGetWindowMonitor.
|
688
|
+
|
689
|
+
@code
|
690
|
+
GLFWmonitor* monitor = glfwGetWindowMonitor(window);
|
691
|
+
@endcode
|
692
|
+
|
693
|
+
This monitor handle is one of those returned by @ref glfwGetMonitors.
|
694
|
+
|
695
|
+
For windowed mode windows, this function returns `NULL`. This is how to tell
|
696
|
+
full screen windows from windowed mode windows.
|
697
|
+
|
698
|
+
You can move windows between monitors or between full screen and windowed mode
|
699
|
+
with @ref glfwSetWindowMonitor. When making a window full screen on the same or
|
700
|
+
on a different monitor, specify the desired monitor, resolution and refresh
|
701
|
+
rate. The position arguments are ignored.
|
702
|
+
|
703
|
+
@code
|
704
|
+
const GLFWvidmode* mode = glfwGetVideoMode(monitor);
|
705
|
+
|
706
|
+
glfwSetWindowMonitor(window, monitor, 0, 0, mode->width, mode->height, mode->refreshRate);
|
707
|
+
@endcode
|
708
|
+
|
709
|
+
When making the window windowed, specify the desired position and size. The
|
710
|
+
refresh rate argument is ignored.
|
711
|
+
|
712
|
+
@code
|
713
|
+
glfwSetWindowMonitor(window, NULL, xpos, ypos, width, height, 0);
|
714
|
+
@endcode
|
715
|
+
|
716
|
+
This restores any previous window settings such as whether it is decorated,
|
717
|
+
floating, resizable, has size or aspect ratio limits, etc.. To restore a window
|
718
|
+
that was originally windowed to its original size and position, save these
|
719
|
+
before making it full screen and then pass them in as above.
|
720
|
+
|
721
|
+
|
722
|
+
@subsection window_iconify Window iconification
|
723
|
+
|
724
|
+
Windows can be iconified (i.e. minimized) with @ref glfwIconifyWindow.
|
725
|
+
|
726
|
+
@code
|
727
|
+
glfwIconifyWindow(window);
|
728
|
+
@endcode
|
729
|
+
|
730
|
+
When a full screen window is iconified, the original video mode of its monitor
|
731
|
+
is restored until the user or application restores the window.
|
732
|
+
|
733
|
+
Iconified windows can be restored with @ref glfwRestoreWindow.
|
734
|
+
|
735
|
+
@code
|
736
|
+
glfwRestoreWindow(window);
|
737
|
+
@endcode
|
738
|
+
|
739
|
+
When a full screen window is restored, the desired video mode is restored to its
|
740
|
+
monitor as well.
|
741
|
+
|
742
|
+
If you wish to be notified when a window is iconified or restored, whether by
|
743
|
+
the user, system or your own code, set a iconify callback.
|
744
|
+
|
745
|
+
@code
|
746
|
+
glfwSetWindowIconifyCallback(window, window_iconify_callback);
|
747
|
+
@endcode
|
748
|
+
|
749
|
+
The callback function receives changes in the iconification state of the window.
|
750
|
+
|
751
|
+
@code
|
752
|
+
void window_iconify_callback(GLFWwindow* window, int iconified)
|
753
|
+
{
|
754
|
+
if (iconified)
|
755
|
+
{
|
756
|
+
// The window was iconified
|
757
|
+
}
|
758
|
+
else
|
759
|
+
{
|
760
|
+
// The window was restored
|
761
|
+
}
|
762
|
+
}
|
763
|
+
@endcode
|
764
|
+
|
765
|
+
You can also get the current iconification state with @ref glfwGetWindowAttrib.
|
766
|
+
|
767
|
+
@code
|
768
|
+
int iconified = glfwGetWindowAttrib(window, GLFW_ICONIFIED);
|
769
|
+
@endcode
|
770
|
+
|
771
|
+
|
772
|
+
@subsection window_hide Window visibility
|
773
|
+
|
774
|
+
Windowed mode windows can be hidden with @ref glfwHideWindow.
|
775
|
+
|
776
|
+
@code
|
777
|
+
glfwHideWindow(window);
|
778
|
+
@endcode
|
779
|
+
|
780
|
+
This makes the window completely invisible to the user, including removing it
|
781
|
+
from the task bar, dock or window list. Full screen windows cannot be hidden
|
782
|
+
and calling @ref glfwHideWindow on a full screen window does nothing.
|
783
|
+
|
784
|
+
Hidden windows can be shown with @ref glfwShowWindow.
|
785
|
+
|
786
|
+
@code
|
787
|
+
glfwShowWindow(window);
|
788
|
+
@endcode
|
789
|
+
|
790
|
+
Windowed mode windows can be created initially hidden with the `GLFW_VISIBLE`
|
791
|
+
[window hint](@ref window_hints_wnd). Windows created hidden are completely
|
792
|
+
invisible to the user until shown. This can be useful if you need to set up
|
793
|
+
your window further before showing it, for example moving it to a specific
|
794
|
+
location.
|
795
|
+
|
796
|
+
You can also get the current visibility state with @ref glfwGetWindowAttrib.
|
797
|
+
|
798
|
+
@code
|
799
|
+
int visible = glfwGetWindowAttrib(window, GLFW_VISIBLE);
|
800
|
+
@endcode
|
801
|
+
|
802
|
+
|
803
|
+
@subsection window_focus Window input focus
|
804
|
+
|
805
|
+
Windows can be given input focus and brought to the front with @ref
|
806
|
+
glfwFocusWindow.
|
807
|
+
|
808
|
+
@code
|
809
|
+
glfwFocusWindow(window);
|
810
|
+
@endcode
|
811
|
+
|
812
|
+
If you wish to be notified when a window gains or loses input focus, whether by
|
813
|
+
the user, system or your own code, set a focus callback.
|
814
|
+
|
815
|
+
@code
|
816
|
+
glfwSetWindowFocusCallback(window, window_focus_callback);
|
817
|
+
@endcode
|
818
|
+
|
819
|
+
The callback function receives changes in the input focus state of the window.
|
820
|
+
|
821
|
+
@code
|
822
|
+
void window_focus_callback(GLFWwindow* window, int focused)
|
823
|
+
{
|
824
|
+
if (focused)
|
825
|
+
{
|
826
|
+
// The window gained input focus
|
827
|
+
}
|
828
|
+
else
|
829
|
+
{
|
830
|
+
// The window lost input focus
|
831
|
+
}
|
832
|
+
}
|
833
|
+
@endcode
|
834
|
+
|
835
|
+
You can also get the current input focus state with @ref glfwGetWindowAttrib.
|
836
|
+
|
837
|
+
@code
|
838
|
+
int focused = glfwGetWindowAttrib(window, GLFW_FOCUSED);
|
839
|
+
@endcode
|
840
|
+
|
841
|
+
|
842
|
+
@subsection window_refresh Window damage and refresh
|
843
|
+
|
844
|
+
If you wish to be notified when the contents of a window is damaged and needs
|
845
|
+
to be refreshed, set a window refresh callback.
|
846
|
+
|
847
|
+
@code
|
848
|
+
glfwSetWindowRefreshCallback(m_handle, window_refresh_callback);
|
849
|
+
@endcode
|
850
|
+
|
851
|
+
The callback function is called when the contents of the window needs to be
|
852
|
+
refreshed.
|
853
|
+
|
854
|
+
@code
|
855
|
+
void window_refresh_callback(GLFWwindow* window)
|
856
|
+
{
|
857
|
+
draw_editor_ui(window);
|
858
|
+
glfwSwapBuffers(window);
|
859
|
+
}
|
860
|
+
@endcode
|
861
|
+
|
862
|
+
@note On compositing window systems such as Aero, Compiz or Aqua, where the
|
863
|
+
window contents are saved off-screen, this callback might only be called when
|
864
|
+
the window or framebuffer is resized.
|
865
|
+
|
866
|
+
|
867
|
+
@subsection window_attribs Window attributes
|
868
|
+
|
869
|
+
Windows have a number of attributes that can be returned using @ref
|
870
|
+
glfwGetWindowAttrib. Some reflect state that may change during the lifetime of
|
871
|
+
the window, while others reflect the corresponding hints and are fixed at the
|
872
|
+
time of creation. Some are related to the actual window and others to its
|
873
|
+
context.
|
874
|
+
|
875
|
+
@code
|
876
|
+
if (glfwGetWindowAttrib(window, GLFW_FOCUSED))
|
877
|
+
{
|
878
|
+
// window has input focus
|
879
|
+
}
|
880
|
+
@endcode
|
881
|
+
|
882
|
+
|
883
|
+
@subsubsection window_attribs_wnd Window related attributes
|
884
|
+
|
885
|
+
`GLFW_FOCUSED` indicates whether the specified window has input focus. Initial
|
886
|
+
input focus is controlled by the [window hint](@ref window_hints_wnd) with the
|
887
|
+
same name.
|
888
|
+
|
889
|
+
`GLFW_ICONIFIED` indicates whether the specified window is iconified, whether by
|
890
|
+
the user or with @ref glfwIconifyWindow.
|
891
|
+
|
892
|
+
`GLFW_MAXIMIZED` indicates whether the specified window is maximized, whether by
|
893
|
+
the user or with @ref glfwMaximizeWindow.
|
894
|
+
|
895
|
+
`GLFW_VISIBLE` indicates whether the specified window is visible. Window
|
896
|
+
visibility can be controlled with @ref glfwShowWindow and @ref glfwHideWindow
|
897
|
+
and initial visibility is controlled by the [window hint](@ref window_hints_wnd)
|
898
|
+
with the same name.
|
899
|
+
|
900
|
+
`GLFW_RESIZABLE` indicates whether the specified window is resizable _by the
|
901
|
+
user_. This is set on creation with the [window hint](@ref window_hints_wnd)
|
902
|
+
with the same name.
|
903
|
+
|
904
|
+
`GLFW_DECORATED` indicates whether the specified window has decorations such as
|
905
|
+
a border, a close widget, etc. This is set on creation with the
|
906
|
+
[window hint](@ref window_hints_wnd) with the same name.
|
907
|
+
|
908
|
+
`GLFW_FLOATING` indicates whether the specified window is floating, also called
|
909
|
+
topmost or always-on-top. This is controlled by the
|
910
|
+
[window hint](@ref window_hints_wnd) with the same name.
|
911
|
+
|
912
|
+
|
913
|
+
@subsubsection window_attribs_ctx Context related attributes
|
914
|
+
|
915
|
+
`GLFW_CLIENT_API` indicates the client API provided by the window's context;
|
916
|
+
either `GLFW_OPENGL_API`, `GLFW_OPENGL_ES_API` or `GLFW_NO_API`.
|
917
|
+
|
918
|
+
`GLFW_CONTEXT_CREATION_API` indicates the context creation API used to create
|
919
|
+
the window's context; either `GLFW_NATIVE_CONTEXT_API` or
|
920
|
+
`GLFW_EGL_CONTEXT_API`.
|
921
|
+
|
922
|
+
`GLFW_CONTEXT_VERSION_MAJOR`, `GLFW_CONTEXT_VERSION_MINOR` and
|
923
|
+
`GLFW_CONTEXT_REVISION` indicate the client API version of the window's context.
|
924
|
+
|
925
|
+
`GLFW_OPENGL_FORWARD_COMPAT` is `GLFW_TRUE` if the window's context is an OpenGL
|
926
|
+
forward-compatible one, or `GLFW_FALSE` otherwise.
|
927
|
+
|
928
|
+
`GLFW_OPENGL_DEBUG_CONTEXT` is `GLFW_TRUE` if the window's context is an OpenGL
|
929
|
+
debug context, or `GLFW_FALSE` otherwise.
|
930
|
+
|
931
|
+
`GLFW_OPENGL_PROFILE` indicates the OpenGL profile used by the context. This is
|
932
|
+
`GLFW_OPENGL_CORE_PROFILE` or `GLFW_OPENGL_COMPAT_PROFILE` if the context uses
|
933
|
+
a known profile, or `GLFW_OPENGL_ANY_PROFILE` if the OpenGL profile is unknown
|
934
|
+
or the context is an OpenGL ES context. Note that the returned profile may not
|
935
|
+
match the profile bits of the context flags, as GLFW will try other means of
|
936
|
+
detecting the profile when no bits are set.
|
937
|
+
|
938
|
+
`GLFW_CONTEXT_ROBUSTNESS` indicates the robustness strategy used by the context.
|
939
|
+
This is `GLFW_LOSE_CONTEXT_ON_RESET` or `GLFW_NO_RESET_NOTIFICATION` if the
|
940
|
+
window's context supports robustness, or `GLFW_NO_ROBUSTNESS` otherwise.
|
941
|
+
|
942
|
+
|
943
|
+
@subsubsection window_attribs_fb Framebuffer related attributes
|
944
|
+
|
945
|
+
GLFW does not expose attributes of the default framebuffer (i.e. the framebuffer
|
946
|
+
attached to the window) as these can be queried directly with either OpenGL,
|
947
|
+
OpenGL ES or Vulkan.
|
948
|
+
|
949
|
+
If you are using version 3.0 or later of OpenGL or OpenGL ES, the
|
950
|
+
`glGetFramebufferAttachmentParameteriv` function can be used to retrieve the
|
951
|
+
number of bits for the red, green, blue, alpha, depth and stencil buffer
|
952
|
+
channels. Otherwise, the `glGetIntegerv` function can be used.
|
953
|
+
|
954
|
+
The number of MSAA samples are always retrieved with `glGetIntegerv`. For
|
955
|
+
contexts supporting framebuffer objects, the number of samples of the currently
|
956
|
+
bound framebuffer is returned.
|
957
|
+
|
958
|
+
Attribute | glGetIntegerv | glGetFramebufferAttachmentParameteriv
|
959
|
+
------------ | ----------------- | -------------------------------------
|
960
|
+
Red bits | `GL_RED_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE`
|
961
|
+
Green bits | `GL_GREEN_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE`
|
962
|
+
Blue bits | `GL_BLUE_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE`
|
963
|
+
Alpha bits | `GL_ALPHA_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE`
|
964
|
+
Depth bits | `GL_DEPTH_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE`
|
965
|
+
Stencil bits | `GL_STENCIL_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE`
|
966
|
+
MSAA samples | `GL_SAMPLES` | _Not provided by this function_
|
967
|
+
|
968
|
+
When calling `glGetFramebufferAttachmentParameteriv`, the red, green, blue and
|
969
|
+
alpha sizes are queried from the `GL_BACK_LEFT`, while the depth and stencil
|
970
|
+
sizes are queried from the `GL_DEPTH` and `GL_STENCIL` attachments,
|
971
|
+
respectively.
|
972
|
+
|
973
|
+
|
974
|
+
@section buffer_swap Buffer swapping
|
975
|
+
|
976
|
+
GLFW windows are by default double buffered. That means that you have two
|
977
|
+
rendering buffers; a front buffer and a back buffer. The front buffer is
|
978
|
+
the one being displayed and the back buffer the one you render to.
|
979
|
+
|
980
|
+
When the entire frame has been rendered, it is time to swap the back and the
|
981
|
+
front buffers in order to display what has been rendered and begin rendering
|
982
|
+
a new frame. This is done with @ref glfwSwapBuffers.
|
983
|
+
|
984
|
+
@code
|
985
|
+
glfwSwapBuffers(window);
|
986
|
+
@endcode
|
987
|
+
|
988
|
+
Sometimes it can be useful to select when the buffer swap will occur. With the
|
989
|
+
function @ref glfwSwapInterval it is possible to select the minimum number of
|
990
|
+
monitor refreshes the driver wait should from the time @ref glfwSwapBuffers was
|
991
|
+
called before swapping the buffers:
|
992
|
+
|
993
|
+
@code
|
994
|
+
glfwSwapInterval(1);
|
995
|
+
@endcode
|
996
|
+
|
997
|
+
If the interval is zero, the swap will take place immediately when @ref
|
998
|
+
glfwSwapBuffers is called without waiting for a refresh. Otherwise at least
|
999
|
+
interval retraces will pass between each buffer swap. Using a swap interval of
|
1000
|
+
zero can be useful for benchmarking purposes, when it is not desirable to
|
1001
|
+
measure the time it takes to wait for the vertical retrace. However, a swap
|
1002
|
+
interval of one lets you avoid tearing.
|
1003
|
+
|
1004
|
+
Note that this may not work on all machines, as some drivers have
|
1005
|
+
user-controlled settings that override any swap interval the application
|
1006
|
+
requests.
|
1007
|
+
|
1008
|
+
*/
|