Original Post
Hey!
I''ve loaded a texture and passed it to VRam with glTexImage2D while my engine is running. This way I noticed ugly slowdowns.
So I''d like to do it in a separate thread. Because I''m quite new to multithreading, I''d like to know two things:
1) Will this solve the slowdowns or at least speed it up a bit? I don''t need the texture at once, so the separate thread may run for a few frames, I don''t care.
2) How will the graphics hardware react to multithreading? If my main thread happens to draw some triangles while the separate thread calls glTexImage2D, will it crash or will it work?