Document Android callbacks
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1337 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
807d5b9e49
commit
0f6399c878
@ -169,6 +169,8 @@ Done:
|
|||||||
(using -DFREEGLUT_GLES1 and -DFREEGLUT_GLES2)</li>
|
(using -DFREEGLUT_GLES1 and -DFREEGLUT_GLES2)</li>
|
||||||
<li>GLES1 and GLES2 support for geometry</li>
|
<li>GLES1 and GLES2 support for geometry</li>
|
||||||
<li>Pause/resume application support</li>
|
<li>Pause/resume application support</li>
|
||||||
|
<li>Callback to reload OpenGL resources lost during a pause</li>
|
||||||
|
<li>Callback for pause/resume notifications</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
@ -179,9 +181,7 @@ TODO:
|
|||||||
structure</li>
|
structure</li>
|
||||||
<li>API to detect touchscreen presence</li>
|
<li>API to detect touchscreen presence</li>
|
||||||
<li>API (or configuration file?) to disable assets extraction</li>
|
<li>API (or configuration file?) to disable assets extraction</li>
|
||||||
<li>Callback to reload OpenGL resources lost during a pause</li>
|
<li>Accelerometer as a joystick input</li>
|
||||||
<li>Callback for pause/resume notifications</li>
|
|
||||||
<li>Accelerometer?</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
Possibly implemented later:
|
Possibly implemented later:
|
||||||
@ -195,6 +195,16 @@ Possibly implemented later:
|
|||||||
<a name="api"></a>
|
<a name="api"></a>
|
||||||
<h1>New API</h1>
|
<h1>New API</h1>
|
||||||
|
|
||||||
|
These new callbacks were added :
|
||||||
|
<ul>
|
||||||
|
<li><code>glutInitContextFunc <- void</code> : called when the context
|
||||||
|
is initialized or re-initialized (e.g. after a pause)</li>
|
||||||
|
<li><code>glutPauseFunc <- void</code> : called when the application
|
||||||
|
goes on a pause (or a stop)</li>
|
||||||
|
<li><code>glutResumeFunc <- void</code> : called when the application
|
||||||
|
comes back from a pause (after <code>glutInitContextFunc</code>)</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
New functions will be necessary to :
|
New functions will be necessary to :
|
||||||
<ul>
|
<ul>
|
||||||
<li>detect touchscreen presence</li>
|
<li>detect touchscreen presence</li>
|
||||||
|
Reference in New Issue
Block a user