查看单个帖子
旧 2009-05-07, 04:16 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】speed Regeneration Screen And Supportpartialupdate90

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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)