Working with dedicated OpenGL thread.