
28. Asynchronous Buffer Transfers 411
Architecture Performance
(ms/frame) improvement
vs. Method 1
hit due to shared
contexts (ms/frame)
Intel Core i5, NVIDIA GeForce GTX 470 2.1 ×1.33 +0.1
Intel Core 2 Duo Q6600, AMD HD 6850 7.5 ×0.48 +4.3
Intel Core i7, Intel GMA 3000 15.3 ×1.05 -0.1
Table 28.5. Rendering per formance for Method 3.
The renderer thread is responsible for
• setting shaders and uniforms,
• drawing b atches.
In this method, buffers are updated in the main thread. This includes call-
ing glMapBufferRange and glUnmapBuffer because the threads are sharing the
OpenGL rendering context. We get most of the benefits from the second method
(two threads ...