[Scummvm-devel] D2D backend
Johannes Schickel
lordhoto at scummvm.org
Sun May 2 17:29:57 CEST 2010
On 05/02/2010 04:49 PM, David Kaplan wrote:
>
> Is there any need for or has there been any thought about a Direct2D
> backend?
>
> While only being Win7/Vista SP2 specific, Direct2D allows for true use
> of the GPU to perform all render-related functions, scaling etc. - and
> on hardware that is slightly older, it performs a seamless switch to
> software rendering.
>
> The performance boost that this gives can be quite significant.
>
> However is there any point being that SDL works in Win7 too? Albeit
> minus some harware accel advantage (that comes from Direct2D)...
>
> If there is any point, I'm happy to implement a D2D backend - i'm
> already familiar with the API and it's not a lot of work.
>
Hi,
I am not sure whether anyone thought about a Direct2D backend yet.
We currently have a Summer of Code project, which aims at supplying an
OpenGL(ES) based graphics output. That will feature "hardware
acceleration" too and of course is usable on more platforms, so I am not
sure whether a separate Direct2D backend makes much sense.
In any case experience has shown that writing code is usually easier
than maintaining it. Thus if you really want to write an Direct2D
backend and want it to be integrated into the ScummVM code, you would
also need to assure that you will also maintain the backend in case it
will require updates, fixes etc.
// Johannes
More information about the Scummvm-devel
mailing list