Changes between Version 5 and Version 6 of GraphicsApi


Ignore:
Timestamp:
Sep 2, 2007, 11:40:52 AM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GraphicsApi

    v5 v6  
    55The only constraints on this program are:
    66
    7  * If invoked with `--fullscreen`, it must open a full-screen borderless window, and must exit when mouse or keyboard input occurs.
    8  * If not invoked with `--fullscreen`, it must open a standard window; in this case it may handle mouse/keyboard input.
     7 * If invoked with `--fullscreen`, it opens a full-screen borderless window, and must exit when mouse or keyboard input occurs.
     8 * If not invoked with `--fullscreen`, it opens a standard window, and it may handle mouse/keyboard input.
     9
     10The graphics app is launched by the BOINC Manager and by the screensaver.
     11It may be killed at any time.
     12Multiple instances of the graphics app may run at the same time
     13(e.g. if the user opens a graphics window via the Manager,
     14and then the screensaver runs and launches another instance).
    915
    1016The BOINC graphics API (described below) provides cross-platform support for
     
    6571 cpu_time:: The last CPU time reported by the main app.
    6672 status:: The BOINC status.  If the 'suspended' flag is set, the graphics app should stop changing its display, and simply display an "application suspended" message.
     73
     74You may want to use a semaphore to synchronize access to the shared memory.
     75Keep in mind that multiple instances of the graphics app may run simultaneously;
     76avoid having the graphics app write to the shared memory.