speed regeneration screen and supportpartialupdate()
speed regeneration screen and supportpartialupdate()
hi all!
how to use partial update screen in dwgdirect?
i find two function
code:
dwgdirect\extensions\exrender\win\exgsgdivectorizedevice.cpp
bool exgsgdivectorizedevice::supportpartialupdate() const
{
return true;
}
dwgdirect\source\gs\gsbasevectorizer.cpp
bool odgsbasevectorizedevice::supportpartialupdate() const
{
return false;
}but i don't how to use it.
i think work full redraw sсreen in default.
last edited by
aziyatdinov@infrasoft.ru; 21st january 2009 at 07:10 amfff">.
the partial update functionality is completely rendering device dependent. this two overrides only instructs odgsbasevectorizedevice/view does current device support's partial update. partial update tehnique may be different in different vectorize devices.
you can see examples of partial update implementation in some dd render devices.
following dd vectorizers support partial update: windirectx, opengl and wingdi
following dd vectorizers not support partial update: winbitmap