diff options
author | Samuel Rødal <srodal@gmail.com> | 2014-10-29 14:03:44 +0100 |
---|---|---|
committer | Samuel Rødal <srodal@gmail.com> | 2014-11-04 15:17:55 +0100 |
commit | cab992ea0898676ba83ca5eb95d346bfa185421e (patch) | |
tree | e8fe9a8c678b33fb8c62d1fa35906f59d19766e5 /Source/JavaScriptCore/Scripts/generate-js-builtins.py | |
parent | b4f2205830a4dc199452bc26fb8cab6741a3d4e7 (diff) | |
download | qtwebkit-cab992ea0898676ba83ca5eb95d346bfa185421e.tar.gz |
Fixed self-drawing of 2D canvas with accelerated 2D canvas enabled.
The canvas 2D API allows drawing the canvas onto itself, however with
accelerated 2D canvas enabled the canvas is implemented in terms of
rendering to a texture using framebuffer objects. OpenGL does not allow
having the same texture be both a source and a destination in the same
rendering operation, so the results are undefined.
Instead, we need to blit the texture into a temporary framebuffer
object, before using that as the source of the final drawing operation.
Task-number: QTBUG-42275
Change-Id: I8114814dab2c8c6ca90b8d35a37b383b79923cb3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'Source/JavaScriptCore/Scripts/generate-js-builtins.py')
0 files changed, 0 insertions, 0 deletions