LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 804|回复: 4

qt4.7里的那个egl的USE是什么啊?

[复制链接]
发表于 2010-11-12 23:56:54 | 显示全部楼层 |阅读模式
Use EGL instead of default GLX to manage OpenGL contexts on the desktop
是不是不被推荐使用?
还有那个private-headers。
发表于 2010-11-13 09:47:40 | 显示全部楼层
egl 还没注意到,估计和桌面效果相关的优化吧,不知道稳不稳定
private-header这个use是一个补救措施,为了能编译qt-creator, 因为后者与qt核心库联系紧密,使用了原来在qt库中是"private"级别的头文件, 这才在qt-creator诞生后给qt包加了这个use.
回复 支持 反对

使用道具 举报

发表于 2010-11-13 17:54:35 | 显示全部楼层
编译qt 4.7.1时加了egl,实话是没什么感觉……用的是mesa7.9加上gallium。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-13 18:55:08 | 显示全部楼层
mesa7.9?可以开启gallium了?
回复 支持 反对

使用道具 举报

发表于 2010-11-13 20:04:18 | 显示全部楼层
Post by kwindva;2119704
mesa7.9?可以开启gallium了?


可以啊,加X11的overlay。intel/ati/nv应该都可以驱动,就是性能的问题了。


  1. $ glxgears -info
  2. Running synchronized to the vertical refresh.  The framerate should be
  3. approximately the same as the monitor refresh rate.
  4. GL_RENDERER   = Gallium 0.4 on i915 (chipset: G33)
  5. GL_VERSION    = 1.3 Mesa 7.9
  6. GL_VENDOR     = VMware, Inc.
  7. GL_EXTENSIONS = GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_framebuffer_object GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_provoking_vertex GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_OES_read_format GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_OES_EGL_image
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表