Hi Olavo,

Olavo Belloc wrote:
> 
> Well, there is no situation when its necessary to change both read/draw 
> buffers at the same time. So, when its necessary to change only one of 
> those, the activate method must be used, and both are changed. So I 
> though it could cause some performance issues (?). I am not sure of that.

It could, yes.

> So, there could be an activateSize() method (only for glViewport)? I 
> could call it from the activate() method anyway, but someone wishing to 
> change only the size of it very frequently could call only activateSize().

Given that it would only do glViewport, we could probably just call that 
directly and not wrap it in an extra method.

> Hm, just to report, the glViewport is not at the RenderAction (start() 
> method) anymore, so, someone implementing new viewports should call the 
> activate() method before the RenderAction apply().

OK, good. I don't think anybody's working on any right now, so that should be 
fine.

Thanks

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to