Ist DirectDraw veraltet?

  • VB.NET

Es gibt 9 Antworten in diesem Thema. Der letzte Beitrag () ist von vb-checker.

    Ist DirectDraw veraltet?

    Hallo,

    ist DirectDraw veraltet? Mein Visual Studio zeigt das nämlich immer an, wenn ich DirectDraw verwende. Wenn ja, was sollte man stattdessen verwenden? Direkt Direct3D verwenden und es in 2D umschalten oder wie?

    Danke,

    Thilo
    Okay, kennst du dafür ein gutes Tutorial, das auch aktuell ist? Bei Google finde ich immer nur diese uralten Tutorials :/ Und ist Direct2D viel schneller als GDI?

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Thilo87“ ()

    Wikipedia schrieb:

    GDI+ continues to rely on software rendering in Windows 7.

    http://blogs.technet.com/b/thomasolsen/archive/2008/10/29/introducing-the-microsoft-direct2d-api.aspx schrieb:

    Direct2D (or D2D) is a native immediate-mode 2D graphics rendering API that is built on top of Direct3D, and offers some compelling performance and visual quality improvements over GDI and GDI+:
    · Hardware-acceleration
    ...

    m9898 schrieb:

    Ich hatte aber auch mal ein Buch über GDI+, in dem auch stand, dass GDI+ Hardwarebeschleunigt sein soll.

    Wahrscheinlich verwechselst du da etwas. GDI ist hardwarebeschleunigt. GDI+ dagegen nicht. Wobei man bei GDI+ natürlich auch "Beschleunigungseffekte" feststellen können müsste, wenn es denn nur die entsprechenden GDI-Funktionen aufruft.

    Zum Thema:
    channel9.msdn.com/Forums/TechO…gdi-hardware-acceleration
    msdn.microsoft.com/en-us/libra…f566559%28v=vs.85%29.aspx

    GDI has been accelerated. Does anyone know when this happened? schrieb:

    GDI works by calling various functions in the graphics device driver. There are a core set of functions that every driver must implement. Other functions may be implemented by the driver. If they are not, GDI will perform those functions itself.

    If a particular function is not implemented in hardware then there is no point in the driver doing a software implementation of that function since GDI can probably do a better job. GDI is extremely well optimized for performance.

    As more functions are implemented in hardware, not only do those functions perform much better, but there is also less work for GDI to do, resulting in less CPU time spent on graphics.

    It may also be the case that the graphics card vendor, in an effort to get a card out to market quickly, may not have implemented all possible hardware functions that the card could perform. Later versions of that driver may then implement that functionality, resulting in improved performance.


    Steht und fällt also auch mit dem eingesetzten Grafikkartentreiber.

    Kurzantwort:
    Wenn die Operation von GDI und vom Grafikkartentreiber unterstützt wird, dann gibt es Hardwarebeschleunigung, sonst erledigt GDI+ das softwareseitig.

    Skybird schrieb:

    Das sind ja Ubisoftmethoden hier !

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „vb-checker“ ()