
2 questions
i got two probably fairly simple questions. I consider myself a newbie and havent really got that much experience with game programming. Anyways ... Here''s qhat id like to know:
1)
How fast is a directdraw colorfill ?... Is it faster than blitting a fullscreen bitmap... The same amount of data will need to be transfered... or not ?
2)
Why am i locking my directdraw surfaces ? ... my apps seems to work just as well if i dont.
Thanx

1) colorfill is faster, i don''t know why but it is written down somewhere.
2) you can lock surfaces to access their memory directly, for example to perform translucent blits between surfaces.
however you don''t need to do this if you don''t want to manipulate the surface data on your own
2) you can lock surfaces to access their memory directly, for example to perform translucent blits between surfaces.
however you don''t need to do this if you don''t want to manipulate the surface data on your own
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement