├── external ├── glm-0.9.3.0 │ ├── glm │ │ ├── gtx │ │ │ ├── vec1.inl │ │ │ ├── ocl_type.inl │ │ │ └── simd_vec4.hpp │ │ └── core │ │ │ ├── func_common.hpp │ │ │ ├── func_common.inl │ │ │ ├── type_half.inl │ │ │ └── func_integer.hpp │ └── util │ │ └── FindGLM.cmake ├── glew-1.7.0 │ ├── auto │ │ ├── extensions │ │ │ ├── .dummy │ │ │ ├── GL_ATI_shader_texture_lod │ │ │ ├── GL_SGIX_ycrcb │ │ │ ├── GL_SGIX_clipmap │ │ │ ├── GL_EXT_abgr │ │ │ ├── GL_APPLE_pixel_buffer │ │ │ ├── GL_NV_blend_square │ │ │ ├── GLX_ATI_pixel_format_float │ │ │ ├── GLX_EXT_scene_marker │ │ │ ├── GL_EXT_shadow_funcs │ │ │ ├── GL_ARB_compatibility │ │ │ ├── GL_ARB_draw_instanced │ │ │ ├── GL_EXT_blend_logic_op │ │ │ ├── GL_EXT_index_texture │ │ │ ├── GL_EXT_misc_attribute │ │ │ ├── GL_NV_gpu_program_fp64 │ │ │ ├── GL_NV_vertex_program2 │ │ │ ├── GL_SGIS_pixel_texture │ │ │ ├── GL_SGIX_list_priority │ │ │ ├── GL_ARB_texture_env_add │ │ │ ├── GL_EXT_texture_env_add │ │ │ ├── GL_HP_texture_lighting │ │ │ ├── GL_SGIS_texture_select │ │ │ ├── GL_SGIX_ir_instrument1 │ │ │ ├── GL_AMD_texture_texture4 │ │ │ ├── GL_ARB_shader_precision │ │ │ ├── GL_EXT_bgra │ │ │ ├── GL_NV_vertex_program1_1 │ │ │ ├── GL_SGIX_texture_add_env │ │ │ ├── GLX_NV_float_buffer │ │ │ ├── GL_ARB_depth_clamp │ │ │ ├── GL_ARB_texture_query_lod │ │ │ ├── GL_NV_depth_clamp │ │ │ ├── GL_SGIX_interlace │ │ │ ├── GL_SGIX_texture_lod_bias │ │ │ ├── WGL_ATI_render_texture_rectangle │ │ │ ├── GL_3DFX_tbuffer │ │ │ ├── GL_AMD_conservative_depth │ │ │ ├── GL_ARB_conservative_depth │ │ │ ├── GL_ARB_shader_bit_encoding │ │ │ ├── GL_ARB_shader_texture_lod │ │ │ ├── GL_ATI_texture_compression_3dc │ │ │ ├── GL_EXT_index_array_formats │ │ │ ├── GL_IBM_cull_vertex │ │ │ ├── GL_NV_fragment_program4 │ │ │ ├── GL_NV_geometry_shader4 │ │ │ ├── GL_SGIX_pixel_texture_bits │ │ │ ├── GL_SUN_slice_accum │ │ │ ├── GL_ARB_texture_env_crossbar │ │ │ ├── GL_MESA_pack_invert │ │ │ ├── GL_SGIX_framezoom │ │ │ ├── GL_AMD_shader_stencil_export │ │ │ ├── GL_ARB_shader_stencil_export │ │ │ ├── WGL_EXT_depth_float │ │ │ ├── GL_ARB_vertex_array_bgra │ │ │ ├── GL_EXT_rescale_normal │ │ │ ├── GL_EXT_vertex_array_bgra │ │ │ ├── GL_NV_texture_compression_vtc │ │ │ ├── GL_OES_byte_coordinates │ │ │ ├── GL_SGIX_flush_raster │ │ │ ├── GL_WIN_specular_fog │ │ │ ├── GLX_SGI_swap_control │ │ │ ├── GL_ARB_explicit_attrib_location │ │ │ ├── GL_ARB_fragment_program_shadow │ │ │ ├── GL_ARB_framebuffer_sRGB │ │ │ ├── GL_ARB_half_float_pixel │ │ │ ├── GL_ARB_half_float_vertex │ │ │ ├── GL_ARB_shading_language_420pack │ │ │ ├── GL_ARB_shading_language_packing │ │ │ ├── GL_ARB_texture_non_power_of_two │ │ │ ├── GL_EXT_index_func │ │ │ ├── GL_HP_convolution_border_modes │ │ │ ├── GL_INGR_interlace_read │ │ │ ├── GL_NV_parameter_buffer_object2 │ │ │ ├── GL_NV_texture_barrier │ │ │ ├── GL_SGIX_shadow_ambient │ │ │ ├── GLX_SGIS_blended_overlay │ │ │ ├── GLX_SGI_cushion │ │ │ ├── GL_APPLE_transform_hint │ │ │ ├── GL_ARB_occlusion_query2 │ │ │ ├── GL_ARB_texture_rgb10_a2ui │ │ │ ├── GL_IBM_rasterpos_clip │ │ │ ├── GL_MESA_resize_buffers │ │ │ ├── GL_OML_interlace │ │ │ ├── GL_ARB_fragment_coord_conventions │ │ │ ├── GL_ARB_shadow_ambient │ │ │ ├── GL_EXT_stencil_wrap │ │ │ ├── GL_NV_fragment_program_option │ │ │ ├── GL_SGIX_pixel_texture │ │ │ ├── GL_SUN_mesh_array │ │ │ ├── GLX_ARB_multisample │ │ │ ├── GLX_MESA_agp_offset │ │ │ ├── GL_APPLE_client_storage │ │ │ ├── GL_ARB_seamless_cube_map │ │ │ ├── GL_ARB_texture_buffer_object_rgb32 │ │ │ ├── GL_EXT_clip_volume_hint │ │ │ ├── GL_EXT_pixel_transform_color_table │ │ │ ├── GL_SGIS_texture_edge_clamp │ │ │ ├── GL_SGIX_tag_sample_buffer │ │ │ ├── GL_WIN_phong_shading │ │ │ ├── WGL_ARB_multisample │ │ │ ├── WGL_ARB_pixel_format_float │ │ │ ├── GLX_ARB_framebuffer_sRGB │ │ │ ├── GLX_SGIS_multisample │ │ │ ├── GLX_SGIS_shared_multisample │ │ │ ├── GL_APPLE_aux_depth_stencil │ │ │ ├── GL_ARB_point_sprite │ │ │ ├── GL_ARB_texture_border_clamp │ │ │ ├── GL_EXT_index_material │ │ │ ├── GL_EXT_scene_marker │ │ │ ├── GL_NV_vertex_program4 │ │ │ ├── GL_SGIX_fog_offset │ │ │ ├── WGL_ARB_framebuffer_sRGB │ │ │ ├── WGL_EXT_multisample │ │ │ ├── GLX_3DFX_multisample │ │ │ ├── GL_APPLE_row_bytes │ │ │ ├── GL_APPLE_specular_vector │ │ │ ├── GL_ARB_map_buffer_alignment │ │ │ ├── GL_ARB_texture_env_dot3 │ │ │ ├── GL_ATI_text_fragment_shader │ │ │ ├── GL_EXT_texture_env_dot3 │ │ │ ├── GL_IBM_static_data │ │ │ ├── GL_NV_vertex_program3 │ │ │ ├── GL_SGIS_texture_border_clamp │ │ │ ├── GL_SGIX_convolution_accuracy │ │ │ ├── WGL_3DFX_multisample │ │ │ ├── GLX_SGIX_visual_select_group │ │ │ ├── GL_ARB_shading_language_100 │ │ │ ├── GL_GREMEDY_frame_terminator │ │ │ ├── GL_HP_occlusion_test │ │ │ ├── GL_NV_texgen_reflection │ │ │ ├── GL_NV_texture_expand_normal │ │ │ ├── GL_NV_vertex_array_range2 │ │ │ ├── GL_OML_subsample │ │ │ ├── GL_SGIX_reference_plane │ │ │ ├── WGL_EXT_extensions_string │ │ │ ├── GLX_ARB_fbconfig_float │ │ │ ├── GLX_EXT_framebuffer_sRGB │ │ │ ├── GLX_MESA_release_buffers │ │ │ ├── GL_ARB_texture_mirrored_repeat │ │ │ ├── GL_ATIX_vertex_shader_output_point_size │ │ │ ├── GL_EXT_blend_subtract │ │ │ ├── GL_EXT_shared_texture_palette │ │ │ ├── GL_EXT_texture_edge_clamp │ │ │ ├── GL_IBM_texture_mirrored_repeat │ │ │ ├── GL_NV_multisample_filter_hint │ │ │ ├── GL_SGIX_texture_multi_buffer │ │ │ ├── GL_SUN_convolution_border_modes │ │ │ ├── WGL_ARB_extensions_string │ │ │ ├── WGL_EXT_framebuffer_sRGB │ │ │ ├── GL_AMD_blend_minmax_factor │ │ │ ├── GL_GREMEDY_string_marker │ │ │ ├── GL_NV_light_max_exponent │ │ │ ├── GL_SGIX_blend_alpha_minmax │ │ │ ├── GL_SGIX_vertex_preclip │ │ │ ├── GL_AMD_transform_feedback3_lines_triangles │ │ │ ├── GL_EXT_cmyka │ │ │ ├── GL_SGIS_generate_mipmap │ │ │ ├── GL_SGIX_async_histogram │ │ │ ├── WGL_EXT_swap_control │ │ │ ├── GLX_ARB_vertex_buffer_object │ │ │ ├── GLX_SGIX_swap_group │ │ │ ├── GL_ARB_shadow │ │ │ ├── GL_ATI_meminfo │ │ │ ├── GL_EXT_Cg_shader │ │ │ ├── GL_NV_fog_distance │ │ │ ├── GL_NV_multisample_coverage │ │ │ ├── GL_NV_packed_depth_stencil │ │ │ ├── GL_NV_texgen_emboss │ │ │ ├── GLX_NV_multisample_coverage │ │ │ ├── GL_AMD_depth_clamp_separate │ │ │ ├── GL_APPLE_rgb_422 │ │ │ ├── GL_ATI_texture_mirror_once │ │ │ ├── GL_EXT_stencil_clear_tag │ │ │ ├── GL_OES_read_format │ │ │ ├── GL_SGIX_vertex_preclip_hint │ │ │ ├── WGL_EXT_pixel_format_packed_float │ │ │ ├── WGL_NV_multisample_coverage │ │ │ ├── GLX_ARB_get_proc_address │ │ │ ├── GL_EXT_422_pixels │ │ │ ├── GL_NV_copy_depth_to_color │ │ │ ├── GL_REND_screen_coordinates │ │ │ ├── GL_SGIS_fog_function │ │ │ ├── GL_WIN_swap_hint │ │ │ ├── GLX_EXT_create_context_es2_profile │ │ │ ├── GLX_EXT_visual_rating │ │ │ ├── GLX_MESA_swap_control │ │ │ ├── GL_AMD_seamless_cubemap_per_texture │ │ │ ├── GL_APPLE_ycbcr_422 │ │ │ ├── GL_EXT_framebuffer_sRGB │ │ │ ├── GL_SGI_texture_color_table │ │ │ ├── WGL_EXT_create_context_es2_profile │ │ │ ├── GL_MESA_ycbcr_texture │ │ │ ├── GLX_MESA_pixmap_colormap │ │ │ ├── GL_ATIX_texture_env_combine3 │ │ │ ├── GL_SGIX_depth_texture │ │ │ ├── GLX_MESA_copy_sub_buffer │ │ │ ├── GLX_SGI_video_sync │ │ │ ├── GL_EXT_texture_sRGB_decode │ │ │ ├── GL_SUNX_constant_data │ │ │ ├── GLX_MESA_set_3dfx_mode │ │ │ ├── GL_3DFX_texture_compression_FXT1 │ │ │ ├── GL_ATI_map_object_buffer │ │ │ ├── GL_SGIX_fog_texture │ │ │ ├── GLX_OML_swap_method │ │ │ ├── GL_AMD_sample_positions │ │ │ ├── GL_ARB_depth_buffer_float │ │ │ ├── GL_ARB_sample_shading │ │ │ ├── GL_EXT_texture_compression_dxt1 │ │ │ ├── GL_EXT_texture_lod_bias │ │ │ ├── GL_S3_s3tc │ │ │ ├── GLX_EXT_fbconfig_packed_float │ │ │ ├── GL_3DFX_multisample │ │ │ ├── GL_ATI_texture_env_combine3 │ │ │ ├── GL_EXT_packed_float │ │ │ ├── GL_EXT_stencil_two_side │ │ │ ├── GL_NV_vertex_program2_option │ │ │ ├── GL_EXT_texture_filter_anisotropic │ │ │ ├── GL_EXT_texture_mirror_clamp │ │ │ ├── GL_EXT_texture_perturb_normal │ │ │ ├── GL_EXT_x11_sync_object │ │ │ ├── GL_SGIX_shadow │ │ │ ├── WGL_ATI_pixel_format_float │ │ │ ├── GL_ARB_fragment_shader │ │ │ ├── GL_EXT_blend_minmax │ │ │ ├── GL_NV_depth_range_unclamped │ │ │ ├── GL_SGIS_texture_lod │ │ │ ├── GLX_EXT_swap_control │ │ │ ├── GL_ATIX_texture_env_route │ │ │ ├── GL_SGIS_detail_texture │ │ │ ├── GLX_SUN_get_transparent_index │ │ │ ├── GL_EXT_depth_bounds_test │ │ │ ├── GLX_INTEL_swap_event │ │ │ ├── GL_EXT_separate_specular_color │ │ │ ├── GL_SGIS_sharpen_texture │ │ │ ├── GL_SUN_read_video_pixels │ │ │ ├── GL_ARB_texture_gather │ │ │ ├── GL_EXT_texture_shared_exponent │ │ │ ├── GL_INTEL_texture_scissor │ │ │ ├── GL_SGIX_texture_coordinate_clamp │ │ │ ├── GLX_SGIX_swap_barrier │ │ │ ├── GLX_SGI_make_current_read │ │ │ ├── GL_EXT_framebuffer_multisample_blit_scaled │ │ │ ├── GL_EXT_packed_depth_stencil │ │ │ ├── GL_SGIX_resample │ │ │ ├── GL_ARB_internalformat_query │ │ │ ├── GL_ARB_texture_swizzle │ │ │ ├── GL_EXT_polygon_offset │ │ │ ├── GL_NV_primitive_restart │ │ │ ├── GL_NV_texture_env_combine4 │ │ │ ├── GL_NV_texture_rectangle │ │ │ ├── WGL_EXT_make_current_read │ │ │ ├── WGL_NV_render_texture_rectangle │ │ │ ├── GLX_ARB_create_context_profile │ │ │ ├── GLX_NV_vertex_array_range │ │ │ ├── WGL_ARB_create_context_profile │ │ │ ├── WGL_NV_vertex_array_range │ │ │ ├── GL_ARB_copy_buffer │ │ │ ├── GL_ARB_depth_texture │ │ │ ├── GL_ARB_pixel_buffer_object │ │ │ ├── GL_EXT_blend_equation_separate │ │ │ ├── GL_SGIS_texture_filter4 │ │ │ ├── WGL_I3D_swap_frame_lock │ │ │ ├── GL_EXT_texture_rectangle │ │ │ ├── GL_EXT_texture_swizzle │ │ │ ├── GL_ARB_texture_compression_rgtc │ │ │ ├── GL_EXT_timer_query │ │ │ ├── GL_EXT_packed_pixels │ │ │ ├── GL_EXT_pixel_buffer_object │ │ │ ├── GL_OML_resample │ │ │ ├── GL_EXT_compiled_vertex_array │ │ │ ├── GL_ARB_provoking_vertex │ │ │ ├── GL_NV_point_sprite │ │ │ ├── GL_SGIX_texture_scale_bias │ │ │ ├── GL_EXT_color_subtable │ │ │ ├── GL_EXT_texture_compression_s3tc │ │ │ ├── GL_NV_geometry_program4 │ │ │ ├── GL_ARB_draw_indirect │ │ │ ├── WGL_ARB_make_current_read │ │ │ ├── GL_ARB_cl_event │ │ │ ├── GL_NV_copy_image │ │ │ ├── GL_SGIX_sprite │ │ │ ├── GL_EXT_draw_instanced │ │ │ ├── GL_EXT_provoking_vertex │ │ │ ├── GL_NV_fragment_program2 │ │ │ ├── GL_NV_register_combiners2 │ │ │ ├── WGL_3DL_stereo_control │ │ │ ├── GLX_NV_present_video │ │ │ ├── GL_EXT_cull_vertex │ │ │ ├── GL_EXT_draw_range_elements │ │ │ ├── GL_EXT_multi_draw_arrays │ │ │ ├── GL_SGIX_async_pixel │ │ │ ├── GLX_ARB_create_context_robustness │ │ │ ├── GLX_SGIS_color_range │ │ │ ├── GL_ARB_texture_compression_bptc │ │ │ ├── GL_ARB_timer_query │ │ │ ├── GL_EXT_texture_compression_rgtc │ │ │ ├── WGL_ARB_create_context_robustness │ │ │ ├── GL_ATIX_point_sprites │ │ │ ├── GL_EXT_separate_shader_objects │ │ │ ├── WGL_I3D_swap_frame_usage │ │ │ ├── GL_AMD_multi_draw_indirect │ │ │ ├── GL_ARB_transform_feedback_instanced │ │ │ ├── GL_NV_tessellation_program5 │ │ │ ├── GLX_SUN_video_resize │ │ │ ├── GL_ARB_color_buffer_float │ │ │ ├── GL_EXT_gpu_program_parameters │ │ │ ├── WGL_NV_copy_image │ │ │ ├── GL_ARB_gpu_shader5 │ │ │ ├── GL_ARB_texture_rectangle │ │ │ ├── GL_ARB_vertex_array_object │ │ │ ├── GL_EXT_blend_func_separate │ │ │ ├── GL_EXT_texture_compression_latc │ │ │ ├── GL_MESAX_texture_stack │ │ │ ├── GL_NV_conditional_render │ │ │ ├── GL_EXT_blend_color │ │ │ ├── GL_SGIS_color_range │ │ │ ├── WGL_EXT_display_color_table │ │ │ └── WGL_NV_render_depth_texture │ │ ├── src │ │ │ ├── glewinfo_glx.c │ │ │ ├── glew.rc │ │ │ ├── footer.html │ │ │ ├── glewinfo.rc │ │ │ ├── glew_str_tail.c │ │ │ ├── visualinfo.rc │ │ │ ├── glewinfo_wgl.c │ │ │ └── glewinfo_gl.c │ │ ├── core │ │ │ ├── GL_ATI_shader_texture_lod │ │ │ ├── GL_VERSION_4_1 │ │ │ ├── GL_VERSION_4_2 │ │ │ ├── GL_VERSION_1_2_1 │ │ │ ├── GL_APPLE_pixel_buffer │ │ │ ├── GLX_ATI_pixel_format_float │ │ │ ├── GL_ARB_draw_instanced │ │ │ ├── GLX_NV_float_buffer │ │ │ ├── WGL_ATI_render_texture_rectangle │ │ │ ├── GLX_VERSION_1_2 │ │ │ ├── GL_ATI_texture_compression_3dc │ │ │ ├── GL_NV_fragment_program4 │ │ │ ├── GL_NV_geometry_shader4 │ │ │ ├── GL_NV_fragment_program_option │ │ │ ├── GLX_SGIS_shared_multisample │ │ │ ├── GL_NV_vertex_program3 │ │ │ ├── GL_NV_vertex_program4 │ │ │ ├── GLX_EXT_framebuffer_sRGB │ │ │ ├── GL_ATIX_vertex_shader_output_point_size │ │ │ ├── GL_EXT_texture_edge_clamp │ │ │ ├── WGL_EXT_framebuffer_sRGB │ │ │ ├── GLX_SGIX_swap_group │ │ │ ├── GL_EXT_Cg_shader │ │ │ ├── GL_WIN_swap_hint │ │ │ ├── WGL_EXT_pixel_format_packed_float │ │ │ ├── GLX_ARB_get_proc_address │ │ │ ├── GLX_MESA_swap_control │ │ │ ├── GL_EXT_framebuffer_sRGB │ │ │ ├── GLX_VERSION_1_4 │ │ │ ├── GLX_SGI_video_sync │ │ │ ├── GL_ATIX_texture_env_combine3 │ │ │ ├── GL_ATI_map_object_buffer │ │ │ ├── GLX_EXT_fbconfig_packed_float │ │ │ ├── GL_NV_vertex_program2_option │ │ │ ├── GL_EXT_packed_float │ │ │ ├── GL_SGIX_shadow │ │ │ ├── GL_NV_depth_range_unclamped │ │ │ ├── GL_ATIX_texture_env_route │ │ │ ├── GL_EXT_depth_bounds_test │ │ │ ├── GL_SUN_read_video_pixels │ │ │ ├── GL_EXT_texture_shared_exponent │ │ │ ├── GLX_SGIX_swap_barrier │ │ │ ├── GLX_NV_vertex_array_range │ │ │ ├── WGL_NV_vertex_array_range │ │ │ ├── GL_EXT_texture_rectangle │ │ │ ├── GL_EXT_timer_query │ │ │ ├── GL_EXT_pixel_buffer_object │ │ │ ├── GL_NV_geometry_program4 │ │ │ ├── GL_EXT_draw_instanced │ │ │ ├── GL_EXT_draw_range_elements │ │ │ ├── GL_NV_fragment_program2 │ │ │ ├── GL_EXT_texture_compression_rgtc │ │ │ ├── GL_ATIX_point_sprites │ │ │ ├── GL_NV_tessellation_program5 │ │ │ ├── GLX_SUN_video_resize │ │ │ ├── GL_EXT_gpu_program_parameters │ │ │ └── GL_EXT_texture_compression_latc │ │ └── custom.txt │ ├── doc │ │ ├── glew.png │ │ ├── new.png │ │ └── ogl_sm.jpg │ ├── build │ │ └── vc6 │ │ │ ├── glew.rc │ │ │ ├── glewinfo.rc │ │ │ └── visualinfo.rc │ ├── lib │ │ ├── win32-vc │ │ │ └── glew32s.lib │ │ └── win64-vc │ │ │ └── glew32s.lib │ ├── config │ │ └── version │ └── glew.pc.in ├── gli-0.3.1.0 │ ├── gli │ │ └── core │ │ │ └── dummy.cpp │ └── util │ │ └── FindGLI.cmake ├── cl-1.2 │ └── lib │ │ ├── win32 │ │ └── OpenCL.lib │ │ └── win64 │ │ └── OpenCL.lib ├── egl-1.4 │ └── lib │ │ ├── win32 │ │ └── libEGL.lib │ │ ├── win64 │ │ └── libEGL.lib │ │ ├── linux32 │ │ └── libEGL.so │ │ └── linux64 │ │ └── libEGL.so ├── gles-2.0 │ └── lib │ │ ├── linux32 │ │ └── libGLESv2.so │ │ ├── linux64 │ │ └── libGLESv2.so │ │ ├── win32 │ │ └── libGLESv2.lib │ │ └── win64 │ │ └── libGLESv2.lib ├── freeglut-2.6.0 │ ├── lib │ │ ├── win32-vc │ │ │ └── freeglut_static.lib │ │ └── win64-vc │ │ │ └── freeglut_static.lib │ └── GL │ │ └── Makefile.am └── freeglut-2.8.0 │ ├── lib │ ├── win32-vc │ │ └── freeglut_static.lib │ └── win64-vc │ │ └── freeglut_static.lib │ └── GL │ └── Makefile.am ├── common └── icon.ico └── data ├── cube.dds ├── kueken2-bc4.dds ├── kueken2-bc5.dds ├── kueken2-bc7.dds ├── kueken1-ati1n.dds ├── kueken1-ati2n.dds ├── kueken1-bgr8.dds ├── kueken1-dxt1.dds ├── kueken1-dxt5.dds ├── kueken2-bgra8.dds ├── kueken2-dxt1.dds ├── kueken2-dxt5.dds ├── kueken3-bgr8.dds ├── kueken4-dxt1.dds ├── es-200 ├── flat-color.frag └── flat-color.vert ├── gl-330 ├── r2vb2.frag ├── texture-3d.vert ├── r2vb2.vert ├── texture.frag ├── r2vb1.vert ├── draw-without-vertex-attrib.frag ├── texture.vert ├── r2vb1.frag ├── uniform-buffer.frag ├── uniform-buffer.vert ├── feedback-separated.frag ├── feedback-interleaved.frag ├── layer.vert ├── instanced-array.frag ├── point.frag ├── flat-shading.frag ├── smooth-shading.frag ├── instanced.frag ├── smooth-shading-geom.frag ├── feedback-interleaved.vert ├── feedback-separated.vert ├── texture-format.frag ├── multisample-explicit-texture.frag ├── texture-format-normalized.frag ├── multisample-explicit-texture-nv.frag ├── point-sprite.frag ├── texture-format-int.frag ├── transform-separated.vert ├── transform-interleaved.vert ├── texture-rect.frag ├── texture-cube.frag ├── draw-without-vertex-attrib.vert ├── multiple-output.vert ├── front-face.vert ├── rtt-array.frag └── instanced.vert ├── gl-300 ├── image-2d.frag └── image-2d.vert ├── gl-400 ├── tess-block.frag ├── fbo-rtt.vert ├── rtt-array.vert ├── feedback.frag ├── feedback-stream.frag ├── feedback-stream-point.frag ├── feedback-stream-strip.frag ├── double.frag ├── double.vert ├── tess.frag ├── primitive-instancing.frag ├── uniform-buffer.frag ├── feedback.vert ├── feedback-stream.vert ├── feedback-stream-strip.vert ├── uniform-buffer.vert ├── tess-block.vert ├── smooth-shading-geom.frag ├── transform.vert ├── transform-stream.vert ├── feedback-stream-point.vert └── fbo-rtt.frag ├── gl-420 ├── image-store-read.vert ├── image-store-write.frag ├── matching-array.frag ├── dsa-tess.frag ├── feedback-stream.frag ├── draw-base-instance.frag ├── feedback-instanced.frag ├── memory-barrier-update.frag ├── draw-indirect.frag ├── glsl-block-name.frag ├── glsl-struct-name.frag ├── glsl-block-location.frag ├── glsl-struct-location.frag ├── image-store-read.frag ├── memory-barrier-blit.vert ├── image-store-write.vert ├── instanced.frag ├── memory-barrier-update.vert ├── transform-instanced.vert ├── blend-texture-2d.frag ├── test-depth-clamp-separate.frag ├── test-depth-conservative.frag ├── viewport-amd.frag ├── feedback-instanced.vert ├── layer.vert ├── interop.frag ├── texture-2d.frag ├── buffer-barrier.frag ├── fbo-srgb-decode.frag ├── instanced-image-2d.frag ├── buffer-pinned-amd.frag ├── layer-amd.vert ├── multisample-gtc.frag ├── texture-cube.frag ├── texture-conversion-normalized.frag ├── texture-shadow-color.frag ├── texture-shadow-depth.frag ├── instanced.vert └── interface-matching.frag └── gl-410 ├── double.frag ├── draw-indirect.frag ├── primitive-instancing.frag ├── tess.frag ├── binary.frag ├── uniform-buffer.frag ├── draw-indirect.vert ├── layer.vert ├── uniform-buffer.vert ├── multisample-amd.frag └── multisample-gtc.frag /external/glm-0.9.3.0/glm/gtx/vec1.inl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/.dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /external/glm-0.9.3.0/glm/gtx/ocl_type.inl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /external/gli-0.3.1.0/gli/core/dummy.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /common/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/common/icon.ico -------------------------------------------------------------------------------- /data/cube.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/cube.dds -------------------------------------------------------------------------------- /data/kueken2-bc4.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken2-bc4.dds -------------------------------------------------------------------------------- /data/kueken2-bc5.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken2-bc5.dds -------------------------------------------------------------------------------- /data/kueken2-bc7.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken2-bc7.dds -------------------------------------------------------------------------------- /data/kueken1-ati1n.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken1-ati1n.dds -------------------------------------------------------------------------------- /data/kueken1-ati2n.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken1-ati2n.dds -------------------------------------------------------------------------------- /data/kueken1-bgr8.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken1-bgr8.dds -------------------------------------------------------------------------------- /data/kueken1-dxt1.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken1-dxt1.dds -------------------------------------------------------------------------------- /data/kueken1-dxt5.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken1-dxt5.dds -------------------------------------------------------------------------------- /data/kueken2-bgra8.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken2-bgra8.dds -------------------------------------------------------------------------------- /data/kueken2-dxt1.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken2-dxt1.dds -------------------------------------------------------------------------------- /data/kueken2-dxt5.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken2-dxt5.dds -------------------------------------------------------------------------------- /data/kueken3-bgr8.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken3-bgr8.dds -------------------------------------------------------------------------------- /data/kueken4-dxt1.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/data/kueken4-dxt1.dds -------------------------------------------------------------------------------- /data/es-200/flat-color.frag: -------------------------------------------------------------------------------- 1 | uniform vec4 Diffuse; 2 | 3 | void main() 4 | { 5 | gl_FragColor = Diffuse; 6 | } 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/glewinfo_glx.c: -------------------------------------------------------------------------------- 1 | } 2 | 3 | #else /* _UNIX */ 4 | 5 | static void glxewInfo () 6 | { 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATI_shader_texture_lod: -------------------------------------------------------------------------------- 1 | GL_ATI_shader_texture_lod 2 | 3 | GL_ATI_shader_texture_lod 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/doc/glew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/doc/glew.png -------------------------------------------------------------------------------- /external/glew-1.7.0/doc/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/doc/new.png -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_shader_texture_lod: -------------------------------------------------------------------------------- 1 | GL_ATI_shader_texture_lod 2 | 3 | GL_ATI_shader_texture_lod 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/doc/ogl_sm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/doc/ogl_sm.jpg -------------------------------------------------------------------------------- /external/cl-1.2/lib/win32/OpenCL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/cl-1.2/lib/win32/OpenCL.lib -------------------------------------------------------------------------------- /external/cl-1.2/lib/win64/OpenCL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/cl-1.2/lib/win64/OpenCL.lib -------------------------------------------------------------------------------- /external/egl-1.4/lib/win32/libEGL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/egl-1.4/lib/win32/libEGL.lib -------------------------------------------------------------------------------- /external/egl-1.4/lib/win64/libEGL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/egl-1.4/lib/win64/libEGL.lib -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/glew.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/auto/src/glew.rc -------------------------------------------------------------------------------- /external/glew-1.7.0/build/vc6/glew.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/build/vc6/glew.rc -------------------------------------------------------------------------------- /external/egl-1.4/lib/linux32/libEGL.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/egl-1.4/lib/linux32/libEGL.so -------------------------------------------------------------------------------- /external/egl-1.4/lib/linux64/libEGL.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/egl-1.4/lib/linux64/libEGL.so -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_VERSION_4_1: -------------------------------------------------------------------------------- 1 | GL_VERSION_4_1 2 | http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf 3 | 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_VERSION_4_2: -------------------------------------------------------------------------------- 1 | GL_VERSION_4_2 2 | http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf 3 | 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/glewinfo.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/auto/src/glewinfo.rc -------------------------------------------------------------------------------- /external/gles-2.0/lib/linux32/libGLESv2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/gles-2.0/lib/linux32/libGLESv2.so -------------------------------------------------------------------------------- /external/gles-2.0/lib/linux64/libGLESv2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/gles-2.0/lib/linux64/libGLESv2.so -------------------------------------------------------------------------------- /external/gles-2.0/lib/win32/libGLESv2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/gles-2.0/lib/win32/libGLESv2.lib -------------------------------------------------------------------------------- /external/gles-2.0/lib/win64/libGLESv2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/gles-2.0/lib/win64/libGLESv2.lib -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_ycrcb: -------------------------------------------------------------------------------- 1 | GL_SGIX_ycrcb 2 | http://www.opengl.org/registry/specs/SGIX/ycrcb.txt 3 | GL_SGIX_ycrcb 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/glew_str_tail.c: -------------------------------------------------------------------------------- 1 | } 2 | ret = (len == 0); 3 | } 4 | return ret; 5 | } 6 | 7 | #endif /* _WIN32 */ 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/visualinfo.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/auto/src/visualinfo.rc -------------------------------------------------------------------------------- /external/glew-1.7.0/build/vc6/glewinfo.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/build/vc6/glewinfo.rc -------------------------------------------------------------------------------- /external/glm-0.9.3.0/glm/gtx/simd_vec4.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glm-0.9.3.0/glm/gtx/simd_vec4.hpp -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_VERSION_1_2_1: -------------------------------------------------------------------------------- 1 | GL_VERSION_1_2_1 2 | http://www.opengl.org/documentation/specs/version1.2/opengl1.2.1.pdf 3 | 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/build/vc6/visualinfo.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/build/vc6/visualinfo.rc -------------------------------------------------------------------------------- /external/glew-1.7.0/lib/win32-vc/glew32s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/lib/win32-vc/glew32s.lib -------------------------------------------------------------------------------- /external/glew-1.7.0/lib/win64-vc/glew32s.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glew-1.7.0/lib/win64-vc/glew32s.lib -------------------------------------------------------------------------------- /external/glm-0.9.3.0/glm/core/func_common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glm-0.9.3.0/glm/core/func_common.hpp -------------------------------------------------------------------------------- /external/glm-0.9.3.0/glm/core/func_common.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glm-0.9.3.0/glm/core/func_common.inl -------------------------------------------------------------------------------- /external/glm-0.9.3.0/glm/core/type_half.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glm-0.9.3.0/glm/core/type_half.inl -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_clipmap: -------------------------------------------------------------------------------- 1 | GL_SGIX_clipmap 2 | http://www.opengl.org/registry/specs/SGIX/clipmap.txt 3 | GL_SGIX_clipmap 4 | -------------------------------------------------------------------------------- /external/glm-0.9.3.0/glm/core/func_integer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/glm-0.9.3.0/glm/core/func_integer.hpp -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_APPLE_pixel_buffer: -------------------------------------------------------------------------------- 1 | GL_APPLE_pixel_buffer 2 | 3 | GL_APPLE_pixel_buffer 4 | GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_abgr: -------------------------------------------------------------------------------- 1 | GL_EXT_abgr 2 | http://www.opengl.org/registry/specs/EXT/abgr.txt 3 | GL_EXT_abgr 4 | GL_ABGR_EXT 0x8000 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_ATI_pixel_format_float: -------------------------------------------------------------------------------- 1 | GLX_ATI_pixel_format_float 2 | 3 | GLX_ATI_pixel_format_float 4 | GLX_RGBA_FLOAT_ATI_BIT 0x00000100 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_pixel_buffer: -------------------------------------------------------------------------------- 1 | GL_APPLE_pixel_buffer 2 | 3 | GL_APPLE_pixel_buffer 4 | GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_blend_square: -------------------------------------------------------------------------------- 1 | GL_NV_blend_square 2 | http://www.opengl.org/registry/specs/NV/blend_square.txt 3 | GL_NV_blend_square 4 | -------------------------------------------------------------------------------- /data/es-200/flat-color.vert: -------------------------------------------------------------------------------- 1 | uniform mat4 MVP; 2 | 3 | attribute vec4 Position; 4 | 5 | void main() 6 | { 7 | gl_Position = MVP * Position; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /data/gl-330/r2vb2.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | in vec4 VertColor; 4 | out vec4 FragColor; 5 | 6 | void main() 7 | { 8 | FragColor = VertColor; 9 | } 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ARB_draw_instanced: -------------------------------------------------------------------------------- 1 | GL_ARB_draw_instanced 2 | http://www.opengl.org/registry/specs/ARB/draw_instanced.txt 3 | GL_ARB_draw_instanced 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ATI_pixel_format_float: -------------------------------------------------------------------------------- 1 | GLX_ATI_pixel_format_float 2 | 3 | GLX_ATI_pixel_format_float 4 | GLX_RGBA_FLOAT_ATI_BIT 0x00000100 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_EXT_scene_marker: -------------------------------------------------------------------------------- 1 | GLX_EXT_scene_marker 2 | http://www.opengl.org/registry/specs/EXT/scene_marker.txt 3 | GLX_EXT_scene_marker 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_shadow_funcs: -------------------------------------------------------------------------------- 1 | GL_EXT_shadow_funcs 2 | http://www.opengl.org/registry/specs/EXT/shadow_funcs.txt 3 | GL_EXT_shadow_funcs 4 | -------------------------------------------------------------------------------- /external/freeglut-2.6.0/lib/win32-vc/freeglut_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/freeglut-2.6.0/lib/win32-vc/freeglut_static.lib -------------------------------------------------------------------------------- /external/freeglut-2.6.0/lib/win64-vc/freeglut_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/freeglut-2.6.0/lib/win64-vc/freeglut_static.lib -------------------------------------------------------------------------------- /external/freeglut-2.8.0/lib/win32-vc/freeglut_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/freeglut-2.8.0/lib/win32-vc/freeglut_static.lib -------------------------------------------------------------------------------- /external/freeglut-2.8.0/lib/win64-vc/freeglut_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Groovounet/ogl-samples/HEAD/external/freeglut-2.8.0/lib/win64-vc/freeglut_static.lib -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_compatibility: -------------------------------------------------------------------------------- 1 | GL_ARB_compatibility 2 | http://www.opengl.org/registry/specs/ARB/compatibility.txt 3 | GL_ARB_compatibility 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_draw_instanced: -------------------------------------------------------------------------------- 1 | GL_ARB_draw_instanced 2 | http://www.opengl.org/registry/specs/ARB/draw_instanced.txt 3 | GL_ARB_draw_instanced 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_blend_logic_op: -------------------------------------------------------------------------------- 1 | GL_EXT_blend_logic_op 2 | http://www.opengl.org/registry/specs/EXT/blend_logic_op.txt 3 | GL_EXT_blend_logic_op 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_index_texture: -------------------------------------------------------------------------------- 1 | GL_EXT_index_texture 2 | http://www.opengl.org/registry/specs/EXT/index_texture.txt 3 | GL_EXT_index_texture 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_misc_attribute: -------------------------------------------------------------------------------- 1 | GL_EXT_misc_attribute 2 | http://www.opengl.org/registry/specs/EXT/misc_attribute.txt 3 | GL_EXT_misc_attribute 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_gpu_program_fp64: -------------------------------------------------------------------------------- 1 | GL_NV_gpu_program_fp64 2 | http://www.opengl.org/registry/specs/NV/gpu_program5.txt 3 | GL_NV_gpu_program_fp64 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_vertex_program2: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program2 2 | http://www.opengl.org/registry/specs/NV/vertex_program2.txt 3 | GL_NV_vertex_program2 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_pixel_texture: -------------------------------------------------------------------------------- 1 | GL_SGIS_pixel_texture 2 | http://www.opengl.org/registry/specs/SGIS/pixel_texture.txt 3 | GL_SGIS_pixel_texture 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_list_priority: -------------------------------------------------------------------------------- 1 | GL_SGIX_list_priority 2 | http://www.opengl.org/registry/specs/SGIX/list_priority.txt 3 | GL_SGIX_list_priority 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_env_add: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_env_add 2 | http://www.opengl.org/registry/specs/ARB/texture_env_add.txt 3 | GL_ARB_texture_env_add 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_env_add: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_env_add 2 | http://www.opengl.org/registry/specs/EXT/texture_env_add.txt 3 | GL_EXT_texture_env_add 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_HP_texture_lighting: -------------------------------------------------------------------------------- 1 | GL_HP_texture_lighting 2 | http://www.opengl.org/registry/specs/HP/texture_lighting.txt 3 | GL_HP_texture_lighting 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_texture_select: -------------------------------------------------------------------------------- 1 | GL_SGIS_texture_select 2 | http://www.opengl.org/registry/specs/SGIS/texture_select.txt 3 | GL_SGIS_texture_select 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_ir_instrument1: -------------------------------------------------------------------------------- 1 | GL_SGIX_ir_instrument1 2 | http://www.opengl.org/registry/specs/SGIX/ir_instrument1.txt 3 | GL_SGIX_ir_instrument1 4 | -------------------------------------------------------------------------------- /data/gl-330/texture-3d.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | void main() 4 | { 5 | gl_Position = vec4(4.f * (gl_VertexID % 2) - 1.f, 4.f * (gl_VertexID / 2) - 1.f, 0.0, 1.0); 6 | } 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_NV_float_buffer: -------------------------------------------------------------------------------- 1 | GLX_NV_float_buffer 2 | http://cvs1.nvidia.com/inc/GL/glxtokens.h 3 | GLX_NV_float_buffer 4 | GLX_FLOAT_COMPONENTS_NV 0x20B0 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/WGL_ATI_render_texture_rectangle: -------------------------------------------------------------------------------- 1 | WGL_ATI_render_texture_rectangle 2 | 3 | WGL_ATI_render_texture_rectangle 4 | WGL_TEXTURE_RECTANGLE_ATI 0x21A5 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_texture_texture4: -------------------------------------------------------------------------------- 1 | GL_AMD_texture_texture4 2 | http://www.opengl.org/registry/specs/AMD/texture_texture4.txt 3 | GL_AMD_texture_texture4 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shader_precision: -------------------------------------------------------------------------------- 1 | GL_ARB_shader_precision 2 | http://www.opengl.org/registry/specs/ARB/shader_precision.txt 3 | GL_ARB_shader_precision 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_bgra: -------------------------------------------------------------------------------- 1 | GL_EXT_bgra 2 | http://www.opengl.org/registry/specs/EXT/bgra.txt 3 | GL_EXT_bgra 4 | GL_BGR_EXT 0x80E0 5 | GL_BGRA_EXT 0x80E1 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_vertex_program1_1: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program1_1 2 | http://www.opengl.org/registry/specs/NV/vertex_program1_1.txt 3 | GL_NV_vertex_program1_1 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_texture_add_env: -------------------------------------------------------------------------------- 1 | GL_SGIX_texture_add_env 2 | http://www.opengl.org/registry/specs/SGIX/texture_env_add.txt 3 | GL_SGIX_texture_add_env 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_VERSION_1_2: -------------------------------------------------------------------------------- 1 | GLX_VERSION_1_2 2 | http://www.opengl.org/documentation/specs/glx/glx1.2.ps 3 | GLX_VERSION_1_2 4 | Display* glXGetCurrentDisplay (void) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATI_texture_compression_3dc: -------------------------------------------------------------------------------- 1 | GL_ATI_texture_compression_3dc 2 | 3 | GL_ATI_texture_compression_3dc 4 | GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_fragment_program4: -------------------------------------------------------------------------------- 1 | GL_NV_fragment_program4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_fragment_program4.txt 3 | GL_NV_gpu_program4 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_geometry_shader4: -------------------------------------------------------------------------------- 1 | GL_NV_geometry_shader4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_shader4.txt 3 | GL_NV_geometry_shader4 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_NV_float_buffer: -------------------------------------------------------------------------------- 1 | GLX_NV_float_buffer 2 | http://cvs1.nvidia.com/inc/GL/glxtokens.h 3 | GLX_NV_float_buffer 4 | GLX_FLOAT_COMPONENTS_NV 0x20B0 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_depth_clamp: -------------------------------------------------------------------------------- 1 | GL_ARB_depth_clamp 2 | http://www.opengl.org/registry/specs/ARB/depth_clamp.txt 3 | GL_ARB_depth_clamp 4 | GL_DEPTH_CLAMP 0x864F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_query_lod: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_query_lod 2 | http://www.opengl.org/registry/specs/ARB/texture_query_lod.txt 3 | GL_ARB_texture_query_lod 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_depth_clamp: -------------------------------------------------------------------------------- 1 | GL_NV_depth_clamp 2 | http://www.opengl.org/registry/specs/NV/depth_clamp.txt 3 | GL_NV_depth_clamp 4 | GL_DEPTH_CLAMP_NV 0x864F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_interlace: -------------------------------------------------------------------------------- 1 | GL_SGIX_interlace 2 | http://www.opengl.org/registry/specs/SGIX/interlace.txt 3 | GL_SGIX_interlace 4 | GL_INTERLACE_SGIX 0x8094 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_texture_lod_bias: -------------------------------------------------------------------------------- 1 | GL_SGIX_texture_lod_bias 2 | http://www.opengl.org/registry/specs/SGIX/texture_lod_bias.txt 3 | GL_SGIX_texture_lod_bias 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ATI_render_texture_rectangle: -------------------------------------------------------------------------------- 1 | WGL_ATI_render_texture_rectangle 2 | 3 | WGL_ATI_render_texture_rectangle 4 | WGL_TEXTURE_RECTANGLE_ATI 0x21A5 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_3DFX_tbuffer: -------------------------------------------------------------------------------- 1 | GL_3DFX_tbuffer 2 | http://www.opengl.org/registry/specs/3DFX/tbuffer.txt 3 | GL_3DFX_tbuffer 4 | void glTbufferMask3DFX (GLuint mask) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_conservative_depth: -------------------------------------------------------------------------------- 1 | GL_AMD_conservative_depth 2 | http://www.opengl.org/registry/specs/AMD/conservative_depth.txt 3 | GL_AMD_conservative_depth 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_conservative_depth: -------------------------------------------------------------------------------- 1 | GL_ARB_conservative_depth 2 | http://www.opengl.org/registry/specs/ARB/conservative_depth.txt 3 | GL_ARB_conservative_depth 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shader_bit_encoding: -------------------------------------------------------------------------------- 1 | GL_ARB_shader_bit_encoding 2 | http://www.opengl.org/registry/specs/ARB/shader_bit_encoding.txt 3 | GL_ARB_shader_bit_encoding 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shader_texture_lod: -------------------------------------------------------------------------------- 1 | GL_ARB_shader_texture_lod 2 | http://www.opengl.org/registry/specs/ARB/shader_texture_lod.txt 3 | GL_ARB_shader_texture_lod 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_texture_compression_3dc: -------------------------------------------------------------------------------- 1 | GL_ATI_texture_compression_3dc 2 | 3 | GL_ATI_texture_compression_3dc 4 | GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_index_array_formats: -------------------------------------------------------------------------------- 1 | GL_EXT_index_array_formats 2 | http://www.opengl.org/registry/specs/EXT/index_array_formats.txt 3 | GL_EXT_index_array_formats 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_IBM_cull_vertex: -------------------------------------------------------------------------------- 1 | GL_IBM_cull_vertex 2 | http://www.opengl.org/registry/specs/IBM/cull_vertex.txt 3 | GL_IBM_cull_vertex 4 | GL_CULL_VERTEX_IBM 103050 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_fragment_program4: -------------------------------------------------------------------------------- 1 | GL_NV_fragment_program4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_fragment_program4.txt 3 | GL_NV_gpu_program4 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_geometry_shader4: -------------------------------------------------------------------------------- 1 | GL_NV_geometry_shader4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_shader4.txt 3 | GL_NV_geometry_shader4 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_pixel_texture_bits: -------------------------------------------------------------------------------- 1 | GL_SGIX_pixel_texture_bits 2 | http://www.opengl.org/registry/specs/SGIX/pixel_texture_bits.txt 3 | GL_SGIX_pixel_texture_bits 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SUN_slice_accum: -------------------------------------------------------------------------------- 1 | GL_SUN_slice_accum 2 | http://www.opengl.org/registry/specs/SUN/slice_accum.txt 3 | GL_SUN_slice_accum 4 | GL_SLICE_ACCUM_SUN 0x85CC 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_env_crossbar: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_env_crossbar 2 | http://www.opengl.org/registry/specs/ARB/texture_env_crossbar.txt 3 | GL_ARB_texture_env_crossbar 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_MESA_pack_invert: -------------------------------------------------------------------------------- 1 | GL_MESA_pack_invert 2 | http://www.opengl.org/registry/specs/MESA/pack_invert.txt 3 | GL_MESA_pack_invert 4 | GL_PACK_INVERT_MESA 0x8758 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_framezoom: -------------------------------------------------------------------------------- 1 | GL_SGIX_framezoom 2 | http://www.opengl.org/registry/specs/SGIX/framezoom.txt 3 | GL_SGIX_framezoom 4 | void glFrameZoomSGIX (GLint factor) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_shader_stencil_export: -------------------------------------------------------------------------------- 1 | GL_AMD_shader_stencil_export 2 | http://www.opengl.org/registry/specs/AMD/shader_stencil_export.txt 3 | GL_AMD_shader_stencil_export 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shader_stencil_export: -------------------------------------------------------------------------------- 1 | GL_ARB_shader_stencil_export 2 | http://www.opengl.org/registry/specs/ARB/shader_stencil_export.txt 3 | GL_ARB_shader_stencil_export 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_depth_float: -------------------------------------------------------------------------------- 1 | WGL_EXT_depth_float 2 | http://www.opengl.org/registry/specs/EXT/wgl_depth_float.txt 3 | WGL_EXT_depth_float 4 | WGL_DEPTH_FLOAT_EXT 0x2040 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/glewinfo_wgl.c: -------------------------------------------------------------------------------- 1 | } 2 | 3 | /* ------------------------------------------------------------------------ */ 4 | 5 | #ifdef _WIN32 6 | 7 | static void wglewInfo () 8 | { 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_vertex_array_bgra: -------------------------------------------------------------------------------- 1 | GL_ARB_vertex_array_bgra 2 | http://www.opengl.org/registry/specs/ARB/vertex_array_bgra.txt 3 | GL_ARB_vertex_array_bgra 4 | GL_BGRA 0x80E1 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_rescale_normal: -------------------------------------------------------------------------------- 1 | GL_EXT_rescale_normal 2 | http://www.opengl.org/registry/specs/EXT/rescale_normal.txt 3 | GL_EXT_rescale_normal 4 | GL_RESCALE_NORMAL_EXT 0x803A 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_vertex_array_bgra: -------------------------------------------------------------------------------- 1 | GL_EXT_vertex_array_bgra 2 | http://www.opengl.org/registry/specs/EXT/vertex_array_bgra.txt 3 | GL_EXT_vertex_array_bgra 4 | GL_BGRA 0x80E1 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texture_compression_vtc: -------------------------------------------------------------------------------- 1 | GL_NV_texture_compression_vtc 2 | http://www.opengl.org/registry/specs/NV/texture_compression_vtc.txt 3 | GL_NV_texture_compression_vtc 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_OES_byte_coordinates: -------------------------------------------------------------------------------- 1 | GL_OES_byte_coordinates 2 | http://www.opengl.org/registry/specs/OES/OES_byte_coordinates.txt 3 | GL_OES_byte_coordinates 4 | GL_BYTE 0x1400 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_flush_raster: -------------------------------------------------------------------------------- 1 | GL_SGIX_flush_raster 2 | http://www.opengl.org/registry/specs/SGIX/flush_raster.txt 3 | GL_SGIX_flush_raster 4 | void glFlushRasterSGIX (void) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_WIN_specular_fog: -------------------------------------------------------------------------------- 1 | GL_WIN_specular_fog 2 | http://www.opengl.org/registry/specs/WIN/specular_fog.txt 3 | GL_WIN_specular_fog 4 | GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_fragment_program_option: -------------------------------------------------------------------------------- 1 | GL_NV_fragment_program_option 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program_option.txt 3 | GL_NV_fragment_program_option 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGI_swap_control: -------------------------------------------------------------------------------- 1 | GLX_SGI_swap_control 2 | http://www.opengl.org/registry/specs/SGI/swap_control.txt 3 | GLX_SGI_swap_control 4 | int glXSwapIntervalSGI (int interval) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_explicit_attrib_location: -------------------------------------------------------------------------------- 1 | GL_ARB_explicit_attrib_location 2 | http://www.opengl.org/registry/specs/ARB/explicit_attrib_location.txt 3 | GL_ARB_explicit_attrib_location 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_fragment_program_shadow: -------------------------------------------------------------------------------- 1 | GL_ARB_fragment_program_shadow 2 | http://www.opengl.org/registry/specs/ARB/fragment_program_shadow.txt 3 | GL_ARB_fragment_program_shadow 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | GL_ARB_framebuffer_sRGB 2 | http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt 3 | GL_ARB_framebuffer_sRGB 4 | GL_FRAMEBUFFER_SRGB 0x8DB9 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_half_float_pixel: -------------------------------------------------------------------------------- 1 | GL_ARB_half_float_pixel 2 | http://www.opengl.org/registry/specs/ARB/half_float_pixel.txt 3 | GL_ARB_half_float_pixel 4 | GL_HALF_FLOAT_ARB 0x140B 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_half_float_vertex: -------------------------------------------------------------------------------- 1 | GL_ARB_half_float_vertex 2 | http://www.opengl.org/registry/specs/ARB/half_float_vertex.txt 3 | GL_ARB_half_float_vertex 4 | GL_HALF_FLOAT 0x140B 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shading_language_420pack: -------------------------------------------------------------------------------- 1 | GL_ARB_shading_language_420pack 2 | http://www.opengl.org/registry/specs/ARB/shading_language_420pack.txt 3 | GL_ARB_shading_language_420pack 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shading_language_packing: -------------------------------------------------------------------------------- 1 | GL_ARB_shading_language_packing 2 | http://www.opengl.org/registry/specs/ARB/shading_language_packing.txt 3 | GL_ARB_shading_language_packing 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_non_power_of_two: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_non_power_of_two 2 | http://www.opengl.org/registry/specs/ARB/texture_non_power_of_two.txt 3 | GL_ARB_texture_non_power_of_two 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_index_func: -------------------------------------------------------------------------------- 1 | GL_EXT_index_func 2 | http://www.opengl.org/registry/specs/EXT/index_func.txt 3 | GL_EXT_index_func 4 | void glIndexFuncEXT (GLenum func, GLfloat ref) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_HP_convolution_border_modes: -------------------------------------------------------------------------------- 1 | GL_HP_convolution_border_modes 2 | http://www.opengl.org/registry/specs/HP/convolution_border_modes.txt 3 | GL_HP_convolution_border_modes 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_INGR_interlace_read: -------------------------------------------------------------------------------- 1 | GL_INGR_interlace_read 2 | http://www.opengl.org/registry/specs/INGR/interlace_read.txt 3 | GL_INGR_interlace_read 4 | GL_INTERLACE_READ_INGR 0x8568 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_parameter_buffer_object2: -------------------------------------------------------------------------------- 1 | GL_NV_parameter_buffer_object2 2 | http://www.opengl.org/registry/specs/NV/parameter_buffer_object2.txt 3 | GL_NV_parameter_buffer_object2 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texture_barrier: -------------------------------------------------------------------------------- 1 | GL_NV_texture_barrier 2 | http://www.opengl.org/registry/specs/NV/texture_barrier.txt 3 | GL_NV_texture_barrier 4 | void glTextureBarrierNV (void) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_shadow_ambient: -------------------------------------------------------------------------------- 1 | GL_SGIX_shadow_ambient 2 | http://www.opengl.org/registry/specs/SGIX/shadow_ambient.txt 3 | GL_SGIX_shadow_ambient 4 | GL_SHADOW_AMBIENT_SGIX 0x80BF 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIS_blended_overlay: -------------------------------------------------------------------------------- 1 | GLX_SGIS_blended_overlay 2 | http://www.opengl.org/registry/specs/SGIS/blended_overlay.txt 3 | GLX_SGIS_blended_overlay 4 | GLX_BLENDED_RGBA_SGIS 0x8025 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGI_cushion: -------------------------------------------------------------------------------- 1 | GLX_SGI_cushion 2 | http://www.opengl.org/registry/specs/SGI/cushion.txt 3 | GLX_SGI_cushion 4 | void glXCushionSGI (Display* dpy, Window window, float cushion) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_transform_hint: -------------------------------------------------------------------------------- 1 | GL_APPLE_transform_hint 2 | http://www.opengl.org/registry/specs/APPLE/transform_hint.txt 3 | GL_APPLE_transform_hint 4 | GL_TRANSFORM_HINT_APPLE 0x85B1 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_occlusion_query2: -------------------------------------------------------------------------------- 1 | GL_ARB_occlusion_query2 2 | http://www.opengl.org/registry/specs/ARB/occlusion_query2.txt 3 | GL_ARB_occlusion_query2 4 | GL_ANY_SAMPLES_PASSED 0x8C2F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_rgb10_a2ui: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_rgb10_a2ui 2 | http://www.opengl.org/registry/specs/ARB/texture_rgb10_a2ui.txt 3 | GL_ARB_texture_rgb10_a2ui 4 | GL_RGB10_A2UI 0x906F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_IBM_rasterpos_clip: -------------------------------------------------------------------------------- 1 | GL_IBM_rasterpos_clip 2 | http://www.opengl.org/registry/specs/IBM/rasterpos_clip.txt 3 | GL_IBM_rasterpos_clip 4 | GL_RASTER_POSITION_UNCLIPPED_IBM 103010 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_MESA_resize_buffers: -------------------------------------------------------------------------------- 1 | GL_MESA_resize_buffers 2 | http://www.opengl.org/registry/specs/MESA/resize_buffers.txt 3 | GL_MESA_resize_buffers 4 | void glResizeBuffersMESA (void) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_OML_interlace: -------------------------------------------------------------------------------- 1 | GL_OML_interlace 2 | http://www.opengl.org/registry/specs/OML/interlace.txt 3 | GL_OML_interlace 4 | GL_INTERLACE_OML 0x8980 5 | GL_INTERLACE_READ_OML 0x8981 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_SGIS_shared_multisample: -------------------------------------------------------------------------------- 1 | GLX_SGIS_shared_multisample 2 | 3 | GLX_SGIS_shared_multisample 4 | GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 5 | GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/custom.txt: -------------------------------------------------------------------------------- 1 | WGL_ARB_extensions_string 2 | WGL_EXT_extensions_string 3 | WGL_ARB_pixel_format 4 | WGL_ARB_pbuffer 5 | WGL_NV_float_buffer 6 | WGL_ATI_pixel_format_float 7 | WGL_ARB_multisample 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_fragment_coord_conventions: -------------------------------------------------------------------------------- 1 | GL_ARB_fragment_coord_conventions 2 | http://www.opengl.org/registry/specs/ARB/fragment_coord_conventions.txt 3 | GL_ARB_fragment_coord_conventions 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shadow_ambient: -------------------------------------------------------------------------------- 1 | GL_ARB_shadow_ambient 2 | http://www.opengl.org/registry/specs/ARB/shadow_ambient.txt 3 | GL_ARB_shadow_ambient 4 | GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_stencil_wrap: -------------------------------------------------------------------------------- 1 | GL_EXT_stencil_wrap 2 | http://www.opengl.org/registry/specs/EXT/stencil_wrap.txt 3 | GL_EXT_stencil_wrap 4 | GL_INCR_WRAP_EXT 0x8507 5 | GL_DECR_WRAP_EXT 0x8508 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_fragment_program_option: -------------------------------------------------------------------------------- 1 | GL_NV_fragment_program_option 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program_option.txt 3 | GL_NV_fragment_program_option 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_pixel_texture: -------------------------------------------------------------------------------- 1 | GL_SGIX_pixel_texture 2 | http://www.opengl.org/registry/specs/SGIX/sgix_pixel_texture.txt 3 | GL_SGIX_pixel_texture 4 | void glPixelTexGenSGIX (GLenum mode) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SUN_mesh_array: -------------------------------------------------------------------------------- 1 | GL_SUN_mesh_array 2 | http://www.opengl.org/registry/specs/SUN/mesh_array.txt 3 | GL_SUN_mesh_array 4 | GL_QUAD_MESH_SUN 0x8614 5 | GL_TRIANGLE_MESH_SUN 0x8615 6 | -------------------------------------------------------------------------------- /data/gl-300/image-2d.frag: -------------------------------------------------------------------------------- 1 | #version 130 2 | 3 | uniform sampler2D Diffuse; 4 | 5 | in vec2 VertTexcoord; 6 | 7 | out vec4 Color; 8 | 9 | void main() 10 | { 11 | Color = texture(Diffuse, VertTexcoord); 12 | } 13 | -------------------------------------------------------------------------------- /data/gl-330/r2vb2.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | uniform mat4 MVP; 4 | 5 | in vec4 Position; 6 | out vec4 VertColor; 7 | 8 | void main() 9 | { 10 | VertColor = Position; 11 | gl_Position = MVP * Position; 12 | } -------------------------------------------------------------------------------- /data/gl-330/texture.frag: -------------------------------------------------------------------------------- 1 | #version 140 2 | 3 | uniform sampler2D Diffuse; 4 | 5 | in vec2 VertTexcoord; 6 | out vec4 FragColor; 7 | 8 | void main() 9 | { 10 | FragColor = texture2D(Diffuse, VertTexcoord); 11 | } 12 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_vertex_program3: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program3 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program3.txt 3 | GL_NV_vertex_program3 4 | MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_vertex_program4: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_vertex_program4.txt 3 | GL_NV_gpu_program4 4 | GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_multisample: -------------------------------------------------------------------------------- 1 | GLX_ARB_multisample 2 | http://www.opengl.org/registry/specs/ARB/multisample.txt 3 | GLX_ARB_multisample 4 | GLX_SAMPLE_BUFFERS_ARB 100000 5 | GLX_SAMPLES_ARB 100001 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_MESA_agp_offset: -------------------------------------------------------------------------------- 1 | GLX_MESA_agp_offset 2 | http://www.opengl.org/registry/specs/MESA/agp_offset.txt 3 | GLX_MESA_agp_offset 4 | unsigned int glXGetAGPOffsetMESA (const void* pointer) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_client_storage: -------------------------------------------------------------------------------- 1 | GL_APPLE_client_storage 2 | http://www.opengl.org/registry/specs/APPLE/client_storage.txt 3 | GL_APPLE_client_storage 4 | GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_seamless_cube_map: -------------------------------------------------------------------------------- 1 | GL_ARB_seamless_cube_map 2 | http://www.opengl.org/registry/specs/ARB/seamless_cube_map.txt 3 | GL_ARB_seamless_cube_map 4 | GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_buffer_object_rgb32: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_buffer_object_rgb32 2 | http://www.opengl.org/registry/specs/ARB/texture_buffer_object_rgb32.txt 3 | GL_ARB_texture_buffer_object_rgb32 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_clip_volume_hint: -------------------------------------------------------------------------------- 1 | GL_EXT_clip_volume_hint 2 | http://www.opengl.org/registry/specs/EXT/clip_volume_hint.txt 3 | GL_EXT_clip_volume_hint 4 | GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_pixel_transform_color_table: -------------------------------------------------------------------------------- 1 | GL_EXT_pixel_transform_color_table 2 | http://www.opengl.org/registry/specs/EXT/pixel_transform_color_table.txt 3 | GL_EXT_pixel_transform_color_table 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_texture_edge_clamp: -------------------------------------------------------------------------------- 1 | GL_SGIS_texture_edge_clamp 2 | http://www.opengl.org/registry/specs/SGIS/texture_edge_clamp.txt 3 | GL_SGIS_texture_edge_clamp 4 | GL_CLAMP_TO_EDGE_SGIS 0x812F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_tag_sample_buffer: -------------------------------------------------------------------------------- 1 | GL_SGIX_tag_sample_buffer 2 | http://www.opengl.org/registry/specs/SGIX/tag_sample_buffer.txt 3 | GL_SGIX_tag_sample_buffer 4 | void glTagSampleBufferSGIX (void) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_WIN_phong_shading: -------------------------------------------------------------------------------- 1 | GL_WIN_phong_shading 2 | http://www.opengl.org/registry/specs/WIN/phong_shading.txt 3 | GL_WIN_phong_shading 4 | GL_PHONG_WIN 0x80EA 5 | GL_PHONG_HINT_WIN 0x80EB 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_multisample: -------------------------------------------------------------------------------- 1 | WGL_ARB_multisample 2 | http://www.opengl.org/registry/specs/ARB/multisample.txt 3 | WGL_ARB_multisample 4 | WGL_SAMPLE_BUFFERS_ARB 0x2041 5 | WGL_SAMPLES_ARB 0x2042 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_pixel_format_float: -------------------------------------------------------------------------------- 1 | WGL_ARB_pixel_format_float 2 | http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt 3 | WGL_ARB_pixel_format_float 4 | WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | GLX_ARB_framebuffer_sRGB 2 | http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt 3 | GLX_ARB_framebuffer_sRGB 4 | GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIS_multisample: -------------------------------------------------------------------------------- 1 | GLX_SGIS_multisample 2 | http://www.opengl.org/registry/specs/SGIS/multisample.txt 3 | GLX_SGIS_multisample 4 | GLX_SAMPLE_BUFFERS_SGIS 100000 5 | GLX_SAMPLES_SGIS 100001 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIS_shared_multisample: -------------------------------------------------------------------------------- 1 | GLX_SGIS_shared_multisample 2 | 3 | GLX_SGIS_shared_multisample 4 | GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 5 | GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_aux_depth_stencil: -------------------------------------------------------------------------------- 1 | GL_APPLE_aux_depth_stencil 2 | http://www.opengl.org/registry/specs/APPLE/aux_depth_stencil.txt 3 | GL_APPLE_aux_depth_stencil 4 | GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_point_sprite: -------------------------------------------------------------------------------- 1 | GL_ARB_point_sprite 2 | http://www.opengl.org/registry/specs/ARB/point_sprite.txt 3 | GL_ARB_point_sprite 4 | GL_POINT_SPRITE_ARB 0x8861 5 | GL_COORD_REPLACE_ARB 0x8862 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_border_clamp: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_border_clamp 2 | http://www.opengl.org/registry/specs/ARB/texture_border_clamp.txt 3 | GL_ARB_texture_border_clamp 4 | GL_CLAMP_TO_BORDER_ARB 0x812D 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_index_material: -------------------------------------------------------------------------------- 1 | GL_EXT_index_material 2 | http://www.opengl.org/registry/specs/EXT/index_material.txt 3 | GL_EXT_index_material 4 | void glIndexMaterialEXT (GLenum face, GLenum mode) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_scene_marker: -------------------------------------------------------------------------------- 1 | GL_EXT_scene_marker 2 | http://www.opengl.org/registry/specs/EXT/scene_marker.txt 3 | GL_EXT_scene_marker 4 | void glBeginSceneEXT (void) 5 | void glEndSceneEXT (void) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_vertex_program4: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_vertex_program4.txt 3 | GL_NV_gpu_program4 4 | GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_fog_offset: -------------------------------------------------------------------------------- 1 | GL_SGIX_fog_offset 2 | http://www.opengl.org/registry/specs/SGIX/fog_offset.txt 3 | GL_SGIX_fog_offset 4 | GL_FOG_OFFSET_SGIX 0x8198 5 | GL_FOG_OFFSET_VALUE_SGIX 0x8199 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | WGL_ARB_framebuffer_sRGB 2 | http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt 3 | WGL_ARB_framebuffer_sRGB 4 | WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_multisample: -------------------------------------------------------------------------------- 1 | WGL_EXT_multisample 2 | http://www.opengl.org/registry/specs/EXT/wgl_multisample.txt 3 | WGL_EXT_multisample 4 | WGL_SAMPLE_BUFFERS_EXT 0x2041 5 | WGL_SAMPLES_EXT 0x2042 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_3DFX_multisample: -------------------------------------------------------------------------------- 1 | GLX_3DFX_multisample 2 | http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt 3 | GLX_3DFX_multisample 4 | GLX_SAMPLE_BUFFERS_3DFX 0x8050 5 | GLX_SAMPLES_3DFX 0x8051 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_row_bytes: -------------------------------------------------------------------------------- 1 | GL_APPLE_row_bytes 2 | http://www.opengl.org/registry/specs/APPLE/row_bytes.txt 3 | GL_APPLE_row_bytes 4 | GL_PACK_ROW_BYTES_APPLE 0x8A15 5 | GL_UNPACK_ROW_BYTES_APPLE 0x8A16 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_specular_vector: -------------------------------------------------------------------------------- 1 | GL_APPLE_specular_vector 2 | http://www.opengl.org/registry/specs/APPLE/specular_vector.txt 3 | GL_APPLE_specular_vector 4 | GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_map_buffer_alignment: -------------------------------------------------------------------------------- 1 | GL_ARB_map_buffer_alignment 2 | http://www.opengl.org/registry/specs/ARB/map_buffer_alignment.txt 3 | GL_ARB_map_buffer_alignment 4 | GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_env_dot3: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_env_dot3 2 | http://www.opengl.org/registry/specs/ARB/texture_env_dot3.txt 3 | GL_ARB_texture_env_dot3 4 | GL_DOT3_RGB_ARB 0x86AE 5 | GL_DOT3_RGBA_ARB 0x86AF 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_text_fragment_shader: -------------------------------------------------------------------------------- 1 | GL_ATI_text_fragment_shader 2 | http://www.opengl.org/registry/specs/ATI/text_fragment_shader.txt 3 | GL_ATI_text_fragment_shader 4 | GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_env_dot3: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_env_dot3 2 | http://www.opengl.org/registry/specs/EXT/texture_env_dot3.txt 3 | GL_EXT_texture_env_dot3 4 | GL_DOT3_RGB_EXT 0x8740 5 | GL_DOT3_RGBA_EXT 0x8741 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_IBM_static_data: -------------------------------------------------------------------------------- 1 | GL_IBM_static_data 2 | http://www.opengl.org/registry/specs/IBM/static_data.txt 3 | GL_IBM_static_data 4 | GL_ALL_STATIC_DATA_IBM 103060 5 | GL_STATIC_VERTEX_ARRAY_IBM 103061 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_vertex_program3: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program3 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program3.txt 3 | GL_NV_vertex_program3 4 | MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_texture_border_clamp: -------------------------------------------------------------------------------- 1 | GL_SGIS_texture_border_clamp 2 | http://www.opengl.org/registry/specs/SGIS/texture_border_clamp.txt 3 | GL_SGIS_texture_border_clamp 4 | GL_CLAMP_TO_BORDER_SGIS 0x812D 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_convolution_accuracy: -------------------------------------------------------------------------------- 1 | GL_SGIX_convolution_accuracy 2 | http://www.opengl.org/registry/specs/SGIX/convolution_accuracy.txt 3 | GL_SGIX_convolution_accuracy 4 | GL_CONVOLUTION_HINT_SGIX 0x8316 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_3DFX_multisample: -------------------------------------------------------------------------------- 1 | WGL_3DFX_multisample 2 | http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt 3 | WGL_3DFX_multisample 4 | WGL_SAMPLE_BUFFERS_3DFX 0x2060 5 | WGL_SAMPLES_3DFX 0x2061 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_EXT_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | GLX_EXT_framebuffer_sRGB 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt 3 | GLX_EXT_framebuffer_sRGB 4 | GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATIX_vertex_shader_output_point_size: -------------------------------------------------------------------------------- 1 | GL_ATIX_vertex_shader_output_point_size 2 | http://www.ati.com/developer/atiopengl.pdf 3 | GL_ATIX_vertex_shader_output_point_size 4 | GL_OUTPUT_POINT_SIZE_ATIX 0x610E 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_texture_edge_clamp: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_edge_clamp 2 | http://www.opengl.org/developers/documentation/Version1.2/1.2specs/texture_edge_clamp.txt 3 | GL_EXT_texture_edge_clamp 4 | GL_CLAMP_TO_EDGE_EXT 0x812F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/WGL_EXT_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | WGL_EXT_framebuffer_sRGB 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt 3 | WGL_EXT_framebuffer_sRGB 4 | WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIX_visual_select_group: -------------------------------------------------------------------------------- 1 | GLX_SGIX_visual_select_group 2 | http://www.opengl.org/registry/specs/SGIX/visual_select_group.txt 3 | GLX_SGIX_visual_select_group 4 | GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shading_language_100: -------------------------------------------------------------------------------- 1 | GL_ARB_shading_language_100 2 | http://www.opengl.org/registry/specs/ARB/shading_language_100.txt 3 | GL_ARB_shading_language_100 4 | GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_GREMEDY_frame_terminator: -------------------------------------------------------------------------------- 1 | GL_GREMEDY_frame_terminator 2 | http://www.opengl.org/registry/specs/GREMEDY/frame_terminator.txt 3 | GL_GREMEDY_frame_terminator 4 | void glFrameTerminatorGREMEDY (void) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_HP_occlusion_test: -------------------------------------------------------------------------------- 1 | GL_HP_occlusion_test 2 | http://www.opengl.org/registry/specs/HP/occlusion_test.txt 3 | GL_HP_occlusion_test 4 | GL_OCCLUSION_TEST_RESULT_HP 0x8166 5 | GL_OCCLUSION_TEST_HP 0x8165 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texgen_reflection: -------------------------------------------------------------------------------- 1 | GL_NV_texgen_reflection 2 | http://www.opengl.org/registry/specs/NV/texgen_reflection.txt 3 | GL_NV_texgen_reflection 4 | GL_NORMAL_MAP_NV 0x8511 5 | GL_REFLECTION_MAP_NV 0x8512 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texture_expand_normal: -------------------------------------------------------------------------------- 1 | GL_NV_texture_expand_normal 2 | http://www.opengl.org/registry/specs/NV/texture_expand_normal.txt 3 | GL_NV_texture_expand_normal 4 | GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_vertex_array_range2: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_array_range2 2 | http://www.opengl.org/registry/specs/NV/vertex_array_range2.txt 3 | GL_NV_vertex_array_range2 4 | GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_OML_subsample: -------------------------------------------------------------------------------- 1 | GL_OML_subsample 2 | http://www.opengl.org/registry/specs/OML/subsample.txt 3 | GL_OML_subsample 4 | GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 5 | GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_reference_plane: -------------------------------------------------------------------------------- 1 | GL_SGIX_reference_plane 2 | http://www.opengl.org/registry/specs/SGIX/reference_plane.txt 3 | GL_SGIX_reference_plane 4 | void glReferencePlaneSGIX (const GLdouble* equation) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_extensions_string: -------------------------------------------------------------------------------- 1 | WGL_EXT_extensions_string 2 | http://www.opengl.org/registry/specs/EXT/wgl_extensions_string.txt 3 | WGL_EXT_extensions_string 4 | const char* wglGetExtensionsStringEXT (void) 5 | -------------------------------------------------------------------------------- /data/gl-330/r2vb1.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | uniform mat4 MVP; 4 | 5 | in vec2 Position; 6 | out vec2 VertTexcoord; 7 | 8 | void main() 9 | { 10 | VertTexcoord = Position; 11 | gl_Position = MVP * vec4(Position, 0.0, 1.0); 12 | } -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_fbconfig_float: -------------------------------------------------------------------------------- 1 | GLX_ARB_fbconfig_float 2 | http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt 3 | GLX_ARB_fbconfig_float 4 | GLX_RGBA_FLOAT_BIT 0x00000004 5 | GLX_RGBA_FLOAT_TYPE 0x20B9 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_EXT_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | GLX_EXT_framebuffer_sRGB 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt 3 | GLX_EXT_framebuffer_sRGB 4 | GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_MESA_release_buffers: -------------------------------------------------------------------------------- 1 | GLX_MESA_release_buffers 2 | http://www.opengl.org/registry/specs/MESA/release_buffers.txt 3 | GLX_MESA_release_buffers 4 | Bool glXReleaseBuffersMESA (Display* dpy, GLXDrawable d) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_mirrored_repeat: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_mirrored_repeat 2 | http://www.opengl.org/registry/specs/ARB/texture_mirrored_repeat.txt 3 | GL_ARB_texture_mirrored_repeat 4 | GL_MIRRORED_REPEAT_ARB 0x8370 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATIX_vertex_shader_output_point_size: -------------------------------------------------------------------------------- 1 | GL_ATIX_vertex_shader_output_point_size 2 | http://www.ati.com/developer/atiopengl.pdf 3 | GL_ATIX_vertex_shader_output_point_size 4 | GL_OUTPUT_POINT_SIZE_ATIX 0x610E 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_blend_subtract: -------------------------------------------------------------------------------- 1 | GL_EXT_blend_subtract 2 | http://www.opengl.org/registry/specs/EXT/blend_subtract.txt 3 | GL_EXT_blend_subtract 4 | GL_FUNC_SUBTRACT_EXT 0x800A 5 | GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_shared_texture_palette: -------------------------------------------------------------------------------- 1 | GL_EXT_shared_texture_palette 2 | http://www.opengl.org/registry/specs/EXT/shared_texture_palette.txt 3 | GL_EXT_shared_texture_palette 4 | GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_edge_clamp: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_edge_clamp 2 | http://www.opengl.org/developers/documentation/Version1.2/1.2specs/texture_edge_clamp.txt 3 | GL_EXT_texture_edge_clamp 4 | GL_CLAMP_TO_EDGE_EXT 0x812F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_IBM_texture_mirrored_repeat: -------------------------------------------------------------------------------- 1 | GL_IBM_texture_mirrored_repeat 2 | http://www.opengl.org/registry/specs/IBM/texture_mirrored_repeat.txt 3 | GL_IBM_texture_mirrored_repeat 4 | GL_MIRRORED_REPEAT_IBM 0x8370 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_multisample_filter_hint: -------------------------------------------------------------------------------- 1 | GL_NV_multisample_filter_hint 2 | http://www.opengl.org/registry/specs/NV/multisample_filter_hint.txt 3 | GL_NV_multisample_filter_hint 4 | GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_texture_multi_buffer: -------------------------------------------------------------------------------- 1 | GL_SGIX_texture_multi_buffer 2 | http://www.opengl.org/registry/specs/SGIX/texture_multi_buffer.txt 3 | GL_SGIX_texture_multi_buffer 4 | GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SUN_convolution_border_modes: -------------------------------------------------------------------------------- 1 | GL_SUN_convolution_border_modes 2 | http://www.opengl.org/registry/specs/SUN/convolution_border_modes.txt 3 | GL_SUN_convolution_border_modes 4 | GL_WRAP_BORDER_SUN 0x81D4 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_extensions_string: -------------------------------------------------------------------------------- 1 | WGL_ARB_extensions_string 2 | http://www.opengl.org/registry/specs/ARB/wgl_extensions_string.txt 3 | WGL_ARB_extensions_string 4 | const char* wglGetExtensionsStringARB (HDC hdc) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | WGL_EXT_framebuffer_sRGB 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt 3 | WGL_EXT_framebuffer_sRGB 4 | WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_blend_minmax_factor: -------------------------------------------------------------------------------- 1 | GL_AMD_blend_minmax_factor 2 | http://www.opengl.org/registry/specs/AMD/blend_minmax_factor.txt 3 | GL_AMD_blend_minmax_factor 4 | GL_FACTOR_MIN_AMD 0x901C 5 | GL_FACTOR_MAX_AMD 0x901D 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_GREMEDY_string_marker: -------------------------------------------------------------------------------- 1 | GL_GREMEDY_string_marker 2 | http://www.opengl.org/registry/specs/GREMEDY/string_marker.txt 3 | GL_GREMEDY_string_marker 4 | void glStringMarkerGREMEDY (GLsizei len, const void* string) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_light_max_exponent: -------------------------------------------------------------------------------- 1 | GL_NV_light_max_exponent 2 | http://www.opengl.org/registry/specs/NV/light_max_exponent.txt 3 | GL_NV_light_max_exponent 4 | GL_MAX_SHININESS_NV 0x8504 5 | GL_MAX_SPOT_EXPONENT_NV 0x8505 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_blend_alpha_minmax: -------------------------------------------------------------------------------- 1 | GL_SGIX_blend_alpha_minmax 2 | http://www.opengl.org/registry/specs/SGIX/blend_alpha_minmax.txt 3 | GL_SGIX_blend_alpha_minmax 4 | GL_ALPHA_MIN_SGIX 0x8320 5 | GL_ALPHA_MAX_SGIX 0x8321 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_vertex_preclip: -------------------------------------------------------------------------------- 1 | GL_SGIX_vertex_preclip 2 | http://www.opengl.org/registry/specs/SGIX/vertex_preclip.txt 3 | GL_SGIX_vertex_preclip 4 | GL_VERTEX_PRECLIP_SGIX 0x83EE 5 | GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/config/version: -------------------------------------------------------------------------------- 1 | GLEW_MAJOR = 1 2 | GLEW_MINOR = 7 3 | GLEW_MICRO = 0 4 | GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO) 5 | GLEW_NAME = GLEW 6 | SO_MAJOR = $(GLEW_MAJOR).$(GLEW_MINOR) 7 | SO_VERSION = $(GLEW_VERSION) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_SGIX_swap_group: -------------------------------------------------------------------------------- 1 | GLX_SGIX_swap_group 2 | http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt 3 | GLX_SGIX_swap_group 4 | void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_Cg_shader: -------------------------------------------------------------------------------- 1 | GL_EXT_Cg_shader 2 | http://download.nvidia.com/developer/GLSL/GLSL%20Release%20Notes%20for%20Release%2060.pdf 3 | GL_EXT_Cg_shader 4 | GL_CG_VERTEX_SHADER_EXT 0x890E 5 | GL_CG_FRAGMENT_SHADER_EXT 0x890F 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_transform_feedback3_lines_triangles: -------------------------------------------------------------------------------- 1 | GL_AMD_transform_feedback3_lines_triangles 2 | http://www.opengl.org/registry/specs/AMD/transform_feedback3_lines_triangles.txt 3 | GL_AMD_transform_feedback3_lines_triangles 4 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_cmyka: -------------------------------------------------------------------------------- 1 | GL_EXT_cmyka 2 | http://www.opengl.org/registry/specs/EXT/cmyka.txt 3 | GL_EXT_cmyka 4 | GL_CMYK_EXT 0x800C 5 | GL_CMYKA_EXT 0x800D 6 | GL_PACK_CMYK_HINT_EXT 0x800E 7 | GL_UNPACK_CMYK_HINT_EXT 0x800F 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_generate_mipmap: -------------------------------------------------------------------------------- 1 | GL_SGIS_generate_mipmap 2 | http://www.opengl.org/registry/specs/SGIS/generate_mipmap.txt 3 | GL_SGIS_generate_mipmap 4 | GL_GENERATE_MIPMAP_SGIS 0x8191 5 | GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_async_histogram: -------------------------------------------------------------------------------- 1 | GL_SGIX_async_histogram 2 | http://www.opengl.org/registry/specs/SGIX/async_histogram.txt 3 | GL_SGIX_async_histogram 4 | GL_ASYNC_HISTOGRAM_SGIX 0x832C 5 | GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_swap_control: -------------------------------------------------------------------------------- 1 | WGL_EXT_swap_control 2 | http://www.opengl.org/registry/specs/EXT/wgl_swap_control.txt 3 | WGL_EXT_swap_control 4 | int wglGetSwapIntervalEXT (void) 5 | BOOL wglSwapIntervalEXT (int interval) 6 | -------------------------------------------------------------------------------- /external/freeglut-2.6.0/GL/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | libfreeglutincludedir = $(includedir)/GL 4 | libfreeglutinclude_HEADERS = freeglut.h freeglut_std.h freeglut_ext.h @HEADER@ 5 | EXTRA_HEADERS = glut.h 6 | -------------------------------------------------------------------------------- /external/freeglut-2.8.0/GL/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in 2 | 3 | libfreeglutincludedir = $(includedir)/GL 4 | libfreeglutinclude_HEADERS = freeglut.h freeglut_std.h freeglut_ext.h @HEADER@ 5 | EXTRA_HEADERS = glut.h 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_WIN_swap_hint: -------------------------------------------------------------------------------- 1 | GL_WIN_swap_hint 2 | http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc01_16zy.asp 3 | GL_WIN_swap_hint 4 | void glAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/WGL_EXT_pixel_format_packed_float: -------------------------------------------------------------------------------- 1 | WGL_EXT_pixel_format_packed_float 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt 3 | WGL_EXT_pixel_format_packed_float 4 | WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_vertex_buffer_object: -------------------------------------------------------------------------------- 1 | GLX_ARB_vertex_buffer_object 2 | http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt 3 | GLX_ARB_vertex_buffer_object 4 | GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIX_swap_group: -------------------------------------------------------------------------------- 1 | GLX_SGIX_swap_group 2 | http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt 3 | GLX_SGIX_swap_group 4 | void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_shadow: -------------------------------------------------------------------------------- 1 | GL_ARB_shadow 2 | http://www.opengl.org/registry/specs/ARB/shadow.txt 3 | GL_ARB_shadow 4 | GL_TEXTURE_COMPARE_MODE_ARB 0x884C 5 | GL_TEXTURE_COMPARE_FUNC_ARB 0x884D 6 | GL_COMPARE_R_TO_TEXTURE_ARB 0x884E 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_meminfo: -------------------------------------------------------------------------------- 1 | GL_ATI_meminfo 2 | http://www.opengl.org/registry/specs/ATI/meminfo.txt 3 | GL_ATI_meminfo 4 | GL_VBO_FREE_MEMORY_ATI 0x87FB 5 | GL_TEXTURE_FREE_MEMORY_ATI 0x87FC 6 | GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_Cg_shader: -------------------------------------------------------------------------------- 1 | GL_EXT_Cg_shader 2 | http://download.nvidia.com/developer/GLSL/GLSL%20Release%20Notes%20for%20Release%2060.pdf 3 | GL_EXT_Cg_shader 4 | GL_CG_VERTEX_SHADER_EXT 0x890E 5 | GL_CG_FRAGMENT_SHADER_EXT 0x890F 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_fog_distance: -------------------------------------------------------------------------------- 1 | GL_NV_fog_distance 2 | http://www.opengl.org/registry/specs/NV/fog_distance.txt 3 | GL_NV_fog_distance 4 | GL_FOG_DISTANCE_MODE_NV 0x855A 5 | GL_EYE_RADIAL_NV 0x855B 6 | GL_EYE_PLANE_ABSOLUTE_NV 0x855C 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_multisample_coverage: -------------------------------------------------------------------------------- 1 | GL_NV_multisample_coverage 2 | http://www.opengl.org/registry/specs/NV/multisample_coverage.txt 3 | GL_NV_multisample_coverage 4 | GL_COVERAGE_SAMPLES_NV 0x80A9 5 | GL_COLOR_SAMPLES_NV 0x8E20 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_packed_depth_stencil: -------------------------------------------------------------------------------- 1 | GL_NV_packed_depth_stencil 2 | http://www.opengl.org/registry/specs/NV/packed_depth_stencil.txt 3 | GL_NV_packed_depth_stencil 4 | GL_DEPTH_STENCIL_NV 0x84F9 5 | GL_UNSIGNED_INT_24_8_NV 0x84FA 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texgen_emboss: -------------------------------------------------------------------------------- 1 | GL_NV_texgen_emboss 2 | http://www.opengl.org/registry/specs/NV/texgen_emboss.txt 3 | GL_NV_texgen_emboss 4 | GL_EMBOSS_LIGHT_NV 0x855D 5 | GL_EMBOSS_CONSTANT_NV 0x855E 6 | GL_EMBOSS_MAP_NV 0x855F 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/src/glewinfo_gl.c: -------------------------------------------------------------------------------- 1 | /* ------------------------------------------------------------------------ */ 2 | 3 | static void glewInfo (void) 4 | { 5 | #ifdef GL_VERSION_1_1 6 | _glewInfo_GL_VERSION_1_1(); 7 | #endif /* GL_VERSION_1_1 */ 8 | -------------------------------------------------------------------------------- /data/gl-330/draw-without-vertex-attrib.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | uniform vec4 Diffuse; 6 | 7 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 8 | 9 | void main() 10 | { 11 | Color = Diffuse; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /data/gl-330/texture.vert: -------------------------------------------------------------------------------- 1 | #version 140 2 | 3 | uniform mat4 MVP; 4 | 5 | in vec2 Position; 6 | in vec2 Texcoord; 7 | out vec2 VertTexcoord; 8 | 9 | void main() 10 | { 11 | VertTexcoord = Texcoord; 12 | gl_Position = MVP * vec4(Position, 0.0, 1.0); 13 | } -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_ARB_get_proc_address: -------------------------------------------------------------------------------- 1 | GLX_ARB_get_proc_address 2 | http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt 3 | GLX_ARB_get_proc_address 4 | extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_NV_multisample_coverage: -------------------------------------------------------------------------------- 1 | GLX_NV_multisample_coverage 2 | http://www.opengl.org/registry/specs/NV/multisample_coverage.txt 3 | GLX_NV_multisample_coverage 4 | GLX_COLOR_SAMPLES_NV 0x20B3 5 | GLX_COVERAGE_SAMPLES_NV 100001 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_depth_clamp_separate: -------------------------------------------------------------------------------- 1 | GL_AMD_depth_clamp_separate 2 | http://www.opengl.org/registry/specs/AMD/depth_clamp_separate.txt 3 | GL_AMD_depth_clamp_separate 4 | GL_DEPTH_CLAMP_NEAR_AMD 0x901E 5 | GL_DEPTH_CLAMP_FAR_AMD 0x901F 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_rgb_422: -------------------------------------------------------------------------------- 1 | GL_APPLE_rgb_422 2 | http://www.opengl.org/registry/specs/APPLE/rgb_422.txt 3 | GL_APPLE_rgb_422 4 | GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 5 | GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 6 | GL_RGB_422_APPLE 0x8A1F 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_texture_mirror_once: -------------------------------------------------------------------------------- 1 | GL_ATI_texture_mirror_once 2 | http://www.opengl.org/registry/specs/ATI/texture_mirror_once.txt 3 | GL_ATI_texture_mirror_once 4 | GL_MIRROR_CLAMP_ATI 0x8742 5 | GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_stencil_clear_tag: -------------------------------------------------------------------------------- 1 | GL_EXT_stencil_clear_tag 2 | http://www.opengl.org/registry/specs/EXT/stencil_clear_tag.txt 3 | GL_EXT_stencil_clear_tag 4 | GL_STENCIL_TAG_BITS_EXT 0x88F2 5 | GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_OES_read_format: -------------------------------------------------------------------------------- 1 | GL_OES_read_format 2 | http://www.opengl.org/registry/specs/OES/OES_read_format.txt 3 | GL_OES_read_format 4 | GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A 5 | GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_vertex_preclip_hint: -------------------------------------------------------------------------------- 1 | GL_SGIX_vertex_preclip_hint 2 | http://www.opengl.org/registry/specs/SGIX/vertex_preclip.txt 3 | GL_SGIX_vertex_preclip_hint 4 | GL_VERTEX_PRECLIP_SGIX 0x83EE 5 | GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_pixel_format_packed_float: -------------------------------------------------------------------------------- 1 | WGL_EXT_pixel_format_packed_float 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt 3 | WGL_EXT_pixel_format_packed_float 4 | WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_NV_multisample_coverage: -------------------------------------------------------------------------------- 1 | WGL_NV_multisample_coverage 2 | http://www.opengl.org/registry/specs/NV/multisample_coverage.txt 3 | WGL_NV_multisample_coverage 4 | WGL_COVERAGE_SAMPLES_NV 0x2042 5 | WGL_COLOR_SAMPLES_NV 0x20B9 6 | -------------------------------------------------------------------------------- /data/gl-400/tess-block.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | void main() 13 | { 14 | Color = In.Color; 15 | } 16 | -------------------------------------------------------------------------------- /data/gl-420/image-store-read.vert: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | out gl_PerVertex 4 | { 5 | vec4 gl_Position; 6 | }; 7 | 8 | void main() 9 | { 10 | gl_Position = vec4(mix(vec2(-1.0), vec2(3.0), bvec2(gl_VertexID == 1, gl_VertexID == 2)), 0.0, 1.0); 11 | } 12 | -------------------------------------------------------------------------------- /data/gl-420/image-store-write.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | in vec4 gl_FragCoord; 4 | layout(binding = 0, rgba8) coherent uniform image2D Diffuse; 5 | 6 | void main() 7 | { 8 | imageStore(Diffuse, ivec2(gl_FragCoord.xy), vec4(1.0, 0.5, 0.0, 1.0)); 9 | } 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_MESA_swap_control: -------------------------------------------------------------------------------- 1 | GLX_MESA_swap_control 2 | http://cgit.freedesktop.org/mesa/mesa/plain/docs/MESA_swap_control.spec 3 | GLX_MESA_swap_control 4 | int glXGetSwapIntervalMESA (void) 5 | int glXSwapIntervalMESA (unsigned int interval) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | GL_EXT_framebuffer_sRGB 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt 3 | GL_EXT_framebuffer_sRGB 4 | GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 5 | GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_get_proc_address: -------------------------------------------------------------------------------- 1 | GLX_ARB_get_proc_address 2 | http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt 3 | GLX_ARB_get_proc_address 4 | extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_422_pixels: -------------------------------------------------------------------------------- 1 | GL_EXT_422_pixels 2 | http://www.opengl.org/registry/specs/EXT/422_pixels.txt 3 | GL_EXT_422_pixels 4 | GL_422_EXT 0x80CC 5 | GL_422_REV_EXT 0x80CD 6 | GL_422_AVERAGE_EXT 0x80CE 7 | GL_422_REV_AVERAGE_EXT 0x80CF 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_copy_depth_to_color: -------------------------------------------------------------------------------- 1 | GL_NV_copy_depth_to_color 2 | http://www.opengl.org/registry/specs/NV/copy_depth_to_color.txt 3 | GL_NV_copy_depth_to_color 4 | GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E 5 | GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_REND_screen_coordinates: -------------------------------------------------------------------------------- 1 | GL_REND_screen_coordinates 2 | http://www.opengl.org/registry/specs/REND/screen_coordinates.txt 3 | GL_REND_screen_coordinates 4 | GL_SCREEN_COORDINATES_REND 0x8490 5 | GL_INVERTED_SCREEN_W_REND 0x8491 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_fog_function: -------------------------------------------------------------------------------- 1 | GL_SGIS_fog_function 2 | http://www.opengl.org/registry/specs/SGIS/fog_func.txt 3 | GL_SGIS_fog_function 4 | void glFogFuncSGIS (GLsizei n, const GLfloat* points) 5 | void glGetFogFuncSGIS (GLfloat* points) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_WIN_swap_hint: -------------------------------------------------------------------------------- 1 | GL_WIN_swap_hint 2 | http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc01_16zy.asp 3 | GL_WIN_swap_hint 4 | void glAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height) 5 | -------------------------------------------------------------------------------- /data/gl-300/image-2d.vert: -------------------------------------------------------------------------------- 1 | #version 130 2 | 3 | uniform mat4 MVP; 4 | 5 | in vec2 Position; 6 | in vec2 Texcoord; 7 | 8 | out vec2 VertTexcoord; 9 | 10 | void main() 11 | { 12 | VertTexcoord = Texcoord; 13 | gl_Position = MVP * vec4(Position, 0.0, 1.0); 14 | } -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_VERSION_1_4: -------------------------------------------------------------------------------- 1 | GLX_VERSION_1_4 2 | http://www.opengl.org/documentation/specs/glx/glx1.4.pdf 3 | GLX_VERSION_1_4 4 | GLX_SAMPLE_BUFFERS 100000 5 | GLX_SAMPLES 100001 6 | extern void ( * glXGetProcAddress (const GLubyte *procName)) (void); 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_EXT_create_context_es2_profile: -------------------------------------------------------------------------------- 1 | GLX_EXT_create_context_es2_profile 2 | http://www.opengl.org/registry/specs/EXT/glx_create_context_es2_profile.txt 3 | GLX_EXT_create_context_es2_profile 4 | GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_EXT_visual_rating: -------------------------------------------------------------------------------- 1 | GLX_EXT_visual_rating 2 | http://www.opengl.org/registry/specs/EXT/visual_rating.txt 3 | GLX_EXT_visual_rating 4 | GLX_VISUAL_CAVEAT_EXT 0x20 5 | GLX_SLOW_VISUAL_EXT 0x8001 6 | GLX_NON_CONFORMANT_VISUAL_EXT 0x800D 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_MESA_swap_control: -------------------------------------------------------------------------------- 1 | GLX_MESA_swap_control 2 | http://cgit.freedesktop.org/mesa/mesa/plain/docs/MESA_swap_control.spec 3 | GLX_MESA_swap_control 4 | int glXGetSwapIntervalMESA (void) 5 | int glXSwapIntervalMESA (unsigned int interval) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_seamless_cubemap_per_texture: -------------------------------------------------------------------------------- 1 | GL_AMD_seamless_cubemap_per_texture 2 | http://www.opengl.org/registry/specs/AMD/seamless_cubemap_per_texture.txt 3 | GL_AMD_seamless_cubemap_per_texture 4 | GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_APPLE_ycbcr_422: -------------------------------------------------------------------------------- 1 | GL_APPLE_ycbcr_422 2 | http://www.opengl.org/registry/specs/APPLE/ycbcr_422.txt 3 | GL_APPLE_ycbcr_422 4 | GL_YCBCR_422_APPLE 0x85B9 5 | GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 6 | GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_framebuffer_sRGB: -------------------------------------------------------------------------------- 1 | GL_EXT_framebuffer_sRGB 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt 3 | GL_EXT_framebuffer_sRGB 4 | GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 5 | GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGI_texture_color_table: -------------------------------------------------------------------------------- 1 | GL_SGI_texture_color_table 2 | http://www.opengl.org/registry/specs/SGI/texture_color_table.txt 3 | GL_SGI_texture_color_table 4 | GL_TEXTURE_COLOR_TABLE_SGI 0x80BC 5 | GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_create_context_es2_profile: -------------------------------------------------------------------------------- 1 | WGL_EXT_create_context_es2_profile 2 | http://www.opengl.org/registry/specs/EXT/wgl_create_context_es2_profile.txt 3 | WGL_EXT_create_context_es2_profile 4 | WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_SGI_video_sync: -------------------------------------------------------------------------------- 1 | GLX_SGI_video_sync 2 | http://www.opengl.org/registry/specs/SGI/video_sync.txt 3 | GLX_SGI_video_sync 4 | int glXGetVideoSyncSGI (unsigned int* count) 5 | int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATIX_texture_env_combine3: -------------------------------------------------------------------------------- 1 | GL_ATIX_texture_env_combine3 2 | http://www.ati.com/developer/atiopengl.pdf 3 | GL_ATIX_texture_env_combine3 4 | GL_MODULATE_ADD_ATIX 0x8744 5 | GL_MODULATE_SIGNED_ADD_ATIX 0x8745 6 | GL_MODULATE_SUBTRACT_ATIX 0x8746 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_MESA_ycbcr_texture: -------------------------------------------------------------------------------- 1 | GL_MESA_ycbcr_texture 2 | http://www.opengl.org/registry/specs/MESA/ycbcr_texture.txt 3 | GL_MESA_ycbcr_texture 4 | GL_UNSIGNED_SHORT_8_8_MESA 0x85BA 5 | GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB 6 | GL_YCBCR_MESA 0x8757 7 | -------------------------------------------------------------------------------- /data/gl-330/r2vb1.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | uniform sampler2D Diffuse; 4 | 5 | in vec2 VertTexcoord; 6 | out vec4 FragColor; 7 | 8 | void main() 9 | { 10 | float Height = texture2D(Diffuse, VertTexcoord).x; 11 | FragColor = vec4(VertTexcoord, Height, 1.0); 12 | } 13 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_MESA_pixmap_colormap: -------------------------------------------------------------------------------- 1 | GLX_MESA_pixmap_colormap 2 | http://www.opengl.org/registry/specs/MESA/pixmap_colormap.txt 3 | GLX_MESA_pixmap_colormap 4 | GLXPixmap glXCreateGLXPixmapMESA (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATIX_texture_env_combine3: -------------------------------------------------------------------------------- 1 | GL_ATIX_texture_env_combine3 2 | http://www.ati.com/developer/atiopengl.pdf 3 | GL_ATIX_texture_env_combine3 4 | GL_MODULATE_ADD_ATIX 0x8744 5 | GL_MODULATE_SIGNED_ADD_ATIX 0x8745 6 | GL_MODULATE_SUBTRACT_ATIX 0x8746 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_depth_texture: -------------------------------------------------------------------------------- 1 | GL_SGIX_depth_texture 2 | http://www.opengl.org/registry/specs/SGIX/depth_texture.txt 3 | GL_SGIX_depth_texture 4 | GL_DEPTH_COMPONENT16_SGIX 0x81A5 5 | GL_DEPTH_COMPONENT24_SGIX 0x81A6 6 | GL_DEPTH_COMPONENT32_SGIX 0x81A7 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATI_map_object_buffer: -------------------------------------------------------------------------------- 1 | GL_ATI_map_object_buffer 2 | http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_map_object_buffer.txt 3 | GL_ATI_map_object_buffer 4 | void* glMapObjectBufferATI (GLuint buffer) 5 | void glUnmapObjectBufferATI (GLuint buffer) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_MESA_copy_sub_buffer: -------------------------------------------------------------------------------- 1 | GLX_MESA_copy_sub_buffer 2 | http://www.opengl.org/registry/specs/MESA/copy_sub_buffer.txt 3 | GLX_MESA_copy_sub_buffer 4 | void glXCopySubBufferMESA (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGI_video_sync: -------------------------------------------------------------------------------- 1 | GLX_SGI_video_sync 2 | http://www.opengl.org/registry/specs/SGI/video_sync.txt 3 | GLX_SGI_video_sync 4 | int glXGetVideoSyncSGI (unsigned int* count) 5 | int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_sRGB_decode: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_sRGB_decode 2 | http://www.opengl.org/registry/specs/EXT/texture_sRGB_decode.txt 3 | GL_EXT_texture_sRGB_decode 4 | GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 5 | GL_DECODE_EXT 0x8A49 6 | GL_SKIP_DECODE_EXT 0x8A4A 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SUNX_constant_data: -------------------------------------------------------------------------------- 1 | GL_SUNX_constant_data 2 | http://www.opengl.org/registry/specs/SUNX/constant_data.txt 3 | GL_SUNX_constant_data 4 | GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 5 | GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 6 | void glFinishTextureSUNX (void) 7 | -------------------------------------------------------------------------------- /data/gl-330/uniform-buffer.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | uniform material 6 | { 7 | vec4 Diffuse; 8 | } Material; 9 | 10 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 11 | 12 | void main() 13 | { 14 | Color = Material.Diffuse; 15 | } 16 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_EXT_fbconfig_packed_float: -------------------------------------------------------------------------------- 1 | GLX_EXT_fbconfig_packed_float 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt 3 | GLX_EXT_fbconfig_packed_float 4 | GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 5 | GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_vertex_program2_option: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program2_option 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program2_option.txt 3 | GL_NV_vertex_program2_option 4 | GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 5 | GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_MESA_set_3dfx_mode: -------------------------------------------------------------------------------- 1 | GLX_MESA_set_3dfx_mode 2 | http://www.opengl.org/registry/specs/MESA/set_3dfx_mode.txt 3 | GLX_MESA_set_3dfx_mode 4 | GLX_3DFX_WINDOW_MODE_MESA 0x1 5 | GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 6 | GLboolean glXSet3DfxModeMESA (GLint mode) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_3DFX_texture_compression_FXT1: -------------------------------------------------------------------------------- 1 | GL_3DFX_texture_compression_FXT1 2 | http://www.opengl.org/registry/specs/3DFX/texture_compression_FXT1.txt 3 | GL_3DFX_texture_compression_FXT1 4 | GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 5 | GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_map_object_buffer: -------------------------------------------------------------------------------- 1 | GL_ATI_map_object_buffer 2 | http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_map_object_buffer.txt 3 | GL_ATI_map_object_buffer 4 | void* glMapObjectBufferATI (GLuint buffer) 5 | void glUnmapObjectBufferATI (GLuint buffer) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_fog_texture: -------------------------------------------------------------------------------- 1 | GL_SGIX_fog_texture 2 | http://www.opengl.org/registry/specs/SGIX/fog_texture.txt 3 | GL_SGIX_fog_texture 4 | GL_TEXTURE_FOG_SGIX 0 5 | GL_FOG_PATCHY_FACTOR_SGIX 0 6 | GL_FRAGMENT_FOG_SGIX 0 7 | void glTextureFogSGIX (GLenum pname) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_packed_float: -------------------------------------------------------------------------------- 1 | GL_EXT_packed_float 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt 3 | GL_EXT_packed_float 4 | GL_R11F_G11F_B10F_EXT 0x8C3A 5 | GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B 6 | GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_OML_swap_method: -------------------------------------------------------------------------------- 1 | GLX_OML_swap_method 2 | http://www.opengl.org/registry/specs/OML/glx_swap_method.txt 3 | GLX_OML_swap_method 4 | GLX_SWAP_METHOD_OML 0x8060 5 | GLX_SWAP_EXCHANGE_OML 0x8061 6 | GLX_SWAP_COPY_OML 0x8062 7 | GLX_SWAP_UNDEFINED_OML 0x8063 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_sample_positions: -------------------------------------------------------------------------------- 1 | GL_AMD_sample_positions 2 | http://www.opengl.org/registry/specs/AMD/sample_positions.txt 3 | GL_AMD_sample_positions 4 | GL_SUBSAMPLE_DISTANCE_AMD 0x883F 5 | void glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat* val) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_depth_buffer_float: -------------------------------------------------------------------------------- 1 | GL_ARB_depth_buffer_float 2 | http://www.opengl.org/registry/specs/ARB/depth_buffer_float.txt 3 | GL_ARB_depth_buffer_float 4 | GL_DEPTH_COMPONENT32F 0x8CAC 5 | GL_DEPTH32F_STENCIL8 0x8CAD 6 | GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_sample_shading: -------------------------------------------------------------------------------- 1 | GL_ARB_sample_shading 2 | http://www.opengl.org/registry/specs/ARB/sample_shading.txt 3 | GL_ARB_sample_shading 4 | GL_SAMPLE_SHADING_ARB 0x8C36 5 | GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 6 | void glMinSampleShadingARB (GLclampf value) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_compression_dxt1: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_compression_dxt1 2 | http://www.opengl.org/registry/specs/EXT/texture_compression_dxt1.txt 3 | GL_EXT_texture_compression_dxt1 4 | GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 5 | GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_lod_bias: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_lod_bias 2 | http://www.opengl.org/registry/specs/EXT/texture_lod_bias.txt 3 | GL_EXT_texture_lod_bias 4 | GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD 5 | GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 6 | GL_TEXTURE_LOD_BIAS_EXT 0x8501 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_S3_s3tc: -------------------------------------------------------------------------------- 1 | GL_S3_s3tc 2 | http://www.opengl.org/registry/specs/S3/s3tc.txt 3 | GL_S3_s3tc 4 | GL_RGB_S3TC 0x83A0 5 | GL_RGB4_S3TC 0x83A1 6 | GL_RGBA_S3TC 0x83A2 7 | GL_RGBA4_S3TC 0x83A3 8 | GL_RGBA_DXT5_S3TC 0x83A4 9 | GL_RGBA4_DXT5_S3TC 0x83A5 10 | -------------------------------------------------------------------------------- /data/gl-400/fbo-rtt.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | const int VertexCount = 3; 4 | const vec2 Position[VertexCount] = vec2[]( 5 | vec2(-1.0f,-1.0f), 6 | vec2( 3.0f,-1.0f), 7 | vec2(-1.0f, 3.0f)); 8 | 9 | void main() 10 | { 11 | gl_Position = vec4(Position[gl_VertexID], 0.0, 1.0); 12 | } 13 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_SGIX_shadow: -------------------------------------------------------------------------------- 1 | GL_SGIX_shadow 2 | http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow.txt 3 | GL_SGIX_shadow 4 | GL_TEXTURE_COMPARE_SGIX 0x819A 5 | GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B 6 | GL_TEXTURE_LEQUAL_R_SGIX 0x819C 7 | GL_TEXTURE_GEQUAL_R_SGIX 0x819D 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_EXT_fbconfig_packed_float: -------------------------------------------------------------------------------- 1 | GLX_EXT_fbconfig_packed_float 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt 3 | GLX_EXT_fbconfig_packed_float 4 | GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 5 | GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_3DFX_multisample: -------------------------------------------------------------------------------- 1 | GL_3DFX_multisample 2 | http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt 3 | GL_3DFX_multisample 4 | GL_MULTISAMPLE_3DFX 0x86B2 5 | GL_SAMPLE_BUFFERS_3DFX 0x86B3 6 | GL_SAMPLES_3DFX 0x86B4 7 | GL_MULTISAMPLE_BIT_3DFX 0x20000000 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATI_texture_env_combine3: -------------------------------------------------------------------------------- 1 | GL_ATI_texture_env_combine3 2 | http://www.opengl.org/registry/specs/ATI/texture_env_combine3.txt 3 | GL_ATI_texture_env_combine3 4 | GL_MODULATE_ADD_ATI 0x8744 5 | GL_MODULATE_SIGNED_ADD_ATI 0x8745 6 | GL_MODULATE_SUBTRACT_ATI 0x8746 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_packed_float: -------------------------------------------------------------------------------- 1 | GL_EXT_packed_float 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt 3 | GL_EXT_packed_float 4 | GL_R11F_G11F_B10F_EXT 0x8C3A 5 | GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B 6 | GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_stencil_two_side: -------------------------------------------------------------------------------- 1 | GL_EXT_stencil_two_side 2 | http://www.opengl.org/registry/specs/EXT/stencil_two_side.txt 3 | GL_EXT_stencil_two_side 4 | GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 5 | GL_ACTIVE_STENCIL_FACE_EXT 0x8911 6 | void glActiveStencilFaceEXT (GLenum face) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_vertex_program2_option: -------------------------------------------------------------------------------- 1 | GL_NV_vertex_program2_option 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program2_option.txt 3 | GL_NV_vertex_program2_option 4 | GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 5 | GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/glew.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: glew 7 | Description: The OpenGL Extension Wrangler library 8 | Version: @version@ 9 | Cflags: -I${includedir} @cflags@ 10 | Libs: -L${libdir} -l@libname@ 11 | -------------------------------------------------------------------------------- /data/gl-400/rtt-array.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | const int VertexCount = 3; 4 | const vec2 Position[VertexCount] = vec2[]( 5 | vec2(-1.0f,-1.0f), 6 | vec2( 3.0f,-1.0f), 7 | vec2(-1.0f, 3.0f)); 8 | 9 | void main() 10 | { 11 | gl_Position = vec4(Position[gl_VertexID], 0.0, 1.0); 12 | } 13 | -------------------------------------------------------------------------------- /data/gl-420/matching-array.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = 0) in vec4 Color; 8 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 9 | 10 | void main() 11 | { 12 | FragColor = Color; 13 | } 14 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_depth_range_unclamped: -------------------------------------------------------------------------------- 1 | GL_NV_depth_range_unclamped 2 | 3 | GL_NV_depth_range_unclamped 4 | GL_SAMPLE_COUNT_BITS_NV 0x8864 5 | GL_CURRENT_SAMPLE_COUNT_QUERY_NV 0x8865 6 | GL_QUERY_RESULT_NV 0x8866 7 | GL_QUERY_RESULT_AVAILABLE_NV 0x8867 8 | GL_SAMPLE_COUNT_NV 0x8914 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_filter_anisotropic: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_filter_anisotropic 2 | http://www.opengl.org/registry/specs/EXT/texture_filter_anisotropic.txt 3 | GL_EXT_texture_filter_anisotropic 4 | GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 5 | GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_mirror_clamp: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_mirror_clamp 2 | http://www.opengl.org/registry/specs/EXT/texture_mirror_clamp.txt 3 | GL_EXT_texture_mirror_clamp 4 | GL_MIRROR_CLAMP_EXT 0x8742 5 | GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 6 | GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_perturb_normal: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_perturb_normal 2 | http://www.opengl.org/registry/specs/EXT/texture_perturb_normal.txt 3 | GL_EXT_texture_perturb_normal 4 | GL_PERTURB_EXT 0x85AE 5 | GL_TEXTURE_NORMAL_EXT 0x85AF 6 | void glTextureNormalEXT (GLenum mode) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_x11_sync_object: -------------------------------------------------------------------------------- 1 | GL_EXT_x11_sync_object 2 | http://www.opengl.org/registry/specs/EXT/x11_sync_object.txt 3 | GL_EXT_x11_sync_object 4 | GL_SYNC_X11_FENCE_EXT 0x90E1 5 | GLsync glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_shadow: -------------------------------------------------------------------------------- 1 | GL_SGIX_shadow 2 | http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow.txt 3 | GL_SGIX_shadow 4 | GL_TEXTURE_COMPARE_SGIX 0x819A 5 | GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B 6 | GL_TEXTURE_LEQUAL_R_SGIX 0x819C 7 | GL_TEXTURE_GEQUAL_R_SGIX 0x819D 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ATI_pixel_format_float: -------------------------------------------------------------------------------- 1 | WGL_ATI_pixel_format_float 2 | http://www.opengl.org/registry/specs/ATI/pixel_format_float.txt 3 | WGL_ATI_pixel_format_float 4 | WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 5 | GL_RGBA_FLOAT_MODE_ATI 0x8820 6 | GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 7 | -------------------------------------------------------------------------------- /data/gl-330/uniform-buffer.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define ATTR_POSITION 0 4 | 5 | uniform transform 6 | { 7 | mat4 MVP; 8 | } Transform; 9 | 10 | layout(location = ATTR_POSITION) in vec3 Position; 11 | 12 | void main() 13 | { 14 | gl_Position = Transform.MVP * vec4(Position, 1.0); 15 | } 16 | -------------------------------------------------------------------------------- /data/gl-400/feedback.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-420/dsa-tess.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATIX_texture_env_route: -------------------------------------------------------------------------------- 1 | GL_ATIX_texture_env_route 2 | http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATIX_texture_env_route.txt 3 | GL_ATIX_texture_env_route 4 | GL_SECONDARY_COLOR_ATIX 0x8747 5 | GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 6 | GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_fragment_shader: -------------------------------------------------------------------------------- 1 | GL_ARB_fragment_shader 2 | http://www.opengl.org/registry/specs/ARB/fragment_shader.txt 3 | GL_ARB_fragment_shader 4 | GL_FRAGMENT_SHADER_ARB 0x8B30 5 | GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 6 | GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_blend_minmax: -------------------------------------------------------------------------------- 1 | GL_EXT_blend_minmax 2 | http://www.opengl.org/registry/specs/EXT/blend_minmax.txt 3 | GL_EXT_blend_minmax 4 | GL_FUNC_ADD_EXT 0x8006 5 | GL_MIN_EXT 0x8007 6 | GL_MAX_EXT 0x8008 7 | GL_BLEND_EQUATION_EXT 0x8009 8 | void glBlendEquationEXT (GLenum mode) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_depth_range_unclamped: -------------------------------------------------------------------------------- 1 | GL_NV_depth_range_unclamped 2 | 3 | GL_NV_depth_range_unclamped 4 | GL_SAMPLE_COUNT_BITS_NV 0x8864 5 | GL_CURRENT_SAMPLE_COUNT_QUERY_NV 0x8865 6 | GL_QUERY_RESULT_NV 0x8866 7 | GL_QUERY_RESULT_AVAILABLE_NV 0x8867 8 | GL_SAMPLE_COUNT_NV 0x8914 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_texture_lod: -------------------------------------------------------------------------------- 1 | GL_SGIS_texture_lod 2 | http://www.opengl.org/registry/specs/SGIS/texture_lod.txt 3 | GL_SGIS_texture_lod 4 | GL_TEXTURE_MIN_LOD_SGIS 0x813A 5 | GL_TEXTURE_MAX_LOD_SGIS 0x813B 6 | GL_TEXTURE_BASE_LEVEL_SGIS 0x813C 7 | GL_TEXTURE_MAX_LEVEL_SGIS 0x813D 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_depth_bounds_test: -------------------------------------------------------------------------------- 1 | GL_EXT_depth_bounds_test 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_depth_bounds_test.txt 3 | GL_EXT_depth_bounds_test 4 | GL_DEPTH_BOUNDS_TEST_EXT 0x8890 5 | GL_DEPTH_BOUNDS_EXT 0x8891 6 | void glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_EXT_swap_control: -------------------------------------------------------------------------------- 1 | GLX_EXT_swap_control 2 | http://www.opengl.org/registry/specs/EXT/swap_control.txt 3 | GLX_EXT_swap_control 4 | GLX_SWAP_INTERVAL_EXT 0x20F1 5 | GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 6 | void glXSwapIntervalEXT (Display* dpy, GLXDrawable drawable, int interval) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATIX_texture_env_route: -------------------------------------------------------------------------------- 1 | GL_ATIX_texture_env_route 2 | http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATIX_texture_env_route.txt 3 | GL_ATIX_texture_env_route 4 | GL_SECONDARY_COLOR_ATIX 0x8747 5 | GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 6 | GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_detail_texture: -------------------------------------------------------------------------------- 1 | GL_SGIS_detail_texture 2 | http://www.opengl.org/registry/specs/SGIS/detail_texture.txt 3 | GL_SGIS_detail_texture 4 | void glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat* points) 5 | void glGetDetailTexFuncSGIS (GLenum target, GLfloat* points) 6 | -------------------------------------------------------------------------------- /data/gl-330/feedback-separated.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-400/feedback-stream.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-410/double.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform dvec4 Diffuse; 9 | 10 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 11 | 12 | void main() 13 | { 14 | Color = vec4(Diffuse); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /data/gl-410/draw-indirect.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform vec4 Diffuse; 9 | 10 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 11 | 12 | void main() 13 | { 14 | Color = Diffuse; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /data/gl-420/feedback-stream.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_SUN_read_video_pixels: -------------------------------------------------------------------------------- 1 | GL_SUN_read_video_pixels 2 | http://wwws.sun.com/software/graphics/opengl/extensions/gl_sun_read_video_pixels.txt 3 | GL_SUN_read_video_pixels 4 | void glReadVideoPixelsSUN (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SUN_get_transparent_index: -------------------------------------------------------------------------------- 1 | GLX_SUN_get_transparent_index 2 | http://www.opengl.org/registry/specs/SUN/get_transparent_index.txt 3 | GLX_SUN_get_transparent_index 4 | Status glXGetTransparentIndexSUN (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_depth_bounds_test: -------------------------------------------------------------------------------- 1 | GL_EXT_depth_bounds_test 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_depth_bounds_test.txt 3 | GL_EXT_depth_bounds_test 4 | GL_DEPTH_BOUNDS_TEST_EXT 0x8890 5 | GL_DEPTH_BOUNDS_EXT 0x8891 6 | void glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) 7 | -------------------------------------------------------------------------------- /data/gl-330/feedback-interleaved.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-330/layer.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | precision highp int; 9 | 10 | layout(location = POSITION) in vec2 Position; 11 | 12 | void main() 13 | { 14 | gl_Position = vec4(Position, 0.0, 1.0); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /data/gl-400/feedback-stream-point.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-400/feedback-stream-strip.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-420/draw-base-instance.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | vec4 Diffuse = vec4(1.0, 0.5, 0.0, 1.0); 6 | 7 | in block 8 | { 9 | vec4 Color; 10 | } In; 11 | 12 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 13 | 14 | void main() 15 | { 16 | Color = In.Color; 17 | } 18 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_texture_shared_exponent: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_shared_exponent 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_shared_exponent.txt 3 | GL_EXT_texture_shared_exponent 4 | GL_RGB9_E5_EXT 0x8C3D 5 | GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E 6 | GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_INTEL_swap_event: -------------------------------------------------------------------------------- 1 | GLX_INTEL_swap_event 2 | http://www.opengl.org/registry/specs/INTEL/swap_event.txt 3 | GLX_INTEL_swap_event 4 | GLX_EXCHANGE_COMPLETE_INTEL 0x8180 5 | GLX_COPY_COMPLETE_INTEL 0x8181 6 | GLX_FLIP_COMPLETE_INTEL 0x8182 7 | GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_separate_specular_color: -------------------------------------------------------------------------------- 1 | GL_EXT_separate_specular_color 2 | http://www.opengl.org/registry/specs/EXT/separate_specular_color.txt 3 | GL_EXT_separate_specular_color 4 | GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 5 | GL_SINGLE_COLOR_EXT 0x81F9 6 | GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_sharpen_texture: -------------------------------------------------------------------------------- 1 | GL_SGIS_sharpen_texture 2 | http://www.opengl.org/registry/specs/SGIS/sharpen_texture.txt 3 | GL_SGIS_sharpen_texture 4 | void glGetSharpenTexFuncSGIS (GLenum target, GLfloat* points) 5 | void glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat* points) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SUN_read_video_pixels: -------------------------------------------------------------------------------- 1 | GL_SUN_read_video_pixels 2 | http://wwws.sun.com/software/graphics/opengl/extensions/gl_sun_read_video_pixels.txt 3 | GL_SUN_read_video_pixels 4 | void glReadVideoPixelsSUN (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) 5 | -------------------------------------------------------------------------------- /data/gl-400/double.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform dvec4 Diffuse; 9 | 10 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 11 | 12 | void main() 13 | { 14 | FragColor = vec4(Diffuse); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_SGIX_swap_barrier: -------------------------------------------------------------------------------- 1 | GLX_SGIX_swap_barrier 2 | http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt 3 | GLX_SGIX_swap_barrier 4 | void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier) 5 | Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_gather: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_gather 2 | http://www.opengl.org/registry/specs/ARB/texture_gather.txt 3 | GL_ARB_texture_gather 4 | GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E 5 | GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F 6 | GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_shared_exponent: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_shared_exponent 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_shared_exponent.txt 3 | GL_EXT_texture_shared_exponent 4 | GL_RGB9_E5_EXT 0x8C3D 5 | GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E 6 | GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_INTEL_texture_scissor: -------------------------------------------------------------------------------- 1 | GL_INTEL_texture_scissor 2 | http://www.opengl.org/registry/specs/INTEL/texture_scissor.txt 3 | GL_INTEL_texture_scissor 4 | void glTexScissorFuncINTEL (GLenum target, GLenum lfunc, GLenum hfunc) 5 | void glTexScissorINTEL (GLenum target, GLclampf tlow, GLclampf thigh) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_texture_coordinate_clamp: -------------------------------------------------------------------------------- 1 | GL_SGIX_texture_coordinate_clamp 2 | http://www.opengl.org/registry/specs/SGIX/texture_coordinate_clamp.txt 3 | GL_SGIX_texture_coordinate_clamp 4 | GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 5 | GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A 6 | GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B 7 | -------------------------------------------------------------------------------- /data/gl-330/instanced-array.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | in block 9 | { 10 | vec4 Color; 11 | } In; 12 | 13 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 14 | 15 | void main() 16 | { 17 | Color = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-330/point.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | in block 9 | { 10 | vec4 Color; 11 | } In; 12 | 13 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 14 | 15 | void main() 16 | { 17 | Color = In.Color; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /data/gl-400/double.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform dmat4 MVP; 9 | 10 | layout(location = POSITION) in vec2 Position; 11 | 12 | void main() 13 | { 14 | gl_Position = vec4(MVP * dvec4(Position, 0.0, 1.0)); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /data/gl-420/feedback-instanced.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define ATTR_POSITION 0 4 | #define ATTR_COLOR 3 5 | #define VERT_COLOR 3 6 | #define FRAG_COLOR 0 7 | 8 | in vec4 VertColor; 9 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 10 | 11 | void main() 12 | { 13 | FragColor = VertColor; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIX_swap_barrier: -------------------------------------------------------------------------------- 1 | GLX_SGIX_swap_barrier 2 | http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt 3 | GLX_SGIX_swap_barrier 4 | void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier) 5 | Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGI_make_current_read: -------------------------------------------------------------------------------- 1 | GLX_SGI_make_current_read 2 | http://www.opengl.org/registry/specs/SGI/make_current_read.txt 3 | GLX_SGI_make_current_read 4 | GLXDrawable glXGetCurrentReadDrawableSGI (void) 5 | Bool glXMakeCurrentReadSGI (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_framebuffer_multisample_blit_scaled: -------------------------------------------------------------------------------- 1 | GL_EXT_framebuffer_multisample_blit_scaled 2 | http://www.opengl.org/registry/specs/EXT/framebuffer_multisample_blit_scaled.txt 3 | GL_EXT_framebuffer_multisample_blit_scaled 4 | GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA 5 | GL_SCALED_RESOLVE_NICEST_EXT 0x90BB 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_packed_depth_stencil: -------------------------------------------------------------------------------- 1 | GL_EXT_packed_depth_stencil 2 | http://www.opengl.org/registry/specs/EXT/packed_depth_stencil.txt 3 | GL_EXT_packed_depth_stencil 4 | GL_DEPTH_STENCIL_EXT 0x84F9 5 | GL_UNSIGNED_INT_24_8_EXT 0x84FA 6 | GL_DEPTH24_STENCIL8_EXT 0x88F0 7 | GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_resample: -------------------------------------------------------------------------------- 1 | GL_SGIX_resample 2 | http://www.opengl.org/registry/specs/SGIX/resample.txt 3 | GL_SGIX_resample 4 | GL_PACK_RESAMPLE_SGIX 0x842E 5 | GL_UNPACK_RESAMPLE_SGIX 0x842F 6 | GL_RESAMPLE_DECIMATE_SGIX 0x8430 7 | GL_RESAMPLE_REPLICATE_SGIX 0x8433 8 | GL_RESAMPLE_ZERO_FILL_SGIX 0x8434 9 | -------------------------------------------------------------------------------- /data/gl-400/tess.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | in block 9 | { 10 | vec4 Color; 11 | } In; 12 | 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_NV_vertex_array_range: -------------------------------------------------------------------------------- 1 | GLX_NV_vertex_array_range 2 | http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt 3 | GLX_NV_vertex_array_range 4 | void * glXAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) 5 | void glXFreeMemoryNV (void *pointer) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/WGL_NV_vertex_array_range: -------------------------------------------------------------------------------- 1 | WGL_NV_vertex_array_range 2 | http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt 3 | WGL_NV_vertex_array_range 4 | void * wglAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) 5 | void wglFreeMemoryNV (void *pointer) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_internalformat_query: -------------------------------------------------------------------------------- 1 | GL_ARB_internalformat_query 2 | http://www.opengl.org/registry/specs/ARB/internalformat_query.txt 3 | GL_ARB_internalformat_query 4 | GL_NUM_SAMPLE_COUNTS 0x9380 5 | void glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_swizzle: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_swizzle 2 | http://www.opengl.org/registry/specs/ARB/texture_swizzle.txt 3 | GL_ARB_texture_swizzle 4 | GL_TEXTURE_SWIZZLE_R 0x8E42 5 | GL_TEXTURE_SWIZZLE_G 0x8E43 6 | GL_TEXTURE_SWIZZLE_B 0x8E44 7 | GL_TEXTURE_SWIZZLE_A 0x8E45 8 | GL_TEXTURE_SWIZZLE_RGBA 0x8E46 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_polygon_offset: -------------------------------------------------------------------------------- 1 | GL_EXT_polygon_offset 2 | http://www.opengl.org/registry/specs/EXT/polygon_offset.txt 3 | GL_EXT_polygon_offset 4 | GL_POLYGON_OFFSET_EXT 0x8037 5 | GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 6 | GL_POLYGON_OFFSET_BIAS_EXT 0x8039 7 | void glPolygonOffsetEXT (GLfloat factor, GLfloat bias) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_primitive_restart: -------------------------------------------------------------------------------- 1 | GL_NV_primitive_restart 2 | http://www.opengl.org/registry/specs/NV/primitive_restart.txt 3 | GL_NV_primitive_restart 4 | GL_PRIMITIVE_RESTART_NV 0x8558 5 | GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 6 | void glPrimitiveRestartIndexNV (GLuint index) 7 | void glPrimitiveRestartNV (void) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texture_env_combine4: -------------------------------------------------------------------------------- 1 | GL_NV_texture_env_combine4 2 | http://www.opengl.org/registry/specs/NV/texture_env_combine4.txt 3 | GL_NV_texture_env_combine4 4 | GL_COMBINE4_NV 0x8503 5 | GL_SOURCE3_RGB_NV 0x8583 6 | GL_SOURCE3_ALPHA_NV 0x858B 7 | GL_OPERAND3_RGB_NV 0x8593 8 | GL_OPERAND3_ALPHA_NV 0x859B 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_texture_rectangle: -------------------------------------------------------------------------------- 1 | GL_NV_texture_rectangle 2 | http://www.opengl.org/registry/specs/NV/texture_rectangle.txt 3 | GL_NV_texture_rectangle 4 | GL_TEXTURE_RECTANGLE_NV 0x84F5 5 | GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 6 | GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 7 | GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_make_current_read: -------------------------------------------------------------------------------- 1 | WGL_EXT_make_current_read 2 | http://www.opengl.org/registry/specs/EXT/wgl_make_current_read.txt 3 | WGL_EXT_make_current_read 4 | HDC wglGetCurrentReadDCEXT (VOID) 5 | BOOL wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) 6 | ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_NV_render_texture_rectangle: -------------------------------------------------------------------------------- 1 | WGL_NV_render_texture_rectangle 2 | http://www.opengl.org/registry/specs/NV/render_texture_rectangle.txt 3 | WGL_NV_render_texture_rectangle 4 | WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 5 | WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 6 | WGL_TEXTURE_RECTANGLE_NV 0x20A2 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_create_context_profile: -------------------------------------------------------------------------------- 1 | GLX_ARB_create_context_profile 2 | http://www.opengl.org/registry/specs/ARB/glx_create_context.txt 3 | GLX_ARB_create_context_profile 4 | GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 5 | GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 6 | GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_NV_vertex_array_range: -------------------------------------------------------------------------------- 1 | GLX_NV_vertex_array_range 2 | http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt 3 | GLX_NV_vertex_array_range 4 | void * glXAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) 5 | void glXFreeMemoryNV (void *pointer) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_create_context_profile: -------------------------------------------------------------------------------- 1 | WGL_ARB_create_context_profile 2 | http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt 3 | WGL_ARB_create_context_profile 4 | WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 5 | WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 6 | WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_NV_vertex_array_range: -------------------------------------------------------------------------------- 1 | WGL_NV_vertex_array_range 2 | http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt 3 | WGL_NV_vertex_array_range 4 | void * wglAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) 5 | void wglFreeMemoryNV (void *pointer) 6 | -------------------------------------------------------------------------------- /data/gl-410/primitive-instancing.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(location = COLOR) flat in vec4 Color; 9 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 10 | 11 | void main() 12 | { 13 | FragColor = Color; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /data/gl-420/memory-barrier-update.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | layout(binding = 0) uniform sampler2D Diffuse; 6 | 7 | in vec4 gl_FragCoord; 8 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 9 | 10 | void main() 11 | { 12 | Color = texelFetch(Diffuse, ivec2(gl_FragCoord.xy), 0) - 1.0 / 255; 13 | } 14 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_copy_buffer: -------------------------------------------------------------------------------- 1 | GL_ARB_copy_buffer 2 | http://www.opengl.org/registry/specs/ARB/copy_buffer.txt 3 | GL_ARB_copy_buffer 4 | GL_COPY_READ_BUFFER 0x8F36 5 | GL_COPY_WRITE_BUFFER 0x8F37 6 | void glCopyBufferSubData (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_depth_texture: -------------------------------------------------------------------------------- 1 | GL_ARB_depth_texture 2 | http://www.opengl.org/registry/specs/ARB/depth_texture.txt 3 | GL_ARB_depth_texture 4 | GL_DEPTH_COMPONENT16_ARB 0x81A5 5 | GL_DEPTH_COMPONENT24_ARB 0x81A6 6 | GL_DEPTH_COMPONENT32_ARB 0x81A7 7 | GL_TEXTURE_DEPTH_SIZE_ARB 0x884A 8 | GL_DEPTH_TEXTURE_MODE_ARB 0x884B 9 | -------------------------------------------------------------------------------- /data/gl-410/tess.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | struct vertex 8 | { 9 | vec4 Color; 10 | }; 11 | 12 | layout(location = 0) in vertex In; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_texture_rectangle: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_rectangle 2 | http://developer.apple.com/opengl/extensions/ext_texture_rectangle.html 3 | GL_EXT_texture_rectangle 4 | GL_TEXTURE_RECTANGLE_EXT 0x84F5 5 | GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 6 | GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 7 | GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_timer_query: -------------------------------------------------------------------------------- 1 | GL_EXT_timer_query 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_timer_query.txt 3 | GL_EXT_timer_query 4 | GL_TIME_ELAPSED_EXT 0x88BF 5 | void glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params) 6 | void glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_pixel_buffer_object: -------------------------------------------------------------------------------- 1 | GL_ARB_pixel_buffer_object 2 | http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt 3 | GL_ARB_pixel_buffer_object 4 | GL_PIXEL_PACK_BUFFER_ARB 0x88EB 5 | GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC 6 | GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED 7 | GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_blend_equation_separate: -------------------------------------------------------------------------------- 1 | GL_EXT_blend_equation_separate 2 | http://www.opengl.org/registry/specs/EXT/blend_equation_separate.txt 3 | GL_EXT_blend_equation_separate 4 | GL_BLEND_EQUATION_RGB_EXT 0x8009 5 | GL_BLEND_EQUATION_ALPHA_EXT 0x883D 6 | void glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_texture_filter4: -------------------------------------------------------------------------------- 1 | GL_SGIS_texture_filter4 2 | http://www.opengl.org/registry/specs/SGIS/texture_filter4.txt 3 | GL_SGIS_texture_filter4 4 | void glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat* weights) 5 | void glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat* weights) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_I3D_swap_frame_lock: -------------------------------------------------------------------------------- 1 | WGL_I3D_swap_frame_lock 2 | http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_lock.txt 3 | WGL_I3D_swap_frame_lock 4 | BOOL wglDisableFrameLockI3D (VOID) 5 | BOOL wglEnableFrameLockI3D (VOID) 6 | BOOL wglIsEnabledFrameLockI3D (BOOL* pFlag) 7 | BOOL wglQueryFrameLockMasterI3D (BOOL* pFlag) 8 | -------------------------------------------------------------------------------- /data/gl-410/binary.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | uniform sampler2D Diffuse; 6 | 7 | in block 8 | { 9 | vec2 Texcoord; 10 | vec3 Color; 11 | } In; 12 | 13 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 14 | 15 | void main() 16 | { 17 | Color = texture(Diffuse, In.Texcoord) * vec4(In.Color, 1.0); 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/draw-indirect.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | #define MATERIAL 0 9 | #define TRANSFORM0 1 10 | 11 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 12 | 13 | void main() 14 | { 15 | Color = vec4(1.0, 0.5, 0.0, 1.0); 16 | } 17 | 18 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_rectangle: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_rectangle 2 | http://developer.apple.com/opengl/extensions/ext_texture_rectangle.html 3 | GL_EXT_texture_rectangle 4 | GL_TEXTURE_RECTANGLE_EXT 0x84F5 5 | GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 6 | GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 7 | GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_swizzle: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_swizzle 2 | http://www.opengl.org/registry/specs/EXT/texture_swizzle.txt 3 | GL_EXT_texture_swizzle 4 | GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 5 | GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 6 | GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 7 | GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 8 | GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 9 | -------------------------------------------------------------------------------- /data/gl-400/primitive-instancing.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | uniform vec4 Diffuse; 6 | 7 | in vec3 GeomColor; 8 | 9 | in block 10 | { 11 | vec3 Color; 12 | } In; 13 | 14 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 15 | 16 | void main() 17 | { 18 | Color = vec4(In.Color, 1.0) * Diffuse; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-420/glsl-block-name.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | struct vertex 8 | { 9 | vec4 Color; 10 | }; 11 | 12 | layout(location = 0) in vertex In; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/glsl-struct-name.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | struct vertex 8 | { 9 | vec4 Color; 10 | }; 11 | 12 | layout(location = 0) in vertex In; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_pixel_buffer_object: -------------------------------------------------------------------------------- 1 | GL_EXT_pixel_buffer_object 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_pixel_buffer_object.txt 3 | GL_EXT_pixel_buffer_object 4 | GL_PIXEL_PACK_BUFFER_EXT 0x88EB 5 | GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC 6 | GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED 7 | GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_compression_rgtc: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_compression_rgtc 2 | http://www.opengl.org/registry/specs/ARB/texture_compression_rgtc.txt 3 | GL_ARB_texture_compression_rgtc 4 | GL_COMPRESSED_RED_RGTC1 0x8DBB 5 | GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 6 | GL_COMPRESSED_RG_RGTC2 0x8DBD 7 | GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_timer_query: -------------------------------------------------------------------------------- 1 | GL_EXT_timer_query 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_timer_query.txt 3 | GL_EXT_timer_query 4 | GL_TIME_ELAPSED_EXT 0x88BF 5 | void glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params) 6 | void glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params) 7 | -------------------------------------------------------------------------------- /data/gl-400/uniform-buffer.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform material 9 | { 10 | vec4 Diffuse; 11 | } Material; 12 | 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = Material.Diffuse; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/glsl-block-location.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | struct vertex 8 | { 9 | vec4 Color; 10 | }; 11 | 12 | layout(location = 0) in vertex In; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/glsl-struct-location.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | struct vertex 8 | { 9 | vec4 Color; 10 | }; 11 | 12 | layout(location = 0) in vertex In; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 14 | 15 | void main() 16 | { 17 | FragColor = In.Color; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/image-store-read.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define FRAG_COLOR 0 4 | #define DIFFUSE 0 5 | 6 | in vec4 gl_FragCoord; 7 | layout(binding = 0, rgba8) coherent uniform image2D Diffuse; 8 | 9 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 10 | 11 | void main() 12 | { 13 | Color = imageLoad(Diffuse, ivec2(gl_FragCoord.xy)); 14 | } 15 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_packed_pixels: -------------------------------------------------------------------------------- 1 | GL_EXT_packed_pixels 2 | http://www.opengl.org/registry/specs/EXT/packed_pixels.txt 3 | GL_EXT_packed_pixels 4 | GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 5 | GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 6 | GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 7 | GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 8 | GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_pixel_buffer_object: -------------------------------------------------------------------------------- 1 | GL_EXT_pixel_buffer_object 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_pixel_buffer_object.txt 3 | GL_EXT_pixel_buffer_object 4 | GL_PIXEL_PACK_BUFFER_EXT 0x88EB 5 | GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC 6 | GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED 7 | GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_OML_resample: -------------------------------------------------------------------------------- 1 | GL_OML_resample 2 | http://www.opengl.org/registry/specs/OML/resample.txt 3 | GL_OML_resample 4 | GL_PACK_RESAMPLE_OML 0x8984 5 | GL_UNPACK_RESAMPLE_OML 0x8985 6 | GL_RESAMPLE_REPLICATE_OML 0x8986 7 | GL_RESAMPLE_ZERO_FILL_OML 0x8987 8 | GL_RESAMPLE_AVERAGE_OML 0x8988 9 | GL_RESAMPLE_DECIMATE_OML 0x8989 10 | -------------------------------------------------------------------------------- /data/gl-330/flat-shading.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define INSTANCE 7 7 | #define FRAG_COLOR 0 8 | 9 | in block 10 | { 11 | flat vec4 Color; 12 | } In; 13 | 14 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 15 | 16 | void main() 17 | { 18 | Color = In.Color; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-330/smooth-shading.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | precision highp float; 9 | 10 | in block 11 | { 12 | vec4 Color; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = In.Color; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /data/gl-410/uniform-buffer.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define ATTR_POSITION 0 4 | #define ATTR_COLOR 3 5 | #define ATTR_TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform material 9 | { 10 | vec4 Diffuse; 11 | } Material; 12 | 13 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 14 | 15 | void main() 16 | { 17 | Color = Material.Diffuse; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/memory-barrier-blit.vert: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | out gl_PerVertex 4 | { 5 | vec4 gl_Position; 6 | }; 7 | 8 | const int VertexCount = 3; 9 | const vec2 Position[VertexCount] = vec2[]( 10 | vec2(-1.0f,-1.0f), 11 | vec2( 3.0f,-1.0f), 12 | vec2(-1.0f, 3.0f)); 13 | 14 | void main() 15 | { 16 | gl_Position = vec4(Position[gl_VertexID], 0.0, 1.0); 17 | } -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_geometry_program4: -------------------------------------------------------------------------------- 1 | GL_NV_geometry_program4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_program4.txt 3 | GL_NV_gpu_program4 4 | GL_GEOMETRY_PROGRAM_NV 0x8C26 5 | GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 6 | GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 7 | void glProgramVertexLimitNV (GLenum target, GLint limit) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_compiled_vertex_array: -------------------------------------------------------------------------------- 1 | GL_EXT_compiled_vertex_array 2 | http://www.opengl.org/registry/specs/EXT/compiled_vertex_array.txt 3 | GL_EXT_compiled_vertex_array 4 | GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 5 | GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 6 | void glLockArraysEXT (GLint first, GLsizei count) 7 | void glUnlockArraysEXT (void) 8 | -------------------------------------------------------------------------------- /data/gl-330/instanced.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | precision highp float; 6 | precision highp int; 7 | 8 | uniform vec4 Diffuse; 9 | 10 | in block 11 | { 12 | float Instance; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = Diffuse * In.Instance * 0.25; 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-330/smooth-shading-geom.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | precision highp float; 9 | 10 | in block 11 | { 12 | vec4 Color; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = In.Color; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /data/gl-400/feedback.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = POSITION) in vec4 Position; 8 | layout(location = COLOR) in vec4 Color; 9 | 10 | out block 11 | { 12 | vec4 Color; 13 | } Out; 14 | 15 | void main() 16 | { 17 | gl_Position = Position; 18 | Out.Color = Color; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-420/image-store-write.vert: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | const int VertexCount = 3; 4 | const vec2 Position[VertexCount] = vec2[]( 5 | vec2(-1.0f,-1.0f), 6 | vec2( 3.0f,-1.0f), 7 | vec2(-1.0f, 3.0f)); 8 | 9 | out gl_PerVertex 10 | { 11 | vec4 gl_Position; 12 | }; 13 | 14 | void main() 15 | { 16 | gl_Position = vec4(Position[gl_VertexID], 0.0, 1.0); 17 | } 18 | -------------------------------------------------------------------------------- /data/gl-420/instanced.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | precision highp float; 6 | precision highp int; 7 | 8 | uniform vec4 Diffuse; 9 | 10 | in block 11 | { 12 | float Instance; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = Diffuse * In.Instance * 0.25; 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/memory-barrier-update.vert: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | const int VertexCount = 3; 4 | const vec2 Position[VertexCount] = vec2[]( 5 | vec2(-1.0f,-1.0f), 6 | vec2( 3.0f,-1.0f), 7 | vec2(-1.0f, 3.0f)); 8 | 9 | out gl_PerVertex 10 | { 11 | vec4 gl_Position; 12 | }; 13 | 14 | void main() 15 | { 16 | gl_Position = vec4(Position[gl_VertexID], 0.0, 1.0); 17 | } -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_provoking_vertex: -------------------------------------------------------------------------------- 1 | GL_ARB_provoking_vertex 2 | http://www.opengl.org/registry/specs/ARB/provoking_vertex.txt 3 | GL_ARB_provoking_vertex 4 | GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 5 | GL_FIRST_VERTEX_CONVENTION 0x8E4D 6 | GL_LAST_VERTEX_CONVENTION 0x8E4E 7 | GL_PROVOKING_VERTEX 0x8E4F 8 | void glProvokingVertex (GLenum mode) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_point_sprite: -------------------------------------------------------------------------------- 1 | GL_NV_point_sprite 2 | http://www.opengl.org/registry/specs/NV/point_sprite.txt 3 | GL_NV_point_sprite 4 | GL_POINT_SPRITE_NV 0x8861 5 | GL_COORD_REPLACE_NV 0x8862 6 | GL_POINT_SPRITE_R_MODE_NV 0x8863 7 | void glPointParameteriNV (GLenum pname, GLint param) 8 | void glPointParameterivNV (GLenum pname, const GLint* params) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_texture_scale_bias: -------------------------------------------------------------------------------- 1 | GL_SGIX_texture_scale_bias 2 | http://www.opengl.org/registry/specs/SGIX/texture_scale_bias.txt 3 | GL_SGIX_texture_scale_bias 4 | GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 5 | GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A 6 | GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B 7 | GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C 8 | -------------------------------------------------------------------------------- /data/gl-400/feedback-stream.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = POSITION) in vec4 Position; 8 | layout(location = COLOR) in vec4 Color; 9 | 10 | out block 11 | { 12 | vec4 Color; 13 | } Out; 14 | 15 | void main() 16 | { 17 | gl_Position = Position; 18 | Out.Color = Color; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_color_subtable: -------------------------------------------------------------------------------- 1 | GL_EXT_color_subtable 2 | http://www.opengl.org/registry/specs/EXT/color_subtable.txt 3 | GL_EXT_color_subtable 4 | void glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void* data) 5 | void glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_compression_s3tc: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_compression_s3tc 2 | http://www.opengl.org/registry/specs/EXT/texture_compression_s3tc.txt 3 | GL_EXT_texture_compression_s3tc 4 | GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 5 | GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 6 | GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 7 | GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_geometry_program4: -------------------------------------------------------------------------------- 1 | GL_NV_geometry_program4 2 | http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_program4.txt 3 | GL_NV_gpu_program4 4 | GL_GEOMETRY_PROGRAM_NV 0x8C26 5 | GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 6 | GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 7 | void glProgramVertexLimitNV (GLenum target, GLint limit) 8 | -------------------------------------------------------------------------------- /data/gl-330/feedback-interleaved.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = POSITION) in vec4 Position; 8 | layout(location = COLOR) in vec4 Color; 9 | 10 | out block 11 | { 12 | vec4 Color; 13 | } Out; 14 | 15 | void main() 16 | { 17 | gl_Position = Position; 18 | Out.Color = Color; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-330/feedback-separated.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = POSITION) in vec4 Position; 8 | layout(location = COLOR) in vec4 Color; 9 | 10 | out block 11 | { 12 | vec4 Color; 13 | } Out; 14 | 15 | void main() 16 | { 17 | gl_Position = Position; 18 | Out.Color = Color; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-410/draw-indirect.vert: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform mat4 MVP; 9 | 10 | layout(location = POSITION) in vec4 Position; 11 | 12 | out gl_PerVertex 13 | { 14 | vec4 gl_Position; 15 | }; 16 | 17 | void main() 18 | { 19 | gl_Position = MVP * Position; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_draw_indirect: -------------------------------------------------------------------------------- 1 | GL_ARB_draw_indirect 2 | http://www.opengl.org/registry/specs/ARB/draw_indirect.txt 3 | GL_ARB_draw_indirect 4 | GL_DRAW_INDIRECT_BUFFER 0x8F3F 5 | GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 6 | void glDrawArraysIndirect (GLenum mode, const void* indirect) 7 | void glDrawElementsIndirect (GLenum mode, GLenum type, const void* indirect) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_make_current_read: -------------------------------------------------------------------------------- 1 | WGL_ARB_make_current_read 2 | http://www.opengl.org/registry/specs/ARB/wgl_make_current_read.txt 3 | WGL_ARB_make_current_read 4 | HDC wglGetCurrentReadDCARB (VOID) 5 | BOOL wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) 6 | ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 7 | ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 8 | -------------------------------------------------------------------------------- /data/gl-400/feedback-stream-strip.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = POSITION) in vec4 Position; 8 | layout(location = COLOR) in vec4 Color; 9 | 10 | out block 11 | { 12 | vec4 Color; 13 | } Out; 14 | 15 | void main() 16 | { 17 | gl_Position = Position; 18 | Out.Color = Color; 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-400/uniform-buffer.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform transform 9 | { 10 | mat4 MVP; 11 | } Transform[2]; 12 | 13 | layout(location = POSITION) in vec2 Position; 14 | 15 | void main() 16 | { 17 | gl_Position = Transform[gl_InstanceID].MVP * vec4(Position, 0.0, 1.0); 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/transform-instanced.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define ATTR_POSITION 0 4 | #define VERT_POSITION 0 5 | #define VERT_COLOR 3 6 | 7 | uniform mat4 MVP; 8 | 9 | layout(location = ATTR_POSITION) in vec4 Position; 10 | out vec4 Color; 11 | 12 | void main() 13 | { 14 | gl_Position = MVP * Position; 15 | Color = vec4(clamp(vec2(Position), 0.0, 1.0), 0.0, 1.0); 16 | } 17 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_draw_instanced: -------------------------------------------------------------------------------- 1 | GL_EXT_draw_instanced 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_draw_instanced.txt 3 | GL_EXT_draw_instanced 4 | void glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount) 5 | void glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_draw_range_elements: -------------------------------------------------------------------------------- 1 | GL_EXT_draw_range_elements 2 | http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt 3 | GL_EXT_draw_range_elements 4 | GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 5 | GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 6 | void glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_fragment_program2: -------------------------------------------------------------------------------- 1 | GL_NV_fragment_program2 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program2.txt 3 | GL_NV_fragment_program2 4 | GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 5 | GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 6 | GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 7 | GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 8 | GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_cl_event: -------------------------------------------------------------------------------- 1 | GL_ARB_cl_event 2 | http://www.opengl.org/registry/specs/ARB/cl_event.txt 3 | GL_ARB_cl_event 4 | GL_SYNC_CL_EVENT_ARB 0x8240 5 | GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 6 | GLsync glCreateSyncFromCLeventARB (cl_context context, cl_event event, GLbitfield flags) 7 | typedef struct _cl_context *cl_context 8 | typedef struct _cl_event *cl_event 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_copy_image: -------------------------------------------------------------------------------- 1 | GL_NV_copy_image 2 | http://www.opengl.org/registry/specs/NV/copy_image.txt 3 | GL_NV_copy_image 4 | void glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) 5 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_sprite: -------------------------------------------------------------------------------- 1 | GL_SGIX_sprite 2 | http://www.opengl.org/registry/specs/SGIX/sprite.txt 3 | GL_SGIX_sprite 4 | void glSpriteParameterfSGIX (GLenum pname, GLfloat param) 5 | void glSpriteParameterfvSGIX (GLenum pname, GLfloat* params) 6 | void glSpriteParameteriSGIX (GLenum pname, GLint param) 7 | void glSpriteParameterivSGIX (GLenum pname, GLint* params) 8 | -------------------------------------------------------------------------------- /data/gl-330/texture-format.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-400/tess-block.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | 6 | uniform mat4 MVP; 7 | 8 | layout(location = POSITION) in vec2 Position; 9 | layout(location = COLOR) in vec4 Color; 10 | 11 | out block 12 | { 13 | vec4 Color; 14 | } Out; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * vec4(Position, 0.0, 1.0); 19 | Out.Color = Color; 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/blend-texture-2d.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_draw_instanced: -------------------------------------------------------------------------------- 1 | GL_EXT_draw_instanced 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_draw_instanced.txt 3 | GL_EXT_draw_instanced 4 | void glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount) 5 | void glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_provoking_vertex: -------------------------------------------------------------------------------- 1 | GL_EXT_provoking_vertex 2 | http://www.opengl.org/registry/specs/EXT/provoking_vertex.txt 3 | GL_EXT_provoking_vertex 4 | GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C 5 | GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 6 | GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 7 | GL_PROVOKING_VERTEX_EXT 0x8E4F 8 | void glProvokingVertexEXT (GLenum mode) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_fragment_program2: -------------------------------------------------------------------------------- 1 | GL_NV_fragment_program2 2 | http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program2.txt 3 | GL_NV_fragment_program2 4 | GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 5 | GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 6 | GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 7 | GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 8 | GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_register_combiners2: -------------------------------------------------------------------------------- 1 | GL_NV_register_combiners2 2 | http://www.opengl.org/registry/specs/NV/register_combiners2.txt 3 | GL_NV_register_combiners2 4 | GL_PER_STAGE_CONSTANTS_NV 0x8535 5 | void glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat* params) 6 | void glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat* params) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_3DL_stereo_control: -------------------------------------------------------------------------------- 1 | WGL_3DL_stereo_control 2 | http://www.opengl.org/registry/specs/3DL/stereo_control.txt 3 | WGL_3DL_stereo_control 4 | WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 5 | WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 6 | WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 7 | WGL_STEREO_POLARITY_INVERT_3DL 0x2058 8 | BOOL wglSetStereoEmitterState3DL (HDC hDC, UINT uState) 9 | -------------------------------------------------------------------------------- /data/gl-400/smooth-shading-geom.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define ATTR_POSITION 0 4 | #define ATTR_COLOR 3 5 | #define ATTR_TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | precision highp float; 9 | 10 | in block 11 | { 12 | vec4 Color; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 16 | 17 | void main() 18 | { 19 | FragColor = In.Color; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /data/gl-400/transform.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | uniform mat4 MVP; 8 | 9 | layout(location = POSITION) in vec4 Position; 10 | 11 | out block 12 | { 13 | vec4 Color; 14 | } Out; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * Position; 19 | Out.Color = vec4(clamp(vec2(Position), 0.0, 1.0), 0.0, 1.0); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/test-depth-clamp-separate.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | vec4 Diffuse = vec4(1.0, 0.5, 0.0, 1.0); 6 | 7 | in block 8 | { 9 | float Instance; 10 | } In; 11 | 12 | layout (depth_greater) out float gl_FragDepth; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 14 | 15 | void main() 16 | { 17 | Color = Diffuse * In.Instance * 0.25; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/test-depth-conservative.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | vec4 Diffuse = vec4(1.0, 0.5, 0.0, 1.0); 6 | 7 | in block 8 | { 9 | float Instance; 10 | } In; 11 | 12 | layout (depth_greater) out float gl_FragDepth; 13 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 14 | 15 | void main() 16 | { 17 | Color = Diffuse * In.Instance * 0.25; 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/viewport-amd.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | precision highp int; 6 | 7 | uniform sampler2DArray Diffuse; 8 | 9 | in block 10 | { 11 | vec2 Texcoord; 12 | flat int Instance; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, vec3(In.Texcoord, In.Instance)); 20 | } 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_texture_compression_rgtc: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_compression_rgtc 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_rgtc.txt 3 | GL_EXT_texture_compression_rgtc 4 | GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB 5 | GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC 6 | GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD 7 | GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_NV_present_video: -------------------------------------------------------------------------------- 1 | GLX_NV_present_video 2 | http://www.opengl.org/registry/specs/NV/present_video.txt 3 | GLX_NV_present_video 4 | GLX_NUM_VIDEO_SLOTS_NV 0x20F0 5 | int glXBindVideoDeviceNV (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list) 6 | unsigned int* glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_cull_vertex: -------------------------------------------------------------------------------- 1 | GL_EXT_cull_vertex 2 | http://www.opengl.org/registry/specs/EXT/cull_vertex.txt 3 | GL_EXT_cull_vertex 4 | GL_CULL_VERTEX_EXT 0x81AA 5 | GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB 6 | GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC 7 | void glCullParameterdvEXT (GLenum pname, GLdouble* params) 8 | void glCullParameterfvEXT (GLenum pname, GLfloat* params) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_draw_range_elements: -------------------------------------------------------------------------------- 1 | GL_EXT_draw_range_elements 2 | http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt 3 | GL_EXT_draw_range_elements 4 | GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 5 | GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 6 | void glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) 7 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_multi_draw_arrays: -------------------------------------------------------------------------------- 1 | GL_EXT_multi_draw_arrays 2 | http://www.opengl.org/registry/specs/EXT/multi_draw_arrays.txt 3 | GL_EXT_multi_draw_arrays 4 | void glMultiDrawArraysEXT (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount) 5 | void glMultiDrawElementsEXT (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIX_async_pixel: -------------------------------------------------------------------------------- 1 | GL_SGIX_async_pixel 2 | http://www.opengl.org/registry/specs/SGIX/async_pixel.txt 3 | GL_SGIX_async_pixel 4 | GL_ASYNC_TEX_IMAGE_SGIX 0x835C 5 | GL_ASYNC_DRAW_PIXELS_SGIX 0x835D 6 | GL_ASYNC_READ_PIXELS_SGIX 0x835E 7 | GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F 8 | GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 9 | GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 10 | -------------------------------------------------------------------------------- /data/gl-330/multisample-explicit-texture.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-330/texture-format-normalized.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-410/layer.vert: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define COMMON 0 7 | #define FRAG_COLOR 0 8 | 9 | precision highp int; 10 | 11 | layout(location = POSITION) in vec2 Position; 12 | 13 | out gl_PerVertex 14 | { 15 | vec4 gl_Position; 16 | }; 17 | 18 | void main() 19 | { 20 | gl_Position = vec4(Position, 0.0, 1.0); 21 | } 22 | -------------------------------------------------------------------------------- /data/gl-420/feedback-instanced.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define ATTR_POSITION 0 4 | #define ATTR_COLOR 3 5 | #define VERT_COLOR 3 6 | #define FRAG_COLOR 0 7 | 8 | layout(location = ATTR_POSITION) in vec4 Position; 9 | layout(location = ATTR_COLOR) in vec4 Color; 10 | 11 | out vec4 VertColor; 12 | 13 | void main() 14 | { 15 | gl_Position = Position; 16 | VertColor = Color; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-420/layer.vert: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define COMMON 0 7 | #define FRAG_COLOR 0 8 | 9 | precision highp int; 10 | 11 | layout(location = POSITION) in vec2 Position; 12 | 13 | out gl_PerVertex 14 | { 15 | vec4 gl_Position; 16 | }; 17 | 18 | void main() 19 | { 20 | gl_Position = vec4(Position, 0.0, 1.0); 21 | } 22 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_ATIX_point_sprites: -------------------------------------------------------------------------------- 1 | GL_ATIX_point_sprites 2 | http://www.ati.com/developer/atiopengl.pdf 3 | GL_ATIX_point_sprites 4 | GL_TEXTURE_POINT_MODE_ATIX 0x60B0 5 | GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1 6 | GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2 7 | GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3 8 | GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4 9 | GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_ARB_create_context_robustness: -------------------------------------------------------------------------------- 1 | GLX_ARB_create_context_robustness 2 | http://www.opengl.org/registry/specs/ARB/glx_create_context_robustness.txt 3 | GLX_ARB_create_context_robustness 4 | GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 5 | GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 6 | GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 7 | GLX_NO_RESET_NOTIFICATION_ARB 0x8261 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SGIS_color_range: -------------------------------------------------------------------------------- 1 | GLX_SGIS_color_range 2 | http://www.opengl.org/registry/specs/SGIS/color_range.txt 3 | GLX_SGIS_color_range 4 | GLX_MAX_GREEN_SGIS 0 5 | GLX_MIN_RED_SGIS 0 6 | GLX_MIN_BLUE_SGIS 0 7 | GLX_MAX_RED_SGIS 0 8 | GLX_MAX_ALPHA_SGIS 0 9 | GLX_MIN_GREEN_SGIS 0 10 | GLX_MIN_ALPHA_SGIS 0 11 | GLX_EXTENDED_RANGE_SGIS 0 12 | GLX_MAX_BLUE_SGIS 0 13 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_compression_bptc: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_compression_bptc 2 | http://www.opengl.org/registry/specs/ARB/texture_compression_bptc.txt 3 | GL_ARB_texture_compression_bptc 4 | GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C 5 | GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D 6 | GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E 7 | GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_timer_query: -------------------------------------------------------------------------------- 1 | GL_ARB_timer_query 2 | http://www.opengl.org/registry/specs/ARB/timer_query.txt 3 | GL_ARB_timer_query 4 | GL_TIME_ELAPSED 0x88BF 5 | GL_TIMESTAMP 0x8E28 6 | void glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64* params) 7 | void glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64* params) 8 | void glQueryCounter (GLuint id, GLenum target) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_compression_rgtc: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_compression_rgtc 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_rgtc.txt 3 | GL_EXT_texture_compression_rgtc 4 | GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB 5 | GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC 6 | GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD 7 | GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_ARB_create_context_robustness: -------------------------------------------------------------------------------- 1 | WGL_ARB_create_context_robustness 2 | http://www.opengl.org/registry/specs/ARB/wgl_create_context_robustness.txt 3 | WGL_ARB_create_context_robustness 4 | WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 5 | WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 6 | WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 7 | WGL_NO_RESET_NOTIFICATION_ARB 0x8261 8 | -------------------------------------------------------------------------------- /external/gli-0.3.1.0/util/FindGLI.cmake: -------------------------------------------------------------------------------- 1 | if(NOT GLI_PACKAGE_DIR) 2 | message("ERROR: GLI_PACKAGE_DIR requires to be set") 3 | endif(NOT GLI_PACKAGE_DIR) 4 | 5 | set(GLI_INCLUDE_DIR ${GLI_PACKAGE_DIR}) 6 | set(GLI_LIBRARY_DIR ) 7 | 8 | include_directories(${GLI_INCLUDE_DIR}) 9 | 10 | if(GLI_PACKAGE_DIR AND GLI_INCLUDE_DIR) 11 | set(GLI_FOUND "YES") 12 | endif(GLI_PACKAGE_DIR AND GLI_INCLUDE_DIR) 13 | -------------------------------------------------------------------------------- /external/glm-0.9.3.0/util/FindGLM.cmake: -------------------------------------------------------------------------------- 1 | if(NOT GLM_PACKAGE_DIR) 2 | message("ERROR: GLM_PACKAGE_DIR requires to be set") 3 | endif(NOT GLM_PACKAGE_DIR) 4 | 5 | set(GLM_INCLUDE_DIR ${GLM_PACKAGE_DIR}) 6 | set(GLM_LIBRARY_DIR ) 7 | 8 | include_directories(${GLM_INCLUDE_DIR}) 9 | 10 | if(GLM_PACKAGE_DIR AND GLM_INCLUDE_DIR) 11 | set(GLM_FOUND "YES") 12 | endif(GLM_PACKAGE_DIR AND GLM_INCLUDE_DIR) 13 | -------------------------------------------------------------------------------- /data/gl-330/multisample-explicit-texture-nv.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-330/point-sprite.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec4 Color; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = In.Color * texture(Diffuse, gl_PointCoord); 20 | } 21 | 22 | -------------------------------------------------------------------------------- /data/gl-330/texture-format-int.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform isampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = vec4(texture(Diffuse, In.Texcoord)) / 128.f; 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-330/transform-separated.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | uniform mat4 MVP; 8 | 9 | layout(location = POSITION) in vec4 Position; 10 | 11 | out block 12 | { 13 | vec4 Color; 14 | } Out; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * Position; 19 | Out.Color = vec4(clamp(vec2(Position), 0.0, 1.0), 0.0, 1.0); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-400/transform-stream.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | uniform mat4 MVP; 8 | 9 | layout(location = POSITION) in vec4 Position; 10 | 11 | out block 12 | { 13 | vec4 Color; 14 | } Out; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * Position; 19 | Out.Color = vec4(clamp(vec2(Position), 0.0, 1.0), 0.0, 1.0); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-410/uniform-buffer.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define ATTR_POSITION 0 4 | #define ATTR_COLOR 3 5 | #define ATTR_TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform transform 9 | { 10 | mat4 MVP; 11 | } Transform[2]; 12 | 13 | layout(location = ATTR_POSITION) in vec2 Position; 14 | 15 | void main() 16 | { 17 | gl_Position = Transform[gl_InstanceID].MVP * vec4(Position, 0.0, 1.0); 18 | } 19 | -------------------------------------------------------------------------------- /data/gl-420/interop.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord.st); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/texture-2d.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord.st); 20 | } 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_NV_tessellation_program5: -------------------------------------------------------------------------------- 1 | GL_NV_tessellation_program5 2 | http://www.opengl.org/registry/specs/NV/tessellation_program5.txt 3 | GL_NV_gpu_program5 4 | GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 5 | GL_TESS_CONTROL_PROGRAM_NV 0x891E 6 | GL_TESS_EVALUATION_PROGRAM_NV 0x891F 7 | GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 8 | GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ATIX_point_sprites: -------------------------------------------------------------------------------- 1 | GL_ATIX_point_sprites 2 | http://www.ati.com/developer/atiopengl.pdf 3 | GL_ATIX_point_sprites 4 | GL_TEXTURE_POINT_MODE_ATIX 0x60B0 5 | GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1 6 | GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2 7 | GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3 8 | GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4 9 | GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_separate_shader_objects: -------------------------------------------------------------------------------- 1 | GL_EXT_separate_shader_objects 2 | http://www.opengl.org/registry/specs/EXT/separate_shader_objects.txt 3 | GL_EXT_separate_shader_objects 4 | GL_ACTIVE_PROGRAM_EXT 0x8B8D 5 | void glActiveProgramEXT (GLuint program) 6 | GLuint glCreateShaderProgramEXT (GLenum type, const char* string) 7 | void glUseShaderProgramEXT (GLenum type, GLuint program) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_I3D_swap_frame_usage: -------------------------------------------------------------------------------- 1 | WGL_I3D_swap_frame_usage 2 | http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_usage.txt 3 | WGL_I3D_swap_frame_usage 4 | BOOL wglBeginFrameTrackingI3D (void) 5 | BOOL wglEndFrameTrackingI3D (void) 6 | BOOL wglGetFrameUsageI3D (float* pUsage) 7 | BOOL wglQueryFrameTrackingI3D (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage) 8 | -------------------------------------------------------------------------------- /data/gl-330/transform-interleaved.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | uniform mat4 MVP; 8 | 9 | layout(location = POSITION) in vec4 Position; 10 | 11 | out block 12 | { 13 | vec4 Color; 14 | } Out; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * Position; 19 | Out.Color = vec4(clamp(vec2(Position), 0.0, 1.0), 0.0, 1.0); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/buffer-barrier.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord.st); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/fbo-srgb-decode.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/instanced-image-2d.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GLX_SUN_video_resize: -------------------------------------------------------------------------------- 1 | GLX_SUN_video_resize 2 | http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt 3 | GLX_SUN_video_resize 4 | GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD 5 | GLX_VIDEO_RESIZE_SUN 0x8171 6 | int glXVideoResizeSUN (Display* display, GLXDrawable window, float factor) 7 | int glXGetVideoResizeSUN (Display* display, GLXDrawable window, float* factor) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_AMD_multi_draw_indirect: -------------------------------------------------------------------------------- 1 | GL_AMD_multi_draw_indirect 2 | http://www.opengl.org/registry/specs/AMD/multi_draw_indirect.txt 3 | GL_AMD_multi_draw_indirect 4 | void glMultiDrawArraysIndirectAMD (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride) 5 | void glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void* indirect, GLsizei primcount, GLsizei stride) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_transform_feedback_instanced: -------------------------------------------------------------------------------- 1 | GL_ARB_transform_feedback_instanced 2 | http://www.opengl.org/registry/specs/ARB/transform_feedback_instanced.txt 3 | GL_ARB_transform_feedback_instanced 4 | void glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei primcount) 5 | void glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei primcount) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_tessellation_program5: -------------------------------------------------------------------------------- 1 | GL_NV_tessellation_program5 2 | http://www.opengl.org/registry/specs/NV/tessellation_program5.txt 3 | GL_NV_gpu_program5 4 | GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 5 | GL_TESS_CONTROL_PROGRAM_NV 0x891E 6 | GL_TESS_EVALUATION_PROGRAM_NV 0x891F 7 | GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 8 | GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 9 | -------------------------------------------------------------------------------- /data/gl-330/texture-rect.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define INSTANCE 7 7 | #define FRAG_COLOR 0 8 | 9 | uniform sampler2DRect Diffuse; 10 | 11 | in block 12 | { 13 | vec2 Texcoord; 14 | } In; 15 | 16 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 17 | 18 | void main() 19 | { 20 | Color = texture(Diffuse, In.Texcoord); 21 | } 22 | -------------------------------------------------------------------------------- /data/gl-400/feedback-stream-point.vert: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | layout(location = POSITION) in vec4 Position; 8 | layout(location = COLOR) in vec4 Color; 9 | 10 | out block 11 | { 12 | vec4 Color; 13 | } Out; 14 | 15 | void main() 16 | { 17 | /*gl_PointSize = 64.f;*/ 18 | gl_Position = Position; 19 | Out.Color = Color; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /data/gl-420/buffer-pinned-amd.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord.st); 20 | } 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_gpu_program_parameters: -------------------------------------------------------------------------------- 1 | GL_EXT_gpu_program_parameters 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_gpu_program_parameters.txt 3 | GL_EXT_gpu_program_parameters 4 | void glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) 5 | void glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/core/GL_EXT_texture_compression_latc: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_compression_latc 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_latc.txt 3 | GL_EXT_texture_compression_latc 4 | GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 5 | GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 6 | GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 7 | GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GLX_SUN_video_resize: -------------------------------------------------------------------------------- 1 | GLX_SUN_video_resize 2 | http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt 3 | GLX_SUN_video_resize 4 | GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD 5 | GLX_VIDEO_RESIZE_SUN 0x8171 6 | int glXVideoResizeSUN (Display* display, GLXDrawable window, float factor) 7 | int glXGetVideoResizeSUN (Display* display, GLXDrawable window, float* factor) 8 | -------------------------------------------------------------------------------- /data/gl-330/texture-cube.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define REFLECT 6 7 | #define FRAG_COLOR 0 8 | 9 | uniform samplerCube Environment; 10 | 11 | in block 12 | { 13 | vec3 Reflect; 14 | } In; 15 | 16 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 17 | 18 | void main() 19 | { 20 | Color = texture(Environment, In.Reflect); 21 | } 22 | -------------------------------------------------------------------------------- /data/gl-410/multisample-amd.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | layout(location = TEXCOORD) in vec2 Texcoord; 11 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 12 | 13 | void main() 14 | { 15 | FragColor = texture(Diffuse, interpolateAtSample(Texcoord, gl_SampleID)); 16 | } 17 | -------------------------------------------------------------------------------- /data/gl-410/multisample-gtc.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | layout(location = TEXCOORD) in vec2 Texcoord; 11 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 12 | 13 | void main() 14 | { 15 | FragColor = texture(Diffuse, interpolateAtSample(Texcoord, gl_SampleID)); 16 | } 17 | -------------------------------------------------------------------------------- /data/gl-420/layer-amd.vert: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | precision highp int; 4 | 5 | out block 6 | { 7 | flat int Instance; 8 | } Out; 9 | 10 | out gl_PerVertex 11 | { 12 | vec4 gl_Position; 13 | }; 14 | 15 | void main() 16 | { 17 | Out.Instance = gl_InstanceID; 18 | 19 | gl_Position = vec4(mix(vec2(-1.0), vec2(3.0), bvec2(gl_VertexID == 1, gl_VertexID == 2)), 0.0, 1.0); 20 | gl_Layer = gl_InstanceID; 21 | } 22 | -------------------------------------------------------------------------------- /data/gl-420/multisample-gtc.frag: -------------------------------------------------------------------------------- 1 | #version 410 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2D Diffuse; 9 | 10 | layout(location = TEXCOORD) in vec2 Texcoord; 11 | layout(location = FRAG_COLOR, index = 0) out vec4 FragColor; 12 | 13 | void main() 14 | { 15 | FragColor = texture(Diffuse, interpolateAtSample(Texcoord, gl_SampleID)); 16 | } 17 | -------------------------------------------------------------------------------- /data/gl-420/texture-cube.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define REFLECT 6 7 | #define FRAG_COLOR 0 8 | 9 | uniform samplerCube Environment; 10 | 11 | in block 12 | { 13 | vec3 Reflect; 14 | } In; 15 | 16 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 17 | 18 | void main() 19 | { 20 | Color = texture(Environment, In.Reflect); 21 | } 22 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_color_buffer_float: -------------------------------------------------------------------------------- 1 | GL_ARB_color_buffer_float 2 | http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt 3 | GL_ARB_color_buffer_float 4 | GL_RGBA_FLOAT_MODE_ARB 0x8820 5 | GL_CLAMP_VERTEX_COLOR_ARB 0x891A 6 | GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B 7 | GL_CLAMP_READ_COLOR_ARB 0x891C 8 | GL_FIXED_ONLY_ARB 0x891D 9 | void glClampColorARB (GLenum target, GLenum clamp) 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_gpu_program_parameters: -------------------------------------------------------------------------------- 1 | GL_EXT_gpu_program_parameters 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_gpu_program_parameters.txt 3 | GL_EXT_gpu_program_parameters 4 | void glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) 5 | void glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) 6 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_NV_copy_image: -------------------------------------------------------------------------------- 1 | WGL_NV_copy_image 2 | http://www.opengl.org/registry/specs/NV/copy_image.txt 3 | WGL_NV_copy_image 4 | BOOL wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) 5 | -------------------------------------------------------------------------------- /data/gl-330/draw-without-vertex-attrib.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | uniform mat4 MVP; 4 | 5 | const int VertexCount = 6; 6 | const vec2 Position[VertexCount] = vec2[]( 7 | vec2(-1.0f,-1.0f), 8 | vec2( 1.0f,-1.0f), 9 | vec2( 1.0f, 1.0f), 10 | vec2(-1.0f,-1.0f), 11 | vec2( 1.0f, 1.0f), 12 | vec2(-1.0f, 1.0f)); 13 | 14 | void main() 15 | { 16 | gl_Position = MVP * vec4(Position[gl_VertexID], 0.0, 1.0); 17 | } 18 | 19 | -------------------------------------------------------------------------------- /data/gl-330/multiple-output.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | #define FRAG_RED 0 8 | #define FRAG_GREEN 1 9 | #define FRAG_BLUE 2 10 | #define FRAG_ALPHA 3 11 | 12 | uniform mat4 MVP; 13 | 14 | layout(location = POSITION) in vec2 Position; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * vec4(Position, 0.0, 1.0); 19 | } 20 | -------------------------------------------------------------------------------- /data/gl-400/fbo-rtt.frag: -------------------------------------------------------------------------------- 1 | #version 400 core 2 | 3 | #define FRAG_COLOR 0 4 | 5 | uniform sampler2D Diffuse; 6 | 7 | in vec4 gl_FragCoord; 8 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 9 | 10 | void main() 11 | { 12 | vec2 TextureSize = vec2(textureSize(Diffuse, 0)); 13 | 14 | Color = texture(Diffuse, gl_FragCoord.xy / TextureSize); 15 | //Color = texelFetch(Diffuse, ivec2(gl_FragCoord.xy), 0); 16 | } 17 | -------------------------------------------------------------------------------- /data/gl-420/texture-conversion-normalized.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/texture-shadow-color.frag: -------------------------------------------------------------------------------- 1 | #version 420 compatibility 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord.st); 20 | } 21 | -------------------------------------------------------------------------------- /data/gl-420/texture-shadow-depth.frag: -------------------------------------------------------------------------------- 1 | #version 420 compatibility 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | layout(binding = 0) uniform sampler2D Diffuse; 9 | 10 | in block 11 | { 12 | vec2 Texcoord; 13 | } In; 14 | 15 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 16 | 17 | void main() 18 | { 19 | Color = texture(Diffuse, In.Texcoord.st); 20 | } 21 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_gpu_shader5: -------------------------------------------------------------------------------- 1 | GL_ARB_gpu_shader5 2 | http://www.opengl.org/registry/specs/ARB/gpu_shader5.txt 3 | GL_ARB_gpu_shader5 4 | GL_GEOMETRY_SHADER_INVOCATIONS 0x887F 5 | GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A 6 | GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B 7 | GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C 8 | GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D 9 | GL_MAX_VERTEX_STREAMS 0x8E71 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_texture_rectangle: -------------------------------------------------------------------------------- 1 | GL_ARB_texture_rectangle 2 | http://www.opengl.org/registry/specs/ARB/texture_rectangle.txt 3 | GL_ARB_texture_rectangle 4 | GL_TEXTURE_RECTANGLE_ARB 0x84F5 5 | GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 6 | GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 7 | GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 8 | GL_SAMPLER_2D_RECT_ARB 0x8B63 9 | GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_ARB_vertex_array_object: -------------------------------------------------------------------------------- 1 | GL_ARB_vertex_array_object 2 | http://www.opengl.org/registry/specs/ARB/vertex_array_object.txt 3 | GL_ARB_vertex_array_object 4 | GL_VERTEX_ARRAY_BINDING 0x85B5 5 | void glBindVertexArray (GLuint array) 6 | void glDeleteVertexArrays (GLsizei n, const GLuint* arrays) 7 | void glGenVertexArrays (GLsizei n, GLuint* arrays) 8 | GLboolean glIsVertexArray (GLuint array) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_blend_func_separate: -------------------------------------------------------------------------------- 1 | GL_EXT_blend_func_separate 2 | http://www.opengl.org/registry/specs/EXT/blend_func_separate.txt 3 | GL_EXT_blend_func_separate 4 | GL_BLEND_DST_RGB_EXT 0x80C8 5 | GL_BLEND_SRC_RGB_EXT 0x80C9 6 | GL_BLEND_DST_ALPHA_EXT 0x80CA 7 | GL_BLEND_SRC_ALPHA_EXT 0x80CB 8 | void glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) 9 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_texture_compression_latc: -------------------------------------------------------------------------------- 1 | GL_EXT_texture_compression_latc 2 | http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_latc.txt 3 | GL_EXT_texture_compression_latc 4 | GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 5 | GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 6 | GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 7 | GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_MESAX_texture_stack: -------------------------------------------------------------------------------- 1 | GL_MESAX_texture_stack 2 | http://www.opengl.org/registry/specs/MESAX/texture_stack.txt 3 | GL_MESAX_texture_stack 4 | GL_TEXTURE_1D_STACK_MESAX 0x8759 5 | GL_TEXTURE_2D_STACK_MESAX 0x875A 6 | GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B 7 | GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C 8 | GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D 9 | GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_NV_conditional_render: -------------------------------------------------------------------------------- 1 | GL_NV_conditional_render 2 | http://www.opengl.org/registry/specs/NV/conditional_render.txt 3 | GL_NV_conditional_render 4 | GL_QUERY_WAIT_NV 0x8E13 5 | GL_QUERY_NO_WAIT_NV 0x8E14 6 | GL_QUERY_BY_REGION_WAIT_NV 0x8E15 7 | GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 8 | void glBeginConditionalRenderNV (GLuint id, GLenum mode) 9 | void glEndConditionalRenderNV (void) 10 | -------------------------------------------------------------------------------- /data/gl-330/front-face.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | #define FRAG_RED 0 8 | #define FRAG_GREEN 1 9 | #define FRAG_BLUE 2 10 | #define FRAG_ALPHA 3 11 | 12 | uniform mat4 MVP; 13 | 14 | layout(location = POSITION) in vec2 Position; 15 | 16 | void main() 17 | { 18 | gl_Position = MVP * vec4(Position, 0.0, 1.0); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/gl-330/rtt-array.frag: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define TEXCOORD 4 6 | #define FRAG_COLOR 0 7 | 8 | uniform sampler2DArray Diffuse; 9 | uniform int Layer; 10 | 11 | in block 12 | { 13 | vec2 Texcoord; 14 | } In; 15 | 16 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 17 | 18 | void main() 19 | { 20 | Color = texture(Diffuse, vec3(In.Texcoord, float(Layer))); 21 | } 22 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_EXT_blend_color: -------------------------------------------------------------------------------- 1 | GL_EXT_blend_color 2 | http://www.opengl.org/registry/specs/EXT/blend_color.txt 3 | GL_EXT_blend_color 4 | GL_CONSTANT_COLOR_EXT 0x8001 5 | GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 6 | GL_CONSTANT_ALPHA_EXT 0x8003 7 | GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 8 | GL_BLEND_COLOR_EXT 0x8005 9 | void glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) 10 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/GL_SGIS_color_range: -------------------------------------------------------------------------------- 1 | GL_SGIS_color_range 2 | http://www.opengl.org/registry/specs/SGIS/color_range.txt 3 | GL_SGIS_color_range 4 | GL_EXTENDED_RANGE_SGIS 0x85A5 5 | GL_MIN_RED_SGIS 0x85A6 6 | GL_MAX_RED_SGIS 0x85A7 7 | GL_MIN_GREEN_SGIS 0x85A8 8 | GL_MAX_GREEN_SGIS 0x85A9 9 | GL_MIN_BLUE_SGIS 0x85AA 10 | GL_MAX_BLUE_SGIS 0x85AB 11 | GL_MIN_ALPHA_SGIS 0x85AC 12 | GL_MAX_ALPHA_SGIS 0x85AD 13 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_EXT_display_color_table: -------------------------------------------------------------------------------- 1 | WGL_EXT_display_color_table 2 | http://www.opengl.org/registry/specs/EXT/wgl_display_color_table.txt 3 | WGL_EXT_display_color_table 4 | GLboolean wglBindDisplayColorTableEXT (GLushort id) 5 | GLboolean wglCreateDisplayColorTableEXT (GLushort id) 6 | void wglDestroyDisplayColorTableEXT (GLushort id) 7 | GLboolean wglLoadDisplayColorTableEXT (GLushort* table, GLuint length) 8 | -------------------------------------------------------------------------------- /external/glew-1.7.0/auto/extensions/WGL_NV_render_depth_texture: -------------------------------------------------------------------------------- 1 | WGL_NV_render_depth_texture 2 | http://www.opengl.org/registry/specs/NV/render_depth_texture.txt 3 | WGL_NV_render_depth_texture 4 | WGL_NO_TEXTURE_ARB 0x2077 5 | WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 6 | WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 7 | WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 8 | WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 9 | WGL_DEPTH_COMPONENT_NV 0x20A7 10 | -------------------------------------------------------------------------------- /data/gl-330/instanced.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | 5 | precision highp float; 6 | precision highp int; 7 | 8 | uniform mat4 MVP; 9 | 10 | layout(location = POSITION) in vec2 Position; 11 | 12 | out block 13 | { 14 | float Instance; 15 | } Out; 16 | 17 | void main() 18 | { 19 | gl_Position = MVP * vec4(Position, float(gl_InstanceID) * 0.25 - 0.5, 1.0); 20 | Out.Instance = float(gl_InstanceID); 21 | } 22 | -------------------------------------------------------------------------------- /data/gl-420/instanced.vert: -------------------------------------------------------------------------------- 1 | #version 330 core 2 | 3 | #define POSITION 0 4 | 5 | precision highp float; 6 | precision highp int; 7 | 8 | uniform mat4 MVP; 9 | 10 | layout(location = POSITION) in vec2 Position; 11 | 12 | out block 13 | { 14 | float Instance; 15 | } Out; 16 | 17 | void main() 18 | { 19 | gl_Position = MVP * vec4(Position, float(gl_InstanceID) * 0.25 - 0.5, 1.0); 20 | Out.Instance = float(gl_InstanceID); 21 | } 22 | -------------------------------------------------------------------------------- /data/gl-420/interface-matching.frag: -------------------------------------------------------------------------------- 1 | #version 420 core 2 | 3 | #define POSITION 0 4 | #define COLOR 3 5 | #define FRAG_COLOR 0 6 | 7 | struct vertex 8 | { 9 | vec4 Color; 10 | }; 11 | 12 | layout(location = 0) in vertex st_In; 13 | 14 | in block 15 | { 16 | vec4 Color; 17 | } bl_In; 18 | 19 | layout(location = FRAG_COLOR, index = 0) out vec4 Color; 20 | 21 | void main() 22 | { 23 | Color = st_In.Color + bl_In.Color; 24 | } 25 | --------------------------------------------------------------------------------