aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorMax Horn2009-02-24 21:15:23 +0000
committerMax Horn2009-02-24 21:15:23 +0000
commitd3b715817d15ac9548586e3461cd9030945a2cc8 (patch)
treeaa42c836cfd6105436506a5ac7cf6e5cd5df567b /common/system.h
parent91ee9a3eb8b23fdfbfa568e309dfa55542f5f248 (diff)
downloadscummvm-rg350-d3b715817d15ac9548586e3461cd9030945a2cc8.tar.gz
scummvm-rg350-d3b715817d15ac9548586e3461cd9030945a2cc8.tar.bz2
scummvm-rg350-d3b715817d15ac9548586e3461cd9030945a2cc8.zip
Add some remarks on OSystem::updateScreen() properties
svn-id: r38859
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h
index b4bbae017b..d5706e2244 100644
--- a/common/system.h
+++ b/common/system.h
@@ -522,7 +522,16 @@ public:
/**
* Flush the whole screen, that is render the current content of the screen
- * framebuffer (resp. the dirty/changed parts of it) to the display.
+ * framebuffer to the display.
+ *
+ * Depending on the backend, this can be a relatively slow operation. Since
+ * a full screen update could take place upon each call, you should call
+ * this method as rarely as possible, but of course still as often as
+ * necessary.
+ *
+ * @todo Yes, this is vague. We probably should try to specify this clearly.
+ * See <http://www.nabble.com/ATTN-porters%3A-updateScreen%28%29-OSystem-method-tt3960261.html#a3960261>
+ * for a discussion on the subject.
*/
virtual void updateScreen() = 0;