【實用程式庫與試用程式app】Compare Sprite Draw Method|最夯免費app

【實用程式庫與試用程式app】Compare Sprite Draw Method|最夯免費app

分享好友

【免費程式庫與試用程式App】Compare Sprite Draw Method-APP點子

This app is targeted at developers, or anyone curious about performance differences between OpenGL and Canvas. Specifically, it measures the performance of drawing 2D sprites explicitly using OpenGL ES 2.0 with a hybrid of Java and C, and drawing 2D sprites using Canvas with Java.

When you are done running a test, you can see a benchmark analysis of the performance by pressing the device's back button.

It is similar to Sprite Method Test by Chris Pruett, but it is updated for OpenGL ES 2.0. His Sprite Method Test runs the outdated ES 1.0, and is broken on Jelly Bean (because of tripple buffering).

This app works on all devices which support OpenGL ES 2.0.

This is ad-free and nag-free.

More details:

Specifically, this app measures the performance of drawing 2D sprites explicitly using OpenGL ES 2.0 with a hybrid of Java and C, and drawing 2D sprites using Canvas with Java.

On every frame:

The background color shifts slightly, pulsing between red and white.

【免費程式庫與試用程式App】Compare Sprite Draw Method-APP點子

Each sprite moves a random (Gaussian) amount. If the center of a sprite goes over an edge of the screen, the sprite moves to a random screen location.

The Canvas test uses a SurfaceView and Canvas.drawBitmap(). All the calculations are done in Java (using Random.nextGaussian() and Random.nextFloat()) on a float[].

The OpenGL ES 2.0 tests use a GLSurfaceView in Java. Calculation is done in C (using drand48() and an inline C equivalent of Java's Gaussian algorithm) on a native float[]. Drawing is also done in C, using glDrawArrays(GL_POINTS, ...). C (NDK) methods are called every frame from Java through the JNI.

All tests have the identical overhead of profiling operations in Java.

Statistics:

The FPS information is about when frames are actually posted to the screen (technically, the SurfaceFlinger).

The Draw information is about the time it takes to issue (and glFlush() + glFinish(), in the OpenGL test) the drawing commands. It does not count the time to actually flip screen buffers.

【免費程式庫與試用程式App】Compare Sprite Draw Method-APP點子

The Push information (VBO only) is about the time it takes to push the vertex data to the GPU buffer. This will often be <.5ms (which rounds to 0.000s) per frame. When using the non-VBO OpenGL test, this time is essentially included in the draw time instead. In practical applications, it might take longer to push data to the GPU. This example contains only one VBO (or Vertex array) with 2 floats per sprite. Practical applications would have more data (such as size and texture information).

The Calc information is about the time it takes to calculate a frame's background color and the new position of each sprite. When JIT is enabled, calculation time is comparable between the Java (Canvas) test and the native (Open GL) tests, but with JIT disabled, Java suffers a significant penalty.

【免費程式庫與試用程式App】Compare Sprite Draw Method-APP點子

免費玩Compare Sprite Draw Method APP玩免費

免費玩Compare Sprite Draw Method App

Compare Sprite Draw Method APP LOGO

Compare Sprite Draw Method LOGO-APP點子

Compare Sprite Draw Method APP QRCode

Compare Sprite Draw Method QRCode-APP點子
熱門國家系統支援版本費用APP評分上架日期更新日期
未知Android
Google Play
1.0.0
App下載
免費
1970-01-012015-04-23
分享app
上一個APP
下一個APP

高評價程式庫與試用程式App推薦

苏宁防盗

苏宁防盗:是一款永久免费的手机安全与防盗软件,可以通过短息远程遥控您的手机,销毁数据,锁定手机,定位手机位置等诸多实用功能,全方位的保证手机安全.丢失手机被换卡时,会自动发短信到您设置的安全手机,帮您获取被盗手机的新号码,然后发送防盗指令来遥控被盗手机。锁定被盗手机的屏幕,防止他人非法使用您的手机; …
手机安全专家正式版

手机安全专家提供云安全杀毒引擎来帮您解决恶意程序的问题,并提供保险箱来保护您的隐私数据。免費玩手机安全专家正式版 APP玩免費免費玩手机安全专家正式版 App手机安全专家正式版 APP LOGO手机安全专家正式版 APP QRCode熱門國家系統支援版本費用APP評分上架日期更新日期中國 China …
手机安全专家

这个super droid security手机安全专家是一款基于手机android操作系统设计的手机安全软件,它提供云安全杀毒引擎来帮您解决恶意程序的问题,并提供保险箱来保护您的隐私数据。免費玩手机安全专家 APP玩免費免費玩手机安全专家 App手机安全专家 APP LOGO手机安全专家 APP …
密码锁屏

密码锁屏,是一款安全的锁屏工具。能够通过设定的密码对手机进行保护。屏幕锁定之后,再次开启需要输入密码才能够解锁。内置炫酷的锁屏壁纸哦。 特色功能: 1、支持密码自由设定; 2、支持自动重启; 3、支持锁屏壁纸; 4、能量环电量指示器; -------------------------------- …
号令

号令手机令牌是安徽十指网络科技有限公司强势推出的一款账号安全APP。无论您是在网购、社交、聊天、泡吧,还是在刷微博、玩证券、淘金币和交易游戏装备······都可享受贵宾级别的专属安全保护,还可随时掌握所有账号信息动态,更有二维码闪电登录全新功能,真正做到一令在手,安全无忧。免費玩号令 APP玩免費免 …