| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Config.cpp | ||
| Config.h | ||
| Display.cpp | ||
| Display.h | ||
| Surface.cpp | ||
| Surface.h | ||
| libEGL.cpp | ||
| libEGL.def | ||
| libEGL.vcproj | ||
| main.cpp | ||
| main.h |
Trying to fix bug crash when eglCreateWindowSurface (or any other code that causes createDevice to be invoked) is called and CreateDevice reports DEVICELOST or NOTAVAILABLE. This was a Windows XP service pack 3 box. 0x10002545 [libegl.dll - display.cpp:340] egl::Display::createDevice() 0x10002912 [libegl.dll - display.cpp:468] egl::Display::getDevice() 0x01d6a80f [chrome.dll - gpu_info_collector_win.cc:29] gpu_info_collector::CollectGraphicsInfo(GPUInfo *) 0x01d68eca [chrome.dll - gpu_thread.cc:104] GpuThread::OnEstablishChannel(int) Previously createDevice only checked for out of memory and the ASSERT(SUCCEEDED(result)) has no effect in release builds. I simulated the failure in a debugger and discovered a second place where a null dereference would occur in this case. I don't think this crash is technically correct but it prevents crashes. Review URL: http://codereview.appspot.com/2217043 git-svn-id: https://angleproject.googlecode.com/svn/trunk@428 736b8ea6-26fd-11df-bfd4-992fa37f6226
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Config.cpp | Loading commit data... | |
| Config.h | Loading commit data... | |
| Display.cpp | Loading commit data... | |
| Display.h | Loading commit data... | |
| Surface.cpp | Loading commit data... | |
| Surface.h | Loading commit data... | |
| libEGL.cpp | Loading commit data... | |
| libEGL.def | Loading commit data... | |
| libEGL.vcproj | Loading commit data... | |
| main.cpp | Loading commit data... | |
| main.h | Loading commit data... |