Removed the remaining invokeMethod calls

Change-Id: Ief2c39fd4ec0d985ed8184e33bde0190b8b338cf
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Fixed plugin deployment

Change-Id: Ic0ac08e4f0a59b1829ef591b997c12d9b294c06c
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Fixed OpenGL ES 3 incompatibility.

Fixed surface format initialization to use OpenGL ES 2.0 on OpenGL ES 3.0 capable devices.

Change-Id: I2bb77294af47211f4b72c4d06a5d4c794be134cd
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Removed dynamic_cast

Removed dynamic_cast that is not supported in embedded environments and added custom type info to arrays.

Change-Id: I44a8546c59f35ff8ecadd925e801f21a94ebdd87
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Added some missing functions and flip-Y unpack extension.

Listed all missing functions and implemented drawingBufferWidth(), drawingBufferHeight(), getActiveAttrib(), getActiveUniform() functions.
Removed default Y-flip and implemented support for UNPACK_FLIP_Y_WEBGL, this breaks functionality but now behavior is consistent with the spec.

Change-Id: Ie6ff879f5b7acea713ab4729eccc6c8948ad394f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Updated examples

Previous commit changed the way textures are loaded, so an update is
needed to examples that use textures.

Change-Id: I18c0d9e8dac555d2dc5012ca6477b9e515c5e82f
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Fixed a bug in texture image format conversion

Change-Id: Ic9da44711fbf5107ba4ad5648cb57a82d562e51c
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Implemented getAttachedShaders method.

Also fixed some of the potential null pointer issues if using shader methods on deleted shader objects.

Change-Id: Ied254c1f96f283ba2f48f5a453c38bb7d7981a60
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Added stencil functions.

Also reformatted some of the existing qdocs to use bulleted lists for enumeration options.

Change-Id: Icf36f0c6918f5d65939f4b146ee8f3537250769e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Implemented vertexAttrib functions for VariantLists.

Change-Id: I319a9ca8838fe2f68182c2b42c64bd02b40d2280
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Reformatted debug message writes.

To fit within the 100 character limit and to make the output uniform.

Change-Id: I91f5a346a72cdc4e588a6e8f5990e2ceedcdba27
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Fixed memleak in texImage2D.

Fixes temporary pixel buffers not being deleted when no pixels were given as input.

Change-Id: I78071f566b00457f33fa204e5d516581cb91f042
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Implemented four missing methods.

Implemented parameter get methods and the getUniform method.

Change-Id: I1d9bf9e215b0d5085062be9d558e0880fa898332
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Last missing methods.

Also adds CanvasBuffer copy constructor and refactors getUniform to return a QVariant instead of QVariantList to be more in line with the spec.

Change-Id: I626e4b41acdceae7ce8ccbcca8f9577fea09d4b7
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>
Updated .qmltypes

Now the typeinfo parsing works in QML

Change-Id: Ie74831f5e332fe406d9bc9f4f93866693d69b318
Reviewed-by: Pasi Keränen <pasi.keranen@digia.com>