Original Post
I need to display a bitmap as fast as possible, will dx be faster than .net 4 GDI?
This is my syntax:
accept connection on a listening socket
recieve a bit of stuff including image dimentions
create a dx device if dx is faster than gdi
start a loop
get the bitmap from the socket
show the bitmap
loop again
with gdi it takes an imense 100ms to splash out a bitmap on a picturebox in a form i have had limited success with slimdx dx9 and the image got streched and distorted and the bitmap keeps getting corrupt and dx throws an exception and yes i have a loop for the socket.receive.
So then can someone give me some plain simple and dirty samples i can try?
This is my syntax:
accept connection on a listening socket
recieve a bit of stuff including image dimentions
create a dx device if dx is faster than gdi
start a loop
get the bitmap from the socket
show the bitmap
loop again
with gdi it takes an imense 100ms to splash out a bitmap on a picturebox in a form i have had limited success with slimdx dx9 and the image got streched and distorted and the bitmap keeps getting corrupt and dx throws an exception and yes i have a loop for the socket.receive.
So then can someone give me some plain simple and dirty samples i can try?