![]() Since Windows NT 4, has run in kernel mode. ![]() Because Direct2D is built with this emphasis on 3D acceleration it is also easy to use with Direct3D. Direct2D is not a pure superset of: primitives that would have been unreasonably slow when implemented on a GPU aren't present in Direct2D. Modern UIs often make use of transparency and animation.ĭirect2D makes it easier to create a modern UI because it has strict guarantees on how it accepts and renders transparent content, and all of its primitives are rendered using hardware acceleration. Renders opaque, transparent, aliased and anti-aliased primitives. More importantly, GDI's rendering does not map easily to 3D operations, and a modern GPU renders most efficiently on the 3D portion of its rendering engine.ĭirect2D (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+.įor example, 's aliased lines are designed to be implemented simply as two triangles rendered on the GPU, whereas GDI uses Bresenham's line drawing algorithm. ![]() Few GDI APIs guarantee what the alpha channel will contain after an operation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |