Wined3d: added A2R10G10B10 and D3DFMT_D24FS8
Oliver Stieber
oliver_stieber at yahoo.co.uk
Tue Sep 6 08:23:20 CDT 2005
--- Karsten Elfenbein <kelfe at gmx.de> wrote:
That looks fine, thanks.
> Added A2R10G10B10 and D3DFMT_D24FS8 modes to all other functions.
>
> Karsten
>
> > -----Ursprüngliche Nachricht-----
> > Von: wine-patches-bounces at winehq.org
> > [mailto:wine-patches-bounces at winehq.org] Im Auftrag von Oliver Stieber
> > Gesendet: Samstag, 3. September 2005 22:15
> > An: wine-devel at winehq.org; wine-patches at winehq.org
> > Betreff: ***SPAM*** Re: Wined3d: added A2R10G10B10 and D3DFMT_D24FS8
> >
> >
> >
> > --- Karsten Elfenbein <kelfe at gmx.de> wrote:
> > Can you put together a patch to add A2R10G10B10 and
> > D3DFMT_D24FS8 to utils.c as well please.
> >
> > D3DFmt2GLIntFmt needs to return GL_RGBA, D3DFmt2GLFmt needs
> > to return GL_RGBA, D3DFmt2GLType needs to return
> > GL_UNSIGNED_INT_2_10_10_10_REV, D3DFmtGetBpp needs to return 4,
> > D3DFmtMakeGlCfg needs to
> > PUSH2(GLX_ALPHA_SIZE, 2);
> > PUSH2(GLX_RED_SIZE, 10);
> > PUSH2(GLX_GREEN_SIZE, 10);
> > PUSH2(GLX_BLUE_SIZE, 10);
> >
> > Also in surface.c IWineD3DSurfaceImpl_UnlockRect needs to use
> >
> > glDrawPixels(This->lockedRect.right - This->lockedRect.left,
> > (This->lockedRect.bottom -
> > This->lockedRect.top) - 1, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV,
> > This->resource.allocatedMemory);
> > when unlocking the back buffer
> >
> >
> > Thanks,
> > Oliver.
> > > Changelog:
> > > * added A2R10G10B10 and D3DFMT_D24FS8 modes
> > > >
> > >
> >
>
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
More information about the wine-devel
mailing list