Browse Source

Added ADPF

Björn Ritzl 6 months ago
parent
commit
401c2a4e10

+ 4 - 0
docs/en/en.json

@@ -1555,6 +1555,10 @@
                         "path": "/extension-admob",
                         "name": "AdMob ads"
                     },
+                    {
+                        "path": "/extension-adpf",
+                        "name": "Android Device Performance Framework"
+                    },
                     {
                         "path": "/extension-review",
                         "name": "App review and ratings"

+ 7 - 0
docs/en/manuals/optimization-battery.md

@@ -10,3 +10,10 @@ Refer to the manuals on how to [optimize runtime performance](/manuals/optimizat
 
 ## Disable accelerometer
 If you are creating a mobile game which doesn't make use of the device accelerometer it is recommended to [disable it in *game.project*](/manuals/project-settings/#use-accelerometer) to reduce the number of generated input events.
+
+
+# Platform specific optimizations
+
+## Android Device Performance Framework
+
+Android Dynamic Performance Framework is a set of APIs that allow games and to interact more directly with power and thermal systems of Android devices. It is possible to monitor the dynamic behavior on Android systems and optimize game performance at a sustainable level that doesn’t overheat devices. Use the [Android Dynamic Performance Framework extension](https://defold.com/extension-adpf/) to monitor and optimize performance in your Defold game for Android devices.

+ 7 - 1
docs/en/manuals/optimization-speed.md

@@ -81,4 +81,10 @@ Reducing the scene graph complexity is needed if the profiler shows high values
 * Culling - Disable game objects (and their components) if they aren't currently visible. How this is determined depends very much on the type of game. For a 2D game it can be as easy as always disabling game objects that are outside of a rectangular area. You can use a physics trigger to detect this or by partitioning your objects into buckets. Once you know which objects to disable or enable you do this by sending a `disable` or `enable` message to each game object.
 
 ## Frustum culling
-The render script can automatically ignore rendering of game object component that are outside of a defined bounding box (frustum). Learn more about Frustum Culling in the [Render Pipeline manual](/manuals/render/#frustum-culling).
+The render script can automatically ignore rendering of game object component that are outside of a defined bounding box (frustum). Learn more about Frustum Culling in the [Render Pipeline manual](/manuals/render/#frustum-culling).
+
+
+# Platform specific optimizations
+
+## Android Device Performance Framework
+Android Dynamic Performance Framework is a set of APIs that allow games and to interact more directly with power and thermal systems of Android devices. It is possible to monitor the dynamic behavior on Android systems and optimize game performance at a sustainable level that doesn’t overheat devices. Use the [Android Dynamic Performance Framework extension](https://defold.com/extension-adpf/) to monitor and optimize performance in your Defold game for Android devices.