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">Bánh răng cho Android là một cảng thay đổi rất nhiều trong những nổi tiếng "bánh răng" demo cho Android.
Demo Gears là một dự án mã nguồn mở nhằm giúp các nhà phát triển hiểu làm thế nào để tạo ra các chương trình OpenGL ES trên Android. Demo Gears ban đầu được viết bởi Brian Paul như một phần của dự án Mesa3D. Thực hiện của tôi bao gồm các biến thể cho Java / OpenGL ES 1.x, Java / C / OpenGL ES 1.x và Java / C / OpenGL ES 2.0. Tôi cũng đã thêm một số tính năng không tìm thấy trong việc thực hiện ban đầu bao gồm hỗ trợ màn hình cảm ứng, VBOs và trên màn hình FPS truy cập.
FPS (khung hình mỗi giây) truy cập thường được sử dụng như một thước đo chuẩn cho các chương trình đồ họa. Trên Android tỷ lệ khung hình bị giới hạn bởi v-sync (thường là 60 FPS) là tốc độ nhanh nhất mà một màn hình hiển thị có thể làm mới màn hình. Từ Gears có khả năng render nhanh hơn nhiều so v-đồng bộ trên các thiết bị nó cung cấp giá trị chuẩn hạn chế.</div> <div class="show-more-end">