Roger Maclean
|
RE: setting bit depth for OpenVG flash-player via composition manager?
|
Roger Maclean
06/09/2009 9:27 AM
post31198
|
RE: setting bit depth for OpenVG flash-player via composition manager?
No doubt it's all a little confusing. As I mentioned in my previous
message, there are several EGL surfaces involved here. The settings for
hmip-openvg.so only controls the surface used for rendering off-screen.
There is no reason why you would want this one to be tied to a layer
since it is never visible. You would probably just want to set its
format depending on whether you're wanting to render using 16 or 32
bits.
The egl_config setting you will want to set will be the setting for the
other extension, hmip-compmgr.so. This is the extension that deals with
the composition manager window itself. You would want to pick a config
that has the window bit set, has red, green, blue and alpha size that
matches the format you've chosen for hmip-openvg.so and has the layer
you want. The split in responsibilities between the two extensions are
because hmip-compmgr.so can also be used with software rendering.
As to the problems you had when you tried to set the egl_config setting
of hmip-openvg.so, is the list of egl-configs you provide those obtained
when io-winmgr was running or before? The egl configs that are relevant
to Flash are those that are available when io-winmgr is running. If you
used the other set, you might have chosen ones without the OpenVG bit
and it would have failed. To see what egl configs Flash chooses for
itself, you can add the configuration setting (to the main part of the
configuration, not the extensions):
log_mask = configuration
you should see messages regarding the configuration that the player has
chosen for the render surface and window.
|
|
|