commit | 5b860bd1502a646db283473be4d68d275d51a002 | [log] [tgz] |
---|---|---|
author | sadrul <sadrul@chromium.org> | Mon Sep 26 20:15:34 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 26 20:18:23 2016 |
tree | 39731488b236102f4859837fb8f448a52802552f | |
parent | eba3cbe288ece8495c50a5793b4164bb328d7096 [diff] |
services/ui: Initialize all of gpu in one thread. The current code initializes GL, some of the gpu components (e.g. GpuMemoryBufferFactory) in one thread, and then uses them in the gpu thread. This is not correct, and causes some platforms to also crash. So, move all of GL/gpu initializations into the dedicated gpu thread. BUG=none Review-Url: https://codereview.chromium.org/2366623002 Cr-Commit-Position: refs/heads/master@{#420974}