fixed Check MakeCurrent error for cairo gles
authorKyungjin Kim <gen.kim@samsung.com>
Fri, 29 Mar 2013 10:25:23 +0000 (19:25 +0900)
committerKyungjin Kim <gen.kim@samsung.com>
Fri, 29 Mar 2013 10:40:43 +0000 (19:40 +0900)
commitc013b78fd7348aa9a15cd33bae46473b5ac26009
tree39bdefdd3efa1b3945e3648e6866862131d70bca
parent73634d5726a1a0337f27c59d30eb5eba6043005a
fixed Check MakeCurrent error for cairo gles

[Title] fixed Check makeCurrent error for cairo gles
[Issue#] N/A
[Problem] Check MakeCurrent error happens in DDK when destroying ImageBuffer
[Cause] Because we don't call makeCurrent for gl surface, some gl calls could remain although the context already gone
[Solution] fixed to call glFlush to make sure all gl calls have been committed before destroying pixmaps

Change-Id: I7a3e7edb661985b55cc41e26767613493d2d7cb5
Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp