Implement OpenGL support in SDL.
Implement OpenGL support in SDL.

This is don't by implemented the few OpenGL setup routines
needed by SDL, and relying on Regal to translate desktop
GL calls to GLES2.

This has only been tested so far with the simple SDL
testgl example.

BUG= https://code.google.com/p/naclports/issues/detail?id=74
TEST=run testgl example in chrome
R=binji@chromium.org

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

git-svn-id: 84b3587ce119b778414dcb50e18b7479aacf4f1d@787 7dad1e8b-422e-d2af-fbf5-8013b78bd812

kuscsik/naclports,Schibum/naclports,dtkav/naclports,kuscsik/naclports,adlr/naclports,adlr/naclports,adlr/naclports,yeyus/naclports,adlr/naclports,binji/naclports,clchiou/naclports,yeyus/naclports,binji/naclports,clchiou/naclports,Schibum/naclports,binji/naclports,dtkav/naclports,yeyus/naclports,dtkav/naclports,Schibum/naclports,kuscsik/naclports,yeyus/naclports,binji/naclports,kosyak/naclports_samsung-smart-tv,clchiou/naclports,dtkav/naclports,kosyak/naclports_samsung-smart-tv,clchiou/naclports,yeyus/naclports,Schibum/naclports,Schibum/naclports,clchiou/naclports,dtkav/naclports,yeyus/naclports,kosyak/naclports_samsung-smart-tv,adlr/naclports,kuscsik/naclports,kosyak/naclports_samsung-smart-tv,Schibum/naclports,binji/naclports,kosyak/naclports_samsung-smart-tv,kuscsik/naclports