Initial port of JS canvas bindings to use QV4::Object subclass instead of V8 resources
authorSimon Hausmann <simon.hausmann@digia.com>
Fri, 10 May 2013 11:48:47 +0000 (13:48 +0200)
committerLars Knoll <lars.knoll@digia.com>
Fri, 10 May 2013 16:33:28 +0000 (18:33 +0200)
commit434b5cde86f9710c0b8ace6304674186c8c46e62
treec88c525c765124d776d853e9efa88ac3dffa2bc8
parent47556158a99904a768dfefb1172a8ccee13c4cda
Initial port of JS canvas bindings to use QV4::Object subclass instead of V8 resources

This patch comes with the same prototype injection as during the QML locale
patch. This will allow for incremental porting method by method for this huge
binding.

Change-Id: Ie258f021ac6f926302bb375a8ce7a12fb5e0512a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4managed_p.h
src/qml/qml/v8/qv8engine.cpp
src/qml/qml/v8/qv8objectresource_p.h
src/quick/items/context2d/context2d.pri
src/quick/items/context2d/qquickcanvascontext_p.h
src/quick/items/context2d/qquickcanvasitem.cpp
src/quick/items/context2d/qquickcontext2d.cpp
src/quick/items/context2d/qquickcontext2d_p.h
src/quick/items/items.pri