Aspects


vs


Direct2d

Direct2D is a hardware-accelerated, immediate-mode, 2-D graphics API that provides high performance and high-quality rendering for 2-D geometry, bitmaps, and text

Gdi

Graphics Device Interface (GDI) is a device-independent, pure software graphics API under the Windows operating system for drawing graphic primitives and text

Slower

Quality Example
Slower

"But my direct2d code is much slower than my gdi code"

from question "GDI versus Direct2D"

"A direct2d is slower than gdi"

from question "Is TDirect2DCanvas slow or am I doing something wrong?"

Others

Quality Example
Slower pure

"A i tried gdi-compatible direct2d using id2d1dcrendertarget+binddc but it is much slower than pure gdi"

from question "Fast (HW-accelerated) drawing to foreign window (probably using Direct3D)"

More

"Threads in direct2d is more granular than in gdi and gdi+ so that the"

from question "IIS & service-based generation of web images - GDI, GDI+ or Direct2D?"

Faster

"The thing is that gdi is still faster than direct2d if i draw to a bitmap and after it s done i bitblt the result back to the form it paints at 35ms and with the same graphics quality"

from question "Is TDirect2DCanvas slow or am I doing something wrong?"

"Disable antialiasing and the performance of direct2d will be on par or faster than gdi"

from question "Is TDirect2DCanvas slow or am I doing something wrong?"

Much faster

"I ve read that direct2d is much faster than gdi so i figured i would give it a shot for dealing with constantly updated variables"

from question "Using Direct2D drawing with real-time data from a timer"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0