Gears for Android is a heavily modified port of the famous "gears" demo to Android.
The Gears demo is an open source project intended to help developers learn how to create OpenGL ES programs on Android. The Gears demo was originally written by Brian Paul as part of the Mesa3D project. My implementation includes variations for Java/OpenGL ES 1.x, Java/C/OpenGL ES 1.x and Java/C/OpenGL ES 2.0. I have also added several features not found in the original implementation including touch screen support, VBOs and an on-screen FPS counter.
The FPS (frames-per-second) counter is often used as a benchmark metric for graphics programs. On Android the frame rate is limited by v-sync (typically 60 FPS) which is the fastest rate that a display can refresh the screen. Since Gears is capable of rendering much faster than v-sync on most devices it provides limited benchmarking value.
</div> <div jsname="WJz9Hc" style="display:none">齿轮for Android则是著名的“齿轮”演示到Android大量修改后的端口。
齿轮演示是一个开源项目,旨在帮助开发人员了解如何创建OpenGL ES的程序在Android。布赖恩·保罗一部分Mesa3D项目最初是由齿轮演示。我的实现包括的Java / OpenGL ES 1.x中的,与Java / C /的OpenGL ES 1.x和与Java / C / OpenGL ES 2.0的变化。我也增加了一些功能,没有发现在原来的执行,包括触摸屏的支持,维也纳各组织和屏幕上的FPS计数器。
FPS(帧每秒)计数器经常被用来作为基准度量图形程序。在Android上的帧速率是有限的垂直同步(通常为60 FPS),这是最快的速度,可以刷新屏幕显示。由于Gears是能够更快的渲染比V同步在大多数设备上提供有限的标杆价值。</div> <div class="show-more-end">