summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-08 13:45:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-08 13:45:17 -0600
commit709abbedae2e2fa5f7a68e6e14e254cf64d897ae (patch)
treeb1fbf91c9bc7ed27f3babffda5b1188b2678cfc8 /apps/graphics/traveler/Kconfig
parent2cf33eff014e7de2dab04d15159c75a976f337f9 (diff)
downloadnuttx-709abbedae2e2fa5f7a68e6e14e254cf64d897ae.tar.gz
nuttx-709abbedae2e2fa5f7a68e6e14e254cf64d897ae.tar.bz2
nuttx-709abbedae2e2fa5f7a68e6e14e254cf64d897ae.zip
Traveler: Add logic to limit the frame rate. This is kind of a silly feature -- why would you ever want to limit the frame rate? Well, you need to that on the simulated platform to make bandwidth for other things to run like the simulated timer
Diffstat (limited to 'apps/graphics/traveler/Kconfig')
-rw-r--r--apps/graphics/traveler/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/graphics/traveler/Kconfig b/apps/graphics/traveler/Kconfig
index 517cd2a0d..69790e8a5 100644
--- a/apps/graphics/traveler/Kconfig
+++ b/apps/graphics/traveler/Kconfig
@@ -26,6 +26,27 @@ config GRAPHICS_TRAVELER_DEFPATH
can be found. The default world file name is transfrom.wld (not
configurable).
+config GRAPHICS_TRAVELER_LIMITFPS
+ bool "Limit frame rate"
+ default y if ARCH_SIM
+ default n if !ARCH_SIM
+ ---help---
+ In the UNLIKELY event that the frame rate is too high, this option
+ may to selected to limit the frame rate to upper limit. This is
+ most likely not something that you either want or need to do.
+ However, in the special case of the PC-based simulation environment,
+ it turns out to be necessary to limit the frame rate in order to
+ allow other processing to occur. This is a consequence of the low
+ fidelity timing in the simulation.
+
+config GRAPHICS_TRAVELER_MAXFPS
+ int "Max frame rate"
+ default 30
+ depends on GRAPHICS_TRAVELER_LIMITFPS
+ ---help---
+ if GRAPHICS_TRAVELER_LIMITFPS is selected, then this is the maximum
+ frame rate that will be permitted.
+
config GRAPHICS_TRAVELER_PALRANGES
bool "Use ranged palette"