Re: Capture IWebBrowser image (call IViewObject::Draw from a different thread)



On May 14, 6:19 pm, "Igor Tandetnik" <itandet...@xxxxxxxx> wrote:
I don't think it's going to work, for lots of different reasons. Why do
you believe you need that?

Are you saying it's not possible to use the Draw method in a separate
thread, or it's not going to be working faster ?

The Draw method requires alot of time to execute (50-60ms depending on
the rectangle size of the object, the CPU speed, etc). Imagine I have
two objects like this and I call the Draw method for each of them - I
get 100ms delay in my render loop, so the fps are limited to 10fps. I
need the viewobject to draw asynchronously from the renderloop.
.


Loading