The GPU process cannot be placed on a UI thread in --single-process mode...
The GPU process cannot be placed on a UI thread in --single-process mode because glib is not thread safe. This patch moves it onto a IO thread instead. Connections to the X server are not thread safe. I've made changes so that each thread gets it's own connection. Finally, GpuHostMsg_GetViewXID needed to be needed to be sent from the thread added to GpuChannel instead of ChildThread::current(). BUG=69674 TEST=try --single-process with --enable-accelerated-layers on http://webkit.org/blog/386/3d-transforms/ Review URL: http://codereview.chromium.org/6340004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71655 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment