Analyzing Android games with Adreno Profiler

Source: Internet
Author: User
Tags android games

Sometimes we need to analyze our own games or other people's games, for example, we need to understand the general rendering process of an engine, this time we can use some tools, on the PC we can using the Microsoft PIX, Intel GPA, Nvidia's nsight and Perfhud to intercept a frame of data for analysis. Because of the recent move to the mobile platform, sometimes also need to analyze the game, this time we can use the tools of different graphics vendors to analyze. Here, we analyze a program using Qualcomm's Adreno Profiler as an example. First, you need a mobile phone that uses high-energy solutions: like millet, hammers, etc.

There are a few places to be aware of:

    1. Make sure the USB drive is properly installed.
    2. Make sure the USB debugging function is turned on for your phone.
    3. Make sure that Android.permission.INTERNET and Com.qti.permission.PROFILER are turned on in the program manifest (manifest).

Assuming you have installed the Adreno Profiler and selected connect after opening, the following interface will appear:

Assuming you set the correct words, the interface shown above will appear:

    1. At this time to open your program, click Refresh, then you can debug the program is shown above, make sure to ensure that com.qti.permission.PROFILER in manifest open, if not playing a meeting display found a device but no Adreno profiler-enabled app.
    2. Next click Connect.
    3. After the connection is successful, we need to analyze OpenGL ES and click Scrubber GL.
    4. At this point, you can click on capture frame to intercept our data. Wait for the interception to complete, and this time we can analyze the rendering process.

For more information on how to add a license to manifest, readers can search by themselves, as I have recently studied UE4, with UE4 4.10 as an example to illustrate how to add.

    1. Open editàProject Settings.
    2. Select platformsàAndroid, add the new permissions below the extra permissions shown, and then package.

      PostScript: The use of Adreno Profiler analysis program operation is relatively simple, I am on the nut cell phone and Nubia a mobile phone is successfully connected, but red rice mobile phone, is prompted found a device but no Adreno profiler-enabled app , because the other machines can be properly connected, so did not go deep to investigate the reason, do not know if you have encountered similar problems.

Analyzing Android games with Adreno Profiler

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.