[WebGL][EFL][Qt][GTK] Jelly fishes leave trails on webgl canvas.
authorHuang Dongsung <luxtella@company100.net>
Tue, 14 Jan 2014 13:20:13 +0000 (14:20 +0100)
committerAllan Sandfeld Jensen <allan.jensen@digia.com>
Tue, 14 Jan 2014 13:20:13 +0000 (14:20 +0100)
commita84c6dda2ab79017b9fbaa5cfd6ca554654913ac
tree6b678b6354482bfd4ed06068f2a2e28733daf25d
parent970b44d61c9adc51c586069adc902e90bab09666
[WebGL][EFL][Qt][GTK] Jelly fishes leave trails on webgl canvas.
https://bugs.webkit.org/show_bug.cgi?id=105326

Reviewed by Noam Rosenthal.

Clear a drawing buffer after compositing if preserveDrawingBuffer is
false.
http://www.khronos.org/registry/webgl/specs/latest/#2.2

No new tests. Covered by existing webgl-preserve-drawing-buffer-repaint test.

* platform/graphics/cairo/GraphicsContext3DPrivate.cpp:
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
* platform/graphics/efl/GraphicsContext3DPrivate.cpp:
(GraphicsContext3DPrivate::copyToGraphicsSurface):
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::paintToTextureMapper):
(WebCore::GraphicsContext3DPrivate::copyToGraphicsSurface):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cairo/GraphicsContext3DPrivate.cpp
Source/WebCore/platform/graphics/efl/GraphicsContext3DPrivate.cpp
Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp