Quoting Ville Syrj�l� ([EMAIL PROTECTED]): > On Fri, Mar 21, 2003 at 01:23:50PM +0100, Denis Oliver Kropp wrote: > > The sub picture layer supports ALUTRGB1555? 1bit alpha lookup plus rgb15? > > Unfortunately no. I was referring to the CRTC2 mode. > > When the CRTC2 layer is a in mode other than I420/YV12 the sub-picture can > only be a constant color all through. So the sub-picture surface won't do > anything then. > > In CRTC2 ARGB modes the sub-picture opacity can come from the underlying > pixel alpha or from SetOpacity(). If you take a look at section 4.14.6 of > G400 specs there's a table of the supported values. 32bpp mode is obviosly > fine already but for ARGB1555 we need a way to set the 15 bpp alpha > values. Everything else is already set via SetOpacity() and > DLOP_OPACITY/DLOP_ALPHACHANNEL.
Hmm, in RGB32 we have the alpha channel being simply LUT8 with alpha per entry support. But I don't like the fact that the surface of the crtc2 layer contains the data of the sub picture layer, too. Seems to be impossible to implement. > Now that I think of it the rgb only palette stuff doesn't really matter > since it should only affect lookups. We can still set the alpha for the > entries and sub-picture layer's SetPalette can do it's stuff with them. You mean that the pixel alpha is written using the palette entry alpha? Updates of the palette afterwards would not take effect on the alpha values. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
