Initial commit
Initial code dump...

Change-Id: Icd3957714f960cd61ea26dd352f9d881b3344fa3
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Animation system to run on the rendering thread

Initial code dump

Change-Id: I628e9ea14d9984e1d82502f77444313357275d94
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Another code dump to render thread animation system.

Change-Id: Id2b48f3188b3d0eb2ca02e1894bcde81afc9f9c3
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Compilefix

Change-Id: Ifa0f0a80a4d3f0a2bcfc95cc09c0cf1f8fa32610
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Order the translate for the position correctly

Change-Id: Ie00c090ed35d54b94428a4bf1fb166a4f1c85579
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
top-level .pro file

Change-Id: I9e43934e273b20e4af72dff86458c86cb7e6a7c7
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Introduce bounding area heuristic in overlaprenderer.

Instead of checking every rect, use a two-bounding rect heuristic to be
able to quickly determine that there's no intersection in many cases.

Results in an improvement from 23 fps to 34 fps in a list benchmark on
the raspberry pi.

Change-Id: I3e16d38c88edf1c91abdb5c0dd775b2786aa34c2
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Make windowmanager more robust and ready for prime time

Change-Id: I2b9720f488138b49ce7c2f695ad5635c5c046ae4
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Don't include Unix specific code on Windows.

Change-Id: I0c7de460f5f310f4e8af77e1b54771ea663d8094
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Compile on Windows.

Change-Id: I71d7792dc7a6f0c36764ca4e0aff705e7b5f0de5
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Added ListView benchmark.

Change-Id: I15ac80bff68c8e42a5e815b7b413af7b456ba3d4
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Some small optimizations to the overlaprenderer.

Use QPointF instead of QVector3D in the matrix multiplications since we
only care about the x and y coordinates.

Change-Id: I23d9cac0e7a2121acf7569664086f865fa338598
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Fixes for errors and warnings.

Change-Id: I8de6aef1fc125da009fd04183f291cac8464da5b
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Remove windowmanager as it is now part of the Qt Quick library

Change-Id: Ia0d0de07ff08e82efe8428f07b211af7608b7231
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Restructured the customcontext and made it slightly more pluggable.

Change-Id: I4f69b491bd34fbf866f3174437a1b12387d47677
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Introduce 'threaduploadtexture'

It will use a dedicated opengl context on the pixmap reader thread
to upload textures there for images marked with
Image.asynchronous: true. This saves both the swizzling (for embedded)
and upload being done in the rendering thread.

It crashes on mac currently, so there is something still missing,
but I want the code in the repo to play more around with it.

Change-Id: I3579e2c2e0fb5705975dede19a8bab1480bf28ac
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Introduced 'mactexture'

Apple offers a couple of interesting texture options, namele client storage
and shared storage. Client Storage means that glTexImage2D does not need
to take a copy of the pixel data as we guarantee that the bits stay
alive for the lifetime of the texture. Shared Storage enables DMA transfer
of the pixels into graphics memory.

Change-Id: Ifd898d76510830130e9c9c0eba4823a5c49aee37
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Preload the common materials

This increases startup time with several hundred milliseconds,
but it avoids hickups as new materials enter into the scene
during the first few seconds of the application.

This can be disabled with CUSTOMCONTEXT_NO_MATERIAL_PRELOADING

Change-Id: I5681289985c02562db08eb07284bf070155b970f
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Make Context request a depth buffer by default.

The default renderer needs this and if we want to do effects
in the overlap renderer, we also need this.

Change-Id: Ic36682be7d1ad02b06b8401cdefc9a3870c941ee
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>