accessing Coral alpha plane

Hello,

I want to give a layer gradual transparency using the alpha plane
feature of the Fujitsu coral graphics controller.

The Coral spec says, layer 5 can be used as the ‘blend coefficient
layer’ in PAL8 mode. Unfortunately I can’t find any way in the QNX layer
API to use this ‘alpha plane mode’. IMHO there should be at least one
Pg_LAYER_*_PIXEL_ALPHA flag in alpha_caps set when requesting the
available layer capabilities of l5 in PAL8 mode.

Any suggestions or code snippets to get this to work?

Is layer x in coral spec terminology == layer x in QNX API terminology?
(it doesn’t fit the YUV feature, in spec l1 can have YUV on target l4 is
told to have YUV - quite confusing)

— Wolfram

Wolfram Manthey <qnxnews@gmx.de> wrote in message
news:40F2C293.5020108@gmx.de

Hello,

I want to give a layer gradual transparency using the alpha plane
feature of the Fujitsu coral graphics controller.

Are you trying to have different levels of transparency within a single
layer
or trying to gradually change the transparency level of the entire layer?

The Coral spec says, layer 5 can be used as the ‘blend coefficient
layer’ in PAL8 mode. Unfortunately I can’t find any way in the QNX layer
API to use this ‘alpha plane mode’. IMHO there should be at least one
Pg_LAYER_*_PIXEL_ALPHA flag in alpha_caps set when requesting the
available layer capabilities of l5 in PAL8 mode.

Currently the QNX layer API does not support alpha maps/planes. Only global
alphablending is supported.

Any suggestions or code snippets to get this to work?

Is layer x in coral spec terminology == layer x in QNX API terminology?
(it doesn’t fit the YUV feature, in spec l1 can have YUV on target l4 is
told to have YUV - quite confusing)

The QNX layer API considers layer 0 to be the bottom layer. The Coral
layers
consider layer 0 to be the top layer:

QNX API Coral (Window mode)
0 5 (bottom)
1 4
2 3
3 2
4 1
5 0 (top)

— Wolfram

Michael Van Reenen wrote:

Wolfram Manthey <> qnxnews@gmx.de> > wrote in message
news:> 40F2C293.5020108@gmx.de> …

Hello,

I want to give a layer gradual transparency using the alpha plane
feature of the Fujitsu coral graphics controller.


Are you trying to have different levels of transparency within a single
layer
or trying to gradually change the transparency level of the entire layer?

the former

The Coral spec says, layer 5 can be used as the ‘blend coefficient
layer’ in PAL8 mode. Unfortunately I can’t find any way in the QNX layer
API to use this ‘alpha plane mode’. IMHO there should be at least one
Pg_LAYER_*_PIXEL_ALPHA flag in alpha_caps set when requesting the
available layer capabilities of l5 in PAL8 mode.


Currently the QNX layer API does not support alpha maps/planes. Only global
alphablending is supported.

when is this issue going to be changed?
We need this for antialiased text/graphics and casting smooth shadows on
layers underneath which are quite common requirements. For our project
this could be the kockout criterion.
BTW this feature is visualized in the QNX/FME multilayer webseminar from
23-oct-2003.

Any suggestions or code snippets to get this to work?

Is layer x in coral spec terminology == layer x in QNX API terminology?
(it doesn’t fit the YUV feature, in spec l1 can have YUV on target l4 is
told to have YUV - quite confusing)


The QNX layer API considers layer 0 to be the bottom layer. The Coral
layers
consider layer 0 to be the top layer:

QNX API Coral (Window mode)
0 5 (bottom)
1 4
2 3
3 2
4 1
5 0 (top)

any possibility for re-ordering?

— Wolfram

Wolfram Manthey <qnxnews@arcor.de> wrote in message
news:cd38e9$obp$1@inn.qnx.com

Currently the QNX layer API does not support alpha maps/planes. Only
global
alphablending is supported.

when is this issue going to be changed?
We need this for antialiased text/graphics and casting smooth shadows on
layers underneath which are quite common requirements. For our project
this could be the kockout criterion.
BTW this feature is visualized in the QNX/FME multilayer webseminar from
23-oct-2003.

The web seminar outlined this feature of the Coral hardware, but it is not
currently
in the QNX layer API. It should be possible to add this feature. Please
contact
your QNX sales representative for possible solutions to this issue.

Any suggestions or code snippets to get this to work?

Is layer x in coral spec terminology == layer x in QNX API terminology?
(it doesn’t fit the YUV feature, in spec l1 can have YUV on target l4 is
told to have YUV - quite confusing)


The QNX layer API considers layer 0 to be the bottom layer. The Coral
layers
consider layer 0 to be the top layer:

QNX API Coral (Window mode)
0 5 (bottom)
1 4
2 3
3 2
4 1
5 0 (top)


any possibility for re-ordering?

Not at the moment. Although the current QNX order is opposite the Coral,
it matches well with most other chipsets that we support layering on.



— Wolfram