-
Committer:
Alexandros Frantzis
-
Date:
2013-08-02 07:47:38 UTC
-
Revision ID:
alexandros.frantzis@canonical.com-20130802074738-vbdlqkf3rq960vox
compositor: Don't allow concurrent creation of GLRenderers
We need to serialize renderer creation because some GL calls used during
renderer construction that create unique resource ids (e.g. glCreateProgram)
are not thread-safe when the threads have the same or shared EGL contexts.