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">Gears สำหรับ Android เป็นท่าเรือที่มีการปรับเปลี่ยนอย่างมากที่มีชื่อเสียง "เกียร์" สาธิตเพื่อ Android
การสาธิต Gears เป็นโครงการที่มาเปิดจุดมุ่งหมายเพื่อช่วยให้นักพัฒนาเรียนรู้วิธีการสร้างโปรแกรม OpenGL ES บน Android การสาธิต Gears แต่เดิมเขียนโดยไบรอันพอลเป็นส่วนหนึ่งของโครงการ Mesa3D การปฏิบัติของฉันรวมถึงรูปแบบสำหรับ Java / OpenGL ES 1.x, Java / C / OpenGL ES 1.x และ Java / C / OpenGL ES 2.0 ฉันได้เพิ่มนอกจากนี้ยังมีคุณลักษณะหลายอย่างไม่พบในการดำเนินการตามเดิมรวมทั้งการสนับสนุนหน้าจอสัมผัส, VBOs และบนหน้าจอเคาน์เตอร์ FPS
FPS (เฟรมต่อวินาที) เคาน์เตอร์มักจะใช้เป็นตัวชี้วัดมาตรฐานสำหรับโปรแกรมกราฟิก บน Android อัตราเฟรมที่ถูก จำกัด ด้วย V-ซิงค์ (ปกติ 60 FPS) ซึ่งเป็นอัตราที่เร็วที่สุดที่จอแสดงผลที่สามารถฟื้นฟูหน้าจอ ตั้งแต่ Gears มีความสามารถในการแสดงผลได้เร็วกว่า V-ซิงค์กับอุปกรณ์ส่วนใหญ่จะให้มูลค่าการเปรียบเทียบจำนวน จำกัด</div> <div class="show-more-end">