Bug 914437 - Don't composite windows that are not open. r=mattwoodrow

--HG--
extra : rebase_source : b534eb4c339392c4a2ad60424510c7d264f13d3a
Bug 923114 - Clear the current GL context when we're about to destroy it. r=mattwoodrow

--HG--
extra : rebase_source : 6cb49ed36b4ca3196b047de3b929abbf0e323e84
Bug 923133 - Remove unneeded main thread GL context management in -[ChildView lockFocus]. r=mattwoodrow

--HG--
extra : rebase_source : 5098476ad30f13f2ea99e91ed0120b535ae53e78
Bug 886999 - Only call setView and update on the GL context when necessary. r=mattwoodrow

--HG--
extra : rebase_source : 5f8b7163cb234e39a4d39bd49e73c3c75017a674
Bug 914437 - Also refuse to render when our view is not attached to a window. r=mattwoodrow

--HG--
extra : rebase_source : 099a424e86b5d8bf7043bce4680091009e30aec7
Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow

--HG--
extra : rebase_source : 60930a858a5d52205703d14317312540387f269f
Bug 886999 - Wait until composition has finished before tearing down our NSView. r=mattwoodrow

--HG--
extra : rebase_source : 82e6860fa376bf8f411cc2c8c4bc12a43e584bbf