Hi Marcus,
Marcus Lindblom wrote:
> Marcus Lindblom wrote:
>> When I render multi-threaded, I get some fbo-errors (I'm using my own
>> version of yvonne's FBOViewport), so I'll try to take care of those and
>> see what happens when that is resolved (I think the GL drivers chokes
>> early.). I won't do anything more before the holidays though. :)
>>
> I think this could be related to Viewport::initialize() being called in
> one thread but the rendering being done in another? However, I use the
> same context for both threads, so I should be ok, right?
Hm, not necessarily. :( Some stuff is kept in local variables inside the Window
class to avoid partial upstream changes invalidating things, so doing
render-related things like updating GLobjects in different treads can lead to
problems.
> How do you guys set things up with multi-threaded rendering? Is it
> usually a separate mutate-thread rather than rendering thread? Should
> that matter?
I don't think it should matter, as long as everything render-related is done in
one thread (which can be a little painful, sorry :().
Yours
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