Call eglMakeCurrent function before glReadPixels.
authorYongGeol Jung <yg48.jung@samsung.com>
Thu, 6 Sep 2012 02:02:13 +0000 (11:02 +0900)
committerYongGeol Jung <yg48.jung@samsung.com>
Fri, 7 Sep 2012 06:56:04 +0000 (15:56 +0900)
commit9605693dec310fa5dc95e096560e5fca1cb5c9c7
tree88699811001ff6876f5611a0c7718aae462c5808
parent8755ee6250c80b1ef97e84732b078f2ea2bd5e19
Call eglMakeCurrent function before glReadPixels.

[Title] Call eglMakeCurrent function before glReadPixels.
[Issue#] N/A
[Problem] glReadPixels function doesn't return proper data if called multiple times in same frame.
[Cause] N/A
[Solution] Call eglMakeCurrent function before glReadPixels.

Change-Id: Ie38aeddde3afa0ca979be22605c0a43088391699
Source/WTF/wtf/Platform.h
Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.cpp
Source/WebCore/platform/graphics/efl/GraphicsContext3DOffscreen.h