This wiki is out of date, use the continuation of this wiki instead

Dump modes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:57, 2 December 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (12:04, 11 July 2008) (edit) (undo)
Sandman (Talk | contribs)
m (Notes)
 
(3 intermediate revisions not shown.)
Line 2: Line 2:
== Definition == == Definition ==
-Dump modes are used to define the type of dump, needed to be applied to the screen, by assigning them to the [[global variable]] [[dump_type]]. This influences how the screen is dumped after each frame. Dumping means sending frames to the video RAM, i.e. the displaying of frames on the monitor.+Dump modes are used to define the type of dump, needed to be applied to the screen, by assigning them to the [[global variable]] [[dump_type]]. This influences when and if [[graphic]]s of processes are drawn to the screen.
- +
-See also [[restore_type]] and [[restore modes]].+
== List == == List ==
Line 10: Line 8:
| ''Constant'' || - ''Value'' || - ''Description'' | ''Constant'' || - ''Value'' || - ''Description''
|- |-
-| PARTIAL_DUMP || - 0 || - Only updated (changed) graphics will be dumped (default).+| PARTIAL_DUMP || - 0 || - Only graphics of updated (changed) [[processes]] will be drawn (default).
|- |-
-| COMPLETE_DUMP || - 1 || - All graphics will be dumped, whether they've changed or not.+| COMPLETE_DUMP || - 1 || - Graphics of all [[processes]] will be drawn, whether they've changed or not.
|} |}
 +
 +== Notes ==
 +It is clear that completely drawing all processes every frame is more expensive then updating only some of them. This mode can be useful still, because partially drawing processes can cause probably unwanted effects in some situations, mostly in combination with a certain [[restore_modes]]. However, if you experience no such thing, you can use the partial drawing.
 +
 +PARTIAL_DUMP is useful if there is relatively not much changing to processes and when there are a lot of processes that don't need updating. COMPLETE_DUMP is useful if most processes need updating.
 +
 +Be certain [[restore_type]] is compatible with the dump_type set, because some combinations can cause probably unwanted effects.
 +
 +== See also ==
 +* [[dump_type]]
 +* [[restore_type]]
 +* [[restore_modes]]

Current revision


Contents

[edit] Definition

Dump modes are used to define the type of dump, needed to be applied to the screen, by assigning them to the global variable dump_type. This influences when and if graphics of processes are drawn to the screen.

[edit] List

Constant - Value - Description
PARTIAL_DUMP - 0 - Only graphics of updated (changed) processes will be drawn (default).
COMPLETE_DUMP - 1 - Graphics of all processes will be drawn, whether they've changed or not.

[edit] Notes

It is clear that completely drawing all processes every frame is more expensive then updating only some of them. This mode can be useful still, because partially drawing processes can cause probably unwanted effects in some situations, mostly in combination with a certain restore_modes. However, if you experience no such thing, you can use the partial drawing.

PARTIAL_DUMP is useful if there is relatively not much changing to processes and when there are a lot of processes that don't need updating. COMPLETE_DUMP is useful if most processes need updating.

Be certain restore_type is compatible with the dump_type set, because some combinations can cause probably unwanted effects.

[edit] See also

Personal tools