Mandoline: CommandBufferSyncPointClientPtr was being destroyed on the wrong thread
commit76903100d72111c60fba0ea6b409cf5a16fb8612
authorfsamuel <fsamuel@chromium.org>
Tue, 23 Jun 2015 16:55:15 +0000 (23 09:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Jun 2015 16:55:44 +0000 (23 16:55 +0000)
treea3cf70da1d15322b1712421c631614c75be43fa9
parenta9ea456321c08217970bdf9aa9086707273cfc35
Mandoline: CommandBufferSyncPointClientPtr was being destroyed on the wrong thread

CommandBufferSyncPointClientPtr was being destroyed on the driver thread instead
of the control thread which was causing all kinds of non-determistic behavior.

The effect of this bug was exacerbated by ongoing support for multiple windows
in Mandoline.

BUG=496935

Review URL: https://codereview.chromium.org/1197313003

Cr-Commit-Position: refs/heads/master@{#335681}
components/view_manager/gles2/command_buffer_impl.cc