GDI, GDI+, Direct2D ์„ฑ๋Šฅ ๋น„๊ต

GDI:
DrawRandomLines(20000): elapsed time = 0.447 sec.

GDI+:
DrawRandomLines(20000): elapsed time = 9.947 sec.

Direct2D:
DrawRandomLines(20000): elapsed time = 0.035 sec.

GUI ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋งŒ๋“ค๋ฉด์„œ ํ…Œ์ŠคํŠธ ํ•ด๋ณด๋‹ˆ ์ƒ๊ฐ๋ณด๋‹ค ์ฐจ์ด๊ฐ€ ์‹ฌํ•˜๊ตฐ์š”.
D2D ๋น„๊ต์  ์“ฐ๊ธฐ๋„ ํŽธํ•˜๊ณ  ์„ฑ๋Šฅ๋„ ์ค€์ˆ˜ํ•˜๊ณ  Retained mode์—์„œ๋„ ๋ถˆํŽธํ•จ์ด ์—†๋„ค์š”

3 Likes

@๊ทธ๋ผ๋ชฉ์† MFC๋กœ ํ•˜์‹ ๊ฑด๊ฐ€์—ฌ?

2 Likes

๋„ต, ์–ด๋Š ์ •๋„ ์™„์„ฑ๋˜๋ฉด ๊นƒํ—ˆ๋ธŒ์— ๊ณต๊ฐœ ํ•  ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

3 Likes