Home » Developing U++ » External resources » On popular theme
|
|
|
Re: On popular theme [message #1097 is a reply to message #1090] |
Mon, 20 February 2006 13:53 |
|
luzr wrote on Mon, 20 February 2006 03:50 | it brings a new possibility to consider - Direct3D.
|
I think it is a must when Vista come out. It will be just a next paint engine for Draw like gdi or xlib is now
|
|
|
|
Re: On popular theme [message #1100 is a reply to message #1099] |
Mon, 20 February 2006 15:18 |
|
luzr wrote on Mon, 20 February 2006 08:25 |
Well, I am not sure - I think there always be GDI+ layer over Direct3D (at least, GDI+ now seems to me is the prefered graphics for .NET apps).
|
If so, we can stay with gdi+, less work to make Draw compatible with vista. However, using directx directly probably will be slightly faster and give us more flexibility.
|
|
|
Re: On popular theme [message #1101 is a reply to message #1100] |
Mon, 20 February 2006 15:28 |
|
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
unodgs wrote on Mon, 20 February 2006 09:18 |
luzr wrote on Mon, 20 February 2006 08:25 |
Well, I am not sure - I think there always be GDI+ layer over Direct3D (at least, GDI+ now seems to me is the prefered graphics for .NET apps).
|
If so, we can stay with gdi+, less work to make Draw compatible with vista. However, using directx directly probably will be slightly faster and give us more flexibility.
|
From my googling experience directx is sometimes slower. And "slightly faster" is not an advantage. Especialy when you compare using canvas vs scanlines (AGG technology) - up to 1:300 speed:
Quote: | I timed both routines, calling each one of them ten times in a 1024x1024 bitmap. Button1Click averaged 7298ms per call, while Button2Click averaged 24ms per call. That’s about 300 times faster using scanlines.
|
http://bdn.borland.com/article/0,1410,29173,00.html
|
|
|
|
Goto Forum:
Current Time: Thu May 16 19:03:08 CEST 2024
Total time taken to generate the page: 0.02601 seconds
|