UNISOC از ADPF برای بهبود عملکرد بازی اندروید استفاده می کند
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
بهینه سازی عملکرد و مدیریت حرارتی یک چالش حیاتی برای توسعه دهندگان بازی در اندروید است. برای ایجاد بهترین تجربه ممکن برای بازیکنان، توسعه دهندگان به ابزارهایی نیاز دارند تا نرخ فریم بالا و مصرف انرژی پایدار را متعادل کنند. چارچوب عملکرد پویای اندروید (ADPF) مجموعه مهمی از API ها را ارائه می دهد که به بازی ها اجازه می دهد مستقیماً با قدرت و سیستم های حرارتی دستگاه تعامل داشته باشند و این بهینه سازی دقیق را ممکن می کند.
UNISOC از این ابزارها برای ارائه بازی های برتر در SoC های خود استفاده می کند. با شروع Android 14، محصولات UNISOC به طور کامل از ADPF های اصلی ADPF از جمله Performance Hint، Thermal و Game Mode/State پشتیبانی می کنند. UNISOC برای افزایش بیشتر عملکرد در SoC های خود، از این ADPF های ADPF در موتور UNISOC Miracle Gaming خود برای نظارت بر بارهای کاری سیستم و تنظیم پویا عملکرد استفاده می کند و از تجربه بازی روان تر و پایدارتر اطمینان حاصل می کند.
شکل 1: بازی معجزه آسای UNISOC
بهینه سازی عملکرد و حرارت با ADPF
اجرای UNISOC از ADPF ابزارهای قدرتمندی را برای مدیریت عملکرد بازی در زمان واقعی به توسعه دهندگان می دهد.
Performance Hint:PerformanceHintManager به برنامه ها اجازه می دهد تا اطلاعات را به سیستم منتقل کنند و SoC را قادر می سازد تا مقدار مناسبی از منابع را در زمان مناسب اختصاص دهد. با ارائه نکاتی در مورد بار کاری و گزارش مدت زمان واقعی فریمها، بازیها میتوانند به سیستم کمک کنند تا ترسیم و ترکیب لایهها را به صورت پویا تسریع کند و منجر به عملکرد سازگارتر شود.
Thermal API: برای جلوگیری از throttling حرارتی مخرب، توسعه دهندگان می توانند از getThermalHeadroom() استفاده کنند. این عملکرد یک پیشبینی از وضعیت حرارتی دستگاه را ارائه میکند و به برنامه اجازه میدهد تا پیش از گرم شدن بیش از حد، بار کاری خود را به طور فعال تنظیم کند. این آینده نگری کلیدی برای تثبیت نرخ فریم بازی در طول جلسات شدید و طولانی مدت است.
Game Mode و Game State API: این APIها ارتباط بین بازی و سیستم را بهبود می بخشند. GameMode به کاربران اجازه می دهد تا هدف خود را اعلام کنند (به عنوان مثال، انتخاب یک تنظیم "عملکرد" در بازی)، در حالی که GameState به بازی اجازه می دهد تا سیستم عامل را از وضعیت فعلی خود (به عنوان مثال، بارگیری، بازی و غیره) مطلع کند. سپس سیستم میتواند از مداخلاتی مانند مقیاسگذاری وضوح بازی و لغو FPS بازی برای بهینهسازی عملکرد بر اساس این زمینه استفاده کند.
ارائه نرخ فریم بهبود یافته و راندمان انرژی
ادغام ADPF در SoC های UNISOC پیشرفت های ملموسی را در نرخ فریم، مصرف انرژی و تجربه کلی بازی ارائه می دهد. در آزمایشهایی با عنوان محبوب LineageW از NCSOFT، مزایا در تنظیمات مختلف گرافیکی مشخص بود.
در کیفیت گرافیکی متوسط، بازی به افزایش قابل توجه 28.1 درصد نرخ فریم دست یافت و همزمان مصرف انرژی را تا 3.7 درصد کاهش داد و به مزایای دوگانه تجربه نرمتر و بازدهی بهتر دست یافت.
نتایج در تنظیمات دیگر نیز چشمگیر بود:
در تنظیمات گرافیکی بالا، نرخ فریم با تنها یک افزایش جزئی 3.1 درصدی در مصرف انرژی، به میزان چشمگیر 50.1٪ افزایش یافت که نشان دهنده توانایی ADPF برای باز کردن فضای بالای عملکرد قابل توجه است.
در تنظیمات گرافیکی پایین، بازیکنان شاهد افزایش 11.5 درصدی در نرخ فریم با 9.9 درصد افزایش مصرف انرژی بودند که حتی در پیکربندیهای سختتر نیز افزایش عملکرد را نشان میداد.
شکل 2: نرخ فریم گرافیکی پایین شکل 3: نرخ فریم گرافیک متوسط شکل 4: نرخ فریم گرافیکی بالا شکل 5: مصرف برق
علاوه بر این، UNISOC یک ویژگی "بهینه سازی تطبیقی" را نشان می دهد. هنگامی که کاربر این گزینه را فعال می کند، برنامه می تواند به طور خودکار عناصر گرافیکی مانند بافت، شاخ و برگ، و کیفیت جلوه را در پاسخ به بازخورد سیستم تنظیم کند و از ارائه نرخ فریم پایدارتر اطمینان حاصل کند.
عملکرد تطبیقی بعدی در SoCهای UNISOC چیست
UNISOC متعهد به تعمیق ادغام خود با ADPF است. همانطور که چارچوب تکامل می یابد، موتور بازی معجزه UNISOC به ترکیب جدیدترین ویژگی های اصلی ADPF ادامه می دهد و تضمین می کند که توسعه دهندگان و گیمرها از به روزترین عملکرد و فناوری های مدیریت حرارتی در دستگاه های مجهز به UNISOC بهره مند می شوند.
برای توسعه دهندگان Unity ، می توانید با ارائه دهنده عملکرد تطبیقی v5.0.0 شروع کنید. توجه داشته باشید که Thermal API توسط اکثر دستگاههای اندروید از اندروید 11 (سطح API 30) و Performance Hint API از Android 12 (سطح API 31) پشتیبانی میشود.
برای توسعه دهندگان Unreal ، می توانید با افزونه Android Dynamic Performance Unreal Engine برای اکثر دستگاه های اندرویدی که اندروید 12 (سطح API 31) یا بالاتر را هدف قرار می دهند، شروع به کار کنید.
برای Cocos Creator ، میتوانید با Thermal API نسخه 3.8.2 و Performance Hint API نسخه 3.8.3 شروع کنید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-09 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-09 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# UNISOC Leverages ADPF for Enhanced Android Gaming Performance\n\nOptimizing performance and thermal management is a critical challenge for game\ndevelopers on Android. To create the best possible player experiences,\ndevelopers need tools to balance high frame rates with sustainable power\nconsumption. The Android Dynamic Performance Framework (ADPF) provides a crucial\nset of APIs that allow games to interact directly with the power and thermal\nsystems of a device, enabling this fine-tuned optimization.\n\nUNISOC is embracing these tools to deliver superior gaming on its SoCs. Starting\nwith Android 14, UNISOC products fully support core ADPF APIs, including\nPerformance Hint, Thermal, and Game Mode/State. To further enhance performance\non its SoCs, UNISOC utilizes these ADPF APIs within its own UNISOC Miracle\nGaming engine to monitor system workloads and dynamically adjust performance,\nensuring a smoother and more stable gaming experience.\nFigure 1: UNISOC Miracle Gaming\n\nOptimizing Performance and Thermals with ADPF\n---------------------------------------------\n\nUNISOC's implementation of ADPF gives developers powerful tools to manage game\nperformance in real-time.\n\n- **Performance Hint:** The `PerformanceHintManager` allows applications to pass\n information to the system, enabling the SoC to allocate the right amount of\n resources at the right time. By providing hints about workloads and reporting\n the actual duration of frames, games can help the system dynamically accelerate\n drawing and layer composition, leading to more consistent performance.\n\n- **Thermal API:** To prevent disruptive thermal throttling, developers can use\n the `getThermalHeadroom()` API. This function provides a prediction of the\n device's thermal state, allowing an application to proactively adjust its\n workload before overheating occurs. This foresight is key to stabilizing the\n game's frame rate during intense, long-lasting sessions.\n\n- **Game Mode and Game State APIs:** These APIs improve communication between\n the game and the system. `GameMode` allows users to signal their intent (e.g.,\n choosing a \"performance\" setting in the game), while `GameState` lets the game\n inform the OS of its current status (e.g., loading, playing, etc.). Under the\n hood, the system can then leverage interventions like Game Resolution Scaling\n and Game FPS Overrides to optimize performance based on this context.\n\nDelivering Improved Frame Rates and Power Efficiency\n----------------------------------------------------\n\nThe integration of ADPF on UNISOC SoCs delivers tangible improvements in frame\nrates, power consumption, and the overall gaming experience. In tests with the\npopular title LineageW from NCSOFT, the benefits were clear across various\ngraphics settings.\n\nAt medium graphics quality, the game achieved a significant **28.1% frame rate\nboost** while simultaneously **decreasing power consumption by 3.7%**, achieving\nthe dual benefits of a smoother experience and improved efficiency.\n\nThe results at other settings were also impressive:\n\n- At high graphics settings, the frame rate soared by an impressive **50.1%**\n with only a minor 3.1% increase in power draw, showcasing ADPF's ability to\n unlock significant performance headroom.\n\n- At low graphics settings, players saw an **11.5% increase in frame rate** with\n a corresponding **9.9% increase in power consumption**, demonstrating\n performance gains even on less demanding configurations.\n\nFigure 2: Low Graphics Frame Rate Figure 3: Mid Graphics Frame Rate Figure 4: High Graphics Frame Rate Figure 5: Power Consumption\n\nFurthermore, UNISOC demonstrates an \"Adaptive Optimization\" feature. When a user\nenables this option, the application can automatically adjust graphical elements\nlike texture, foliage, and effect quality in response to system feedback,\nensuring the delivery of a more stable frame rate.\n\nWhat's next for adaptive performance on UNISOC SoCs\n---------------------------------------------------\n\nUNISOC is committed to deepening its integration with ADPF. As the framework\nevolves, the UNISOC Miracle Gaming engine will continue to incorporate the\nlatest core ADPF features, ensuring that developers and gamers benefit from the\nmost up-to-date performance and thermal management technologies on\nUNISOC-powered devices.\n\nGet started with Android adaptability\n-------------------------------------\n\nThe Android Dynamic Performance Framework is now available to all Android game\ndevelopers for [Unity, Unreal, Cocos Creator game engines](/games/optimize/adpf/game-engine-support) and through native\nC++ libraries.\n\n- For **Unity** developers, you can get started with the\n [Adaptive Performance provider v5.0.0.](https://docs.unity3d.com/Packages/com.unity.adaptiveperformance.google.android@1.2/manual/index.html) Note that the Thermal API is\n supported by most Android devices from Android 11 (API level 30), and the\n Performance Hint API from Android 12 (API level 31).\n\n- For **Unreal** developers, you can get started with the\n [Android Dynamic Performance Unreal Engine plugin](https://github.com/android/adpf-unreal-plugin) for most Android devices\n targeting Android 12 (API level 31) or higher.\n\n- For **Cocos Creator** , you can get started with the Thermal API from v3.8.2\n and the Performance Hint API from [v3.8.3.](https://github.com/cocos/cocos-engine/tree/v3.8.3)\n\n- For custom engines, you can reference the [native ADPF C++ sample](https://github.com/android/games-samples/tree/main/agdk/adpf)."]]