Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Asynchronous texture, model loading
06-06-2011, 10:35 AM,
#3
 
I like thread pools where you can send a self-contained task to a pool of worker threads and it automatically gets scheduled and executed. Does boost do that? I know OpenTBB does, but that's pretty heavy-weight.

I think we should strip the OpenGL calls out of the loader and just do the rest of the work (which is hopefully the heavy lifting) in the separate thread and then have the main thread do the OpenGL calls (with some kind of rate limit). Hopefully, the loader code is mostly free of side-effects once the OpenGL stuff is stripped out.

Why do you want to make the track loader run in a separate thread? I don't think it will speed up the loading, unless you run multiple loader threads and divide up the work. Is that your plan?
Reply


Messages In This Thread
Asynchronous texture, model loading - by NaN - 06-02-2011, 09:45 PM
[No subject] - by NaN - 06-02-2011, 09:49 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-06-2011, 10:35 AM
[No subject] - by NaN - 06-06-2011, 01:35 PM
[No subject] - by NaN - 06-06-2011, 02:39 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-07-2011, 10:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)