gnash根据不同的选项,可以支持三种不同类型对图像和音频的渲染方式,通过下边的选项来设置:
--enable-renderer=opengl
--enable-renderer=cairo
--enable-renderer=agg (default) 注: renderer 渲染,只能选择一个选项
关于三种渲染方式的介绍:
OpenGL
OpenGL (Open Graphics Library) is a standard specification defining a cross-language cross-platform API for writing applications that produce 3D and 2D computer graphics. Accelerated graphic cards usually provide OpenGL at the hardware level. Please refer to Wikipedia for availability of free software OpenGL hardware drivers. A free software implementation of the API is available (Mesa). OpenGL can be used as a renderer in Gnash.
Cairo
Cairo is a 2D graphics library with support for multiple output devices. Can be used as a renderer in Gnash. A useful feature of Cairo is that it will automatically use graphic card acceleration when available. Cairo has an experimental OpenGL backend.
AGG
AGG is the AntiGrain 2D graphics library, which can be used as a renderer in Gnash. It is faster than OpenGL on systems without hardware graphics acceleration. As of Gnash version 0.8.2 it is the more feature complete renderer.
对于这个选项,选用默认的是最好的了,我们的系统没有图形加速卡,所以只能选用agg .
--enable-media=handler Enable media handling support using the specified
handler: gst, ffmpeg or none (no sound) [gst]
这个选项是媒体处理支持,媒体处理支持选项依赖于gnash渲染选项。
--enable-gui=gtk|sdl|kde|fltk|fb|hildon|alp|qtopia 默认的选项是gtk kde
这个选项是gnash的gui界面,可以根据实际情况选择。需要说明的是:
GTK
The GTK+ toolkit, which is the default GUI. Said to interwork particularly well with firefox.
Hildon
The Hildon toolkist is based on GTK+, and is use by some mobile devices.
ALP
The ALP "Hiker" GUI is used for the Access Linux platform.
SDL
Simple DirectMedia Layer, a simple and portable GUI. Its sound facilities are used when --enable-media=ffmpeg regardless of whether it is also in charge of the GUI.
KDE
An interface adapted to the KDE Desktop Environment. This must be selected when building the Konqueror plugin "klash". Furthermore, the only renderer that currently works with KDE is opengl.
FLTK
Fast Light ToolKit, low on resource usage. Since all builds using fltk are now broken, we declare it "for developers".
FB
The Linux Frame Buffer, also known as /dev/fb0. AGG is the only renderer that can currently be used with the framebuffer GUI.
qtopia
support Trolltech qtopia as gui lib, if chose this option , the system must have qt lib support
--disable-nsapi --enable-nsapi: 这是一个非常重要的选项,在浏览器和flash plugin之间是通过这种api来通信的。
--enable-write Makes the Mozilla plugin write the currently playing
SWF movie to /tmp.
--enable-cygnal Enable building of the Cygnal server
阅读(1334) | 评论(0) | 转发(0) |