レンダリング
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
画像やテキストを画面にスムーズにレンダリングできるかどうかは、ユーザーによる品質の評価に影響を及ぼすアプリの重要な要素です。アプリが画面に描画しているときに応答性を低下させないようにすることが重要です。
このセクションでは、アプリのレンダリング パフォーマンスを最適化する方法(オーバードローの低減、ビュー階層の最適化、GPU のプロファイル作成ツールの活用)を紹介します。Jetpack Compose でのレンダリングについては、Jetpack Compose のパフォーマンスをご覧ください。
レンダリング アクション
-
オーバードローの低減
- アプリが単一フレーム内の同じピクセルを再描画する回数を最小限に抑えます。
-
パフォーマンスとビュー階層
-
レイアウトと測定が効率的に実行されるようにして、二重に負荷が発生しないようにします。
-
GPU レンダリングのプロファイル作成ツールによる分析
-
このオンデバイス ツールを活用して、アプリのレンダリングを低下させている可能性のあるボトルネックを特定します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2024-02-22 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-02-22 UTC。"],[],[],null,["# Rendering\n\nA key aspect of your app that influences your users' perception of quality is the smoothness with\nwhich it renders images and text to the screen. It's important to avoid jank and sluggish\nresponsiveness when your app is drawing to the screen.\n\nThis section shows several ways to optimize your app's rendering performance: reducing overdraw,\noptimizing view hierarchies, and taking advantage of the Profile GPU tool. See\n[Jetpack Compose performance](/jetpack/compose/performance) to learn about rendering in\nJetpack Compose.\n\nRender actions\n--------------\n\n\n**[Reduce overdraw](/topic/performance/rendering/overdraw)**\n:\n Minimize the number of times your app redraws the same pixel in a single frame.\n\n\n**[Performance and view hierarchies](/topic/performance/rendering/optimizing-view-hierarchies)**\n:\n Make sure your layout and measurement are executing efficiently, and avoid double taxation.\n\n\n**[Analyze with Profile GPU Rendering](/topic/performance/rendering/profile-gpu)**\n:\n Take advantage of this on-device tool to identify bottlenecks that might slow your app's\n rendering."]]