Hi,
this probaly isnt the most relevant place to ask this,
but Im using a windows forms in c# timer to process user input
and invalidate a window if its changed.
Im having problems in that the OnPaint messages arnt synchronized to
the vertical refresh wich from what I read I had understood that
there was supposed to be some synchronization .
im using directx to draw the window, its a 3d model editor
wich has multiple 3d windows wich need to be rendered as they
become invalidated rather than a game where it can just render at maximum
rate.
there is a visible tearing wich moves up the screen each frame.
If I use the directx synchronization the problem is worse
as the frame rate periodically drops to half as it misses frames
to keep it in synch.
any ideas ?
thanks
Colin =^.^=
this probaly isnt the most relevant place to ask this,
but Im using a windows forms in c# timer to process user input
and invalidate a window if its changed.
Im having problems in that the OnPaint messages arnt synchronized to
the vertical refresh wich from what I read I had understood that
there was supposed to be some synchronization .
im using directx to draw the window, its a 3d model editor
wich has multiple 3d windows wich need to be rendered as they
become invalidated rather than a game where it can just render at maximum
rate.
there is a visible tearing wich moves up the screen each frame.
If I use the directx synchronization the problem is worse
as the frame rate periodically drops to half as it misses frames
to keep it in synch.
any ideas ?
thanks
Colin =^.^=
Comment