Changeset 53731 in vbox for trunk/src/VBox/Devices/Graphics/shaderlib
- Timestamp:
- Jan 4, 2015 6:52:39 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/shaderlib/directx.c
r53728 r53731 2054 2054 check_gl_extension(gl_info, (const char *)glGetStringi(GL_EXTENSIONS, idxExt)); 2055 2055 2056 if (fGLVersion >= 1.1) 2057 { 2058 check_gl_extension(gl_info, "GL_EXT_vertex_array"); 2059 check_gl_extension(gl_info, "GL_EXT_polygon_offset"); 2060 check_gl_extension(gl_info, "GL_EXT_blend_logic_op"); 2061 check_gl_extension(gl_info, "GL_EXT_texture"); 2062 check_gl_extension(gl_info, "GL_EXT_copy_texture"); 2063 check_gl_extension(gl_info, "GL_EXT_subtexture"); 2064 check_gl_extension(gl_info, "GL_EXT_texture_object"); 2065 check_gl_extension(gl_info, "GL_ARB_framebuffer_object"); 2066 check_gl_extension(gl_info, "GL_ARB_map_buffer_range"); 2067 check_gl_extension(gl_info, "GL_ARB_vertex_array_object"); 2068 } 2069 if (fGLVersion >= 1.2) 2070 { 2071 check_gl_extension(gl_info, "EXT_texture3D"); 2072 check_gl_extension(gl_info, "EXT_bgra"); 2073 check_gl_extension(gl_info, "EXT_packed_pixels"); 2074 check_gl_extension(gl_info, "EXT_rescale_normal"); 2075 check_gl_extension(gl_info, "EXT_separate_specular_color"); 2076 check_gl_extension(gl_info, "SGIS_texture_edge_clamp"); 2077 check_gl_extension(gl_info, "SGIS_texture_lod"); 2078 check_gl_extension(gl_info, "EXT_draw_range_elements"); 2079 } 2080 if (fGLVersion >= 1.3) 2081 { 2082 check_gl_extension(gl_info, "GL_ARB_texture_compression"); 2083 check_gl_extension(gl_info, "GL_ARB_texture_cube_map"); 2084 check_gl_extension(gl_info, "GL_ARB_multisample"); 2085 check_gl_extension(gl_info, "GL_ARB_multitexture"); 2086 check_gl_extension(gl_info, "GL_ARB_texture_env_add"); 2087 check_gl_extension(gl_info, "GL_ARB_texture_env_combine"); 2088 check_gl_extension(gl_info, "GL_ARB_texture_env_dot3"); 2089 check_gl_extension(gl_info, "GL_ARB_texture_border_clamp"); 2090 check_gl_extension(gl_info, "GL_ARB_transpose_matrix"); 2091 } 2092 if (fGLVersion >= 1.5) 2093 { 2094 check_gl_extension(gl_info, "GL_SGIS_generate_mipmap"); 2095 /*check_gl_extension(gl_info, "GL_NV_blend_equare");*/ 2096 check_gl_extension(gl_info, "GL_ARB_depth_texture"); 2097 check_gl_extension(gl_info, "GL_ARB_shadow"); 2098 check_gl_extension(gl_info, "GL_EXT_fog_coord"); 2099 check_gl_extension(gl_info, "GL_EXT_multi_draw_arrays"); 2100 check_gl_extension(gl_info, "GL_ARB_point_parameters"); 2101 check_gl_extension(gl_info, "GL_EXT_secondary_color"); 2102 check_gl_extension(gl_info, "GL_EXT_blend_func_separate"); 2103 check_gl_extension(gl_info, "GL_EXT_stencil_wrap"); 2104 check_gl_extension(gl_info, "GL_ARB_texture_env_crossbar"); 2105 check_gl_extension(gl_info, "GL_EXT_texture_lod_bias"); 2106 check_gl_extension(gl_info, "GL_ARB_texture_mirrored_repeat"); 2107 check_gl_extension(gl_info, "GL_ARB_window_pos"); 2108 } 2109 if (fGLVersion >= 1.6) 2110 { 2111 check_gl_extension(gl_info, "GL_ARB_vertex_buffer_object"); 2112 check_gl_extension(gl_info, "GL_ARB_occlusion_query"); 2113 check_gl_extension(gl_info, "GL_EXT_shadow_funcs"); 2114 } 2115 if (fGLVersion >= 2.0) 2116 { 2117 check_gl_extension(gl_info, "GL_ARB_shader_objects"); /*??*/ 2118 check_gl_extension(gl_info, "GL_ARB_vertex_shader"); /*??*/ 2119 check_gl_extension(gl_info, "GL_ARB_fragment_shader"); /*??*/ 2120 check_gl_extension(gl_info, "GL_ARB_shading_language_100"); /*??*/ 2121 check_gl_extension(gl_info, "GL_ARB_draw_buffers"); 2122 check_gl_extension(gl_info, "GL_ARB_texture_non_power_of_two"); 2123 check_gl_extension(gl_info, "GL_ARB_point_sprite"); 2124 check_gl_extension(gl_info, "GL_ATI_separate_stencil"); 2125 check_gl_extension(gl_info, "GL_EXT_stencil_two_side"); 2126 } 2127 if (fGLVersion >= 2.1) 2128 { 2129 check_gl_extension(gl_info, "GL_ARB_pixel_buffer_object"); 2130 check_gl_extension(gl_info, "GL_EXT_texture_sRGB"); 2131 } 2132 if (fGLVersion >= 3.0) 2133 { 2134 check_gl_extension(gl_info, "GL_ARB_framebuffer_object"); 2135 check_gl_extension(gl_info, "GL_ARB_map_buffer_range"); 2136 check_gl_extension(gl_info, "GL_ARB_vertex_array_object"); 2137 } 2056 2138 if (fGLVersion >= 3.0) 2057 2139 {
Note:
See TracChangeset
for help on using the changeset viewer.