Do not call eglMakeCurrent multiple times.
authorYongGeol Jung <yg48.jung@samsung.com>
Wed, 5 Sep 2012 09:34:27 +0000 (18:34 +0900)
committerYongGeol Jung <yg48.jung@samsung.com>
Thu, 6 Sep 2012 03:05:55 +0000 (12:05 +0900)
commitd83588c0c56b4aa5e642fcd78aa3186203ab37e8
treeed02df7911fa6b74869fdcc670ed8cd917d7a75c
parent3eabb3d8c99d58e5ec3bec820fed3b985c84bfff
Do not call eglMakeCurrent multiple times.

[Title] Do not call eglMakeCurrent multiple times.
[Issue#] N/A
[Problem] WebGL performance is very poor on emulator.
[Cause] eglMakeCurrent function was called every time for gl commands.
[Solution] Do not call eglMakeCurrent multiple times.

Change-Id: I5bf02a78ea672d76d2dce5ce5584a003aea3d6f2
Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.cpp