Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e41ec354 authored by khmel@google.com's avatar khmel@google.com Committed by Yury Khmel
Browse files

arc: Extends cheets_GamePerfmance test to capture more metrics.

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)
parent 652e05f0
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -16,7 +16,9 @@
 -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="android.gameperformance">
    package="android.gameperformance"
    android:versionCode="3"
    android:versionName="3.0" >
    <uses-sdk android:minSdkVersion="25"/>
    <uses-feature android:glEsVersion="0x00020000" android:required="true" />

@@ -24,7 +26,8 @@
    <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" >
        <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" />
+29 −0
Original line number Diff line number Diff line
<!--
 * Copyright (C) 2019 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.
 -->

<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/animation" android:oneshot="false">
    <item android:drawable="@drawable/digit_0" android:duration="15" />
    <item android:drawable="@drawable/digit_1" android:duration="15" />
    <item android:drawable="@drawable/digit_2" android:duration="15" />
    <item android:drawable="@drawable/digit_3" android:duration="15" />
    <item android:drawable="@drawable/digit_4" android:duration="15" />
    <item android:drawable="@drawable/digit_5" android:duration="15" />
    <item android:drawable="@drawable/digit_6" android:duration="15" />
    <item android:drawable="@drawable/digit_7" android:duration="15" />
    <item android:drawable="@drawable/digit_8" android:duration="15" />
    <item android:drawable="@drawable/digit_9" android:duration="15" />
 </animation-list>
 No newline at end of file
+1.3 KiB
Loading image diff...
+428 B
Loading image diff...
+1.02 KiB
Loading image diff...
Loading