summaryrefslogtreecommitdiffstats
path: root/src/scenegraph/coreapi/qsgcontext.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-12-08 09:04:06 +0100
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-12-08 09:04:06 +0100
commit56bf92c816687942670cfd599b76f00705392d2e (patch)
tree4d0f21a3f414b0e7b853589ddb018cab48657dc0 /src/scenegraph/coreapi/qsgcontext.h
parenta2e244eb4a958d3f8adc42d364def21ff8ea7f20 (diff)
Asynchronous texture loading on the rendering thread.
Split the textures up into 64x64 chunks and only process textures for a few ms prior to each frame...
Diffstat (limited to 'src/scenegraph/coreapi/qsgcontext.h')
-rw-r--r--src/scenegraph/coreapi/qsgcontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scenegraph/coreapi/qsgcontext.h b/src/scenegraph/coreapi/qsgcontext.h
index 90f7451..afdb34b 100644
--- a/src/scenegraph/coreapi/qsgcontext.h
+++ b/src/scenegraph/coreapi/qsgcontext.h
@@ -38,6 +38,8 @@ public:
bool isReady() const;
+ virtual void renderNextFrame();
+
virtual RectangleNodeInterface *createRectangleNode();
virtual TextureNodeInterface *createTextureNode();
virtual GlyphNodeInterface *createGlyphNode();
@@ -46,6 +48,8 @@ public:
signals:
void ready();
+
+ void aboutToRenderNextFrame();
};
#endif // QSGCONTEXT_H