GitXplorerGitXplorer
a

adpf-unreal-plugin

public
20 stars
3 forks
3 issues

Commits

List of commits on branch main.
Unverified
4c2c352752a50bec1f19754eedd566b723c3cefe

Change to use ADPF performance hint sessions for each treads(Game, Render, RHI).

sstmazoni committed 3 months ago
Unverified
c1f315c2e6a2ce473810f1999d8de815f1a1d618

Change to call getThermalHeadroom for every 15 second, and set forecast to 0.

sstmazoni committed 5 months ago
Unverified
2e72e63e4d086f060d79e3c25a1cbe31d498fa85

Minor change for pre_max_fps reset value.

sstmazoni committed 6 months ago
Unverified
e2ae61e4cd98d1938681f22fade71113c27bfdc3

Reduce to call updateTargetWorkDuration(), it is called when the target FPS is changed.

sstmazoni committed 7 months ago
Unverified
d146e752831246593acef44334f7921dce5aaa18

Add removing java exception logic.

sstmazoni committed 7 months ago
Unverified
130cf03aa223fe82c0b863ba0bb7fd771aeecf9c

Update description for README.md and Unreal plugin console configuration.

sstmazoni committed 9 months ago

README

The README file for this repository.

Android Dynamic Performance Framework (ADPF) Unreal plugin

This repository enables you to use the ADPF plugin in Unreal Engine.

The plugin has two main features: thermal state and CPU performance hints. The plugin monitors the thermal state of a device and proactively adjusts performance before the level of performance becomes unsustainable. CPU performance hints let Android choose the right CPU clocks and core types instead of Android choosing based on previous workloads.

Setup

  1. Copy the AndroidPerformance folder to GameProjectFolder/Plugins.
  2. Open the game project.
  3. Enter Edit → Plugins.
  4. Find Android Performance and check Enabled. The Unreal Engine suggests restarting the project.
  5. Restart the game project, and trigger a build.

Graphics quality levels

Graphics quality is set by the Unreal Scalability SetQualityLevels() function, which changes view distance, anti-aliasing, shadow, post-processing, texture and effects, foliage, and shading quality levels.

For more details about these graphics qualities, see the Unreal Scalability reference. The Unreal plugin changes graphics quality level from 0 (lowest) to 3 (highest) based on the thermal state. Customize the graphics quality levels 0-3 based on the needs of your game environment.

License

Copyright 2024 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

https://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.