This adds extra metrics per each frame to capture: * Maximum number of triangles to render. * Fill and blend rate in kpixels * Maximum number of device calls to render. * Maximum number of UI controls. This also capture results in two mode, first mode without extra load and second mode with extra 2 threads that load CPU and emulate heavy app/game. Test: Locally Bug: 13553231 Bug: 1347063273 Change-Id: I87491634fa38bd5e04d47d62154a0da8e467213f (cherry picked from commit f3dae277aa990dcb99d5a0bab1f9ccc141b9e4d9)
44 lines
1.8 KiB
XML
44 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
* Copyright (C) 2018 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="android.gameperformance"
|
|
android:versionCode="3"
|
|
android:versionName="3.0" >
|
|
<uses-sdk android:minSdkVersion="25"/>
|
|
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
|
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<application android:theme="@style/noeffects">
|
|
<uses-library android:name="android.test.runner" />
|
|
<activity android:name="android.gameperformance.GamePerformanceActivity"
|
|
android:screenOrientation="landscape" >
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<uses-library android:name="android.test.runner" />
|
|
</application>
|
|
|
|
<!-- self-instrumenting test package. -->
|
|
<instrumentation android:name="android.test.InstrumentationTestRunner"
|
|
android:targetPackage="android.gameperformance">
|
|
</instrumentation>
|
|
</manifest>
|