OpenGLShims.cpp has a getProcAddress function used for filling a function table with function pointers to OpenGL functions. This function is implemented for Qt and it assumes everything else uses unix commands like dlsym. I added a Windows implementation that uses the WinAPI to do the same thing. I stepped through it in the debugger, and this succeeds in filling the function table with valid function pointers when linking with ANGLE libraries (of which libGLESv2 is one).
Created attachment 205931 [details] Patch
Comment on attachment 205931 [details] Patch r=me
Comment on attachment 205931 [details] Patch Clearing flags on attachment: 205931 Committed r152325: <http://trac.webkit.org/changeset/152325>
All reviewed patches have been landed. Closing bug.
It seems like this patch broke Windows builds: http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/49992 http://build.webkit.org/builders/Apple%20Win%20Debug%20%28Build%29/builds/68153