?? readme.txt
字號:
You need a toolchain set up to compile this. See e.g. http://iphone.fiveforty.net/wiki/index.php/Toolchain_Project.Copy OpenGLES to whereever the rest of your framework includes are. Some existing distributions have OpenGLES/gl.h, but are typically missing egl.h and egltypes.h. Just replace with the contents of the OpenGLES found here.Now, build with 'make', this will produce an executable, GLTest.Because by default the GL renderer writes directly to the framebuffer, there are contention issues with the iPhone UI. (Unfortunately the direct display API to gain control of the display is not present in the iPhone CG libs.) Thus the best way to run the resulting executable is to copy it over to the phone and run it from the command line (e.g. via ssh) while the Springboard is showing, as that does not try to update the display except during mail or phone alerts.If you have ssh set up (preferably with public key authorization so you don't have to keep typing passwords), and adjust IPHONE_IP in the makefile, 'make run' will take care of copying over the binary and running it.A.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -