DescriptionThe 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/
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71655
Patch Set 1 #Patch Set 2 : Linter. #Patch Set 3 : Try rebasing off of ToT. #
Messages
Total messages: 4 (0 generated)
|