Chromium Code Reviews| Index: chromecast/browser/cast_browser_main_parts.cc |
| diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc |
| index 8c29892c3514229b03d31414f50b81598ec160ef..2ee6edbdf5eb92681e7bb0b6071b9135c429ebb2 100644 |
| --- a/chromecast/browser/cast_browser_main_parts.cc |
| +++ b/chromecast/browser/cast_browser_main_parts.cc |
| @@ -343,6 +343,9 @@ void CastBrowserMainParts::PreMainMessageLoopRun() { |
| // Set GL strings so GPU config code can make correct feature blacklisting/ |
| // whitelisting decisions. |
| // Note: SetGLStrings MUST be called after GpuDataManager::Initialize. |
| + // TODO(j.isorce) move SetGLStrings call to PreCreateThreads, i.e. before |
| + // launching the gpu process since these infos are used to decide whether or |
|
jam
2016/02/10 18:32:33
why is this a todo instead of actually doing it?
|
| + // not to spawn it. |
| scoped_ptr<CastSysInfo> sys_info = CreateSysInfo(); |
| content::GpuDataManager::GetInstance()->SetGLStrings( |
| sys_info->GetGlVendor(), sys_info->GetGlRenderer(), |