{"id":489,"date":"2021-07-13T17:56:52","date_gmt":"2021-07-13T09:56:52","guid":{"rendered":"https:\/\/tbex.idv.tw\/wordpress_G2\/?p=489"},"modified":"2021-07-14T14:24:10","modified_gmt":"2021-07-14T06:24:10","slug":"android-graphic-inspector","status":"publish","type":"post","link":"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/","title":{"rendered":"Android Graphic Inspector"},"content":{"rendered":"<p>Android \u5f9e2020\u5e74\u958b\u59cb\u5728\u63a8\u5ee3\u9019\u500b\u6771\u897f<br \/>\n\u53bb\u5e74\u63a8\u51fa 1.0 \u4e26\u4e14\u5728\u524d\u5e7e\u5929, \u63a8\u51fa\u4e86 2.0 &#8230;<br \/>\n\u4f46\u4ed6\u5230\u5e95\u662f\u4ec0\u9ebc !?<br \/>\n<a href=\"https:\/\/gpuinspector.dev\/\" target=\"_blank\" rel=\"attachment noopener wp-att-491\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"491\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/agi\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI.jpg\" data-orig-size=\"887,327\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"AGI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI-720x265.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI.jpg\" class=\"aligncenter wp-image-491 size-medium\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI-720x265.jpg\" alt=\"\" width=\"720\" height=\"265\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI-720x265.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI-768x283.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/AGI.jpg 887w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><br \/>\n<!--more--><\/p>\n<p>\u5148\u4f86\u770b\u4ecb\u7d39\u5f71\u7247:<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"525\" height=\"296\" src=\"https:\/\/www.youtube.com\/embed\/h4PVNDZGYhI?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=zh-TW&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<p>\u597d, \u6211\u5176\u5be6\u5efa\u8b70\u4f60\u4e0d\u8981\u770b&#8230;. \u56e0\u70ba\u5be6\u5728\u6709\u5920\u5c37\u5c2c<\/p>\n<p>\u4e3b\u6253\u4eae\u9ede\u662f <strong>\u53ea\u8981 adb shell \u6709\u901a <\/strong>\u4f60\u5c31\u80fd\u7528&#8230;. \u4f46\u771f\u7684\u6709\u9019\u9ebc\u5f37\u561b ?<\/p>\n<p>\u5148\u4f86\u770b\u4ed6\u7684motivation, \u672c\u8eab\u61c9\u8a72\u662f Android \u60f3\u8981\u5f04\u4e00\u500b\u7d71\u4e00\u7684 Vulkan Game dev\u74b0\u5883 \u63a8\u5ee3\u4ed6\u7684 Vulkan is the future<br \/>\n\u9019\u500b\u74b0\u5883\u6709\u5169\u500b\u74b0\u7bc0<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>API level tracing<\/li>\n<li>HW counter<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>\u4ee5\u76ee\u524d\u73a9\u8d77\u4f86\u7684\u611f\u89ba,\u00a0 \u61c9\u8a72\u662f\u6709\u505a\u5230 87%<br \/>\n\u4f46\u53ea\u9650 <a href=\"https:\/\/gpuinspector.dev\/docs\/devices\" target=\"_blank\" rel=\"noopener\">Supported Device<\/a>:<\/p>\n<table>\n<thead>\n<tr>\n<th>DEVICE NAME<\/th>\n<th>GPU NAME<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Google Pixel 4 (standard and XL)<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 640<\/td>\n<\/tr>\n<tr>\n<td>Google Pixel 4a<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 618<\/td>\n<\/tr>\n<tr>\n<td>Google Pixel 4a 5G<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 620<\/td>\n<\/tr>\n<tr>\n<td>Google Pixel 5<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 620<\/td>\n<\/tr>\n<tr>\n<td>Samsung Galaxy S10 series<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 640 and Arm\u00ae Mali&#x2122; G76<\/td>\n<\/tr>\n<tr>\n<td>Samsung Galaxy S20 series<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 650 and Arm\u00ae Mali&#x2122; G77<\/td>\n<\/tr>\n<tr>\n<td>Samsung Galaxy Note 10 series<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 640 and Arm\u00ae Mali&#x2122; G76<\/td>\n<\/tr>\n<tr>\n<td>Samsung Galaxy Note 20 series<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 650 and Arm\u00ae Mali&#x2122; G77<\/td>\n<\/tr>\n<tr>\n<td>Samsung Galaxy S21 series<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 660 and Arm\u00ae Mali&#x2122; G78<\/td>\n<\/tr>\n<tr>\n<td>OPPO Find X3 Pro<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 660<\/td>\n<\/tr>\n<tr>\n<td>OPPO Find X3<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 650<\/td>\n<\/tr>\n<tr>\n<td>OPPO Reno 6 Pro+<\/td>\n<td>Qualcomm\u00ae Adreno&#x2122; 650<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53ea\u652f\u63f4 <span style=\"color: #ff0000;\"><strong>Vulkan<br \/>\n<a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/vulkan\/\" rel=\"attachment wp-att-493\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"493\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/vulkan\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan.jpg\" data-orig-size=\"889,114\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Vulkan\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan-720x92.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan.jpg\" class=\"aligncenter size-medium wp-image-493\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan-720x92.jpg\" alt=\"\" width=\"720\" height=\"92\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan-720x92.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan-768x98.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/Vulkan.jpg 889w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/strong><\/span><\/p>\n<p><strong><span style=\"color: #ff0000;\">GLES<\/span><\/strong> \u5247\u662f\u5f97\u900f\u904e\u00a0 ANGLE \u518d\u8f49\u6210 Vulkan on-top AGI (\u9019\u500b\u865f\u7a31\u662f 2.0\u7684\u4eae\u9ede)<br \/>\n<a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/angle\/\" rel=\"attachment wp-att-492\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"492\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/angle\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE.jpg\" data-orig-size=\"900,143\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ANGLE\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE-720x114.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE.jpg\" class=\"aligncenter size-medium wp-image-492\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE-720x114.jpg\" alt=\"\" width=\"720\" height=\"114\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE-720x114.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE-768x122.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/ANGLE.jpg 900w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>\u9019\u689d\u8defAGI\u53ef\u4ee5\u5e6b\u4f60\u5165\u73e0\u67d0\u500b<a href=\"https:\/\/agi-angle.storage.googleapis.com\/\" target=\"_blank\" rel=\"noopener\">\u7248\u672c<\/a><span style=\"font-size: 1rem;\">\u7684ANGLE<\/span><\/p>\n<p>2.0 \u7684\u53e6\u4e00\u500b\u4eae\u9ede\u662f\u652f\u63f4 frame-based \u7684\u5206\u6790<br \/>\n\u4f46\u5f88\u6709\u8da3\u7684&#8230;\u4ed6\u771f\u7684\u652f\u63f4 frame-based:<br \/>\n<a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-16-43-41-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" rel=\"attachment wp-att-494\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"494\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-16-43-41-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716.png\" data-orig-size=\"906,859\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2021-07-13 16-43-41 \u7684\u87a2\u5e55\u64f7\u5716\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716-720x683.png\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716.png\" class=\"aligncenter size-medium wp-image-494\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716-720x683.png\" alt=\"\" width=\"720\" height=\"683\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716-720x683.png 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716-768x728.png 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-16-43-41-\u7684\u87a2\u5e55\u64f7\u5716.png 906w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">\u85cd\u6846\u7684\u90e8\u4efd\u662f\u53ef\u4ee5\u9078 capturing trigger option<br \/>\n\u5171\u8a08\u6709:<br \/>\n<\/span><\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><span style=\"color: #000000; font-size: 1rem;\">Manual &#8211; \u624b\u52d5\u518d\u6309 start<\/span><\/li>\n<li><span style=\"color: #000000; font-size: 1rem;\">Beginning &#8211; tool init\u5b8c\u76f4\u63a5capture<\/span><\/li>\n<li><span style=\"color: #000000; font-size: 1rem;\">Time &#8211; Tool init \u5b8c\u4e4b\u5f8c\u82e5\u5e72 seconds capture<\/span><\/li>\n<li>Frame &#8211; tool\u53ef\u4ee5\u7d71\u8a08 frame\u6578, \u9019\u500b\u8a2d\u5b9a\u5c31\u662f\u6293\u958b\u59cb\u5f8c\u7684\u7b2cn\u5f35frame<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>\u4f46\u4e0d\u8981\u5fd8\u4e86\u7d05\u6846\u90e8\u4efd: <span style=\"color: #ff0000;\"><strong>\u53ea\u9650\u4e00\u5f35<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/hau\/\" rel=\"attachment wp-att-495\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"495\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/hau\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/hau.jpg\" data-orig-size=\"305,237\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"hau\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/hau.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/hau.jpg\" class=\"size-full wp-image-495 alignleft\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/hau.jpg\" alt=\"\" width=\"305\" height=\"237\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u6700\u5f8c\u4e00\u500b capturing mode: System Profile \u5c31\u76f8\u5c0d\u5b8c\u6574,\u00a0 \u6700\u591a\u53ea\u80fd\u9304 600 \u79d2<\/p>\n<p><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/perffetto\/\" rel=\"attachment wp-att-496\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"496\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/perffetto\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto.jpg\" data-orig-size=\"1778,973\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"perffetto\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-720x394.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-1080x591.jpg\" class=\"aligncenter size-medium wp-image-496\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-720x394.jpg\" alt=\"\" width=\"720\" height=\"394\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-720x394.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-1080x591.jpg 1080w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-768x420.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto-1536x841.jpg 1536w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perffetto.jpg 1778w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/>filename \u90fd\u53eb\u505a perfetto<\/a><\/p>\n<p>\u53ef\u4ee5\u9304\u5230\u5e73\u53f0\u76f8\u95dc\u7684 counter<br \/>\n\u4e0d\u904e\u4ef0\u8cf4 GPU vendor provides\u7684\u8cc7\u8a0a<br \/>\n<a href=\"https:\/\/gpuinspector.dev\/docs\/gpu-counters\/\" target=\"_blank\" rel=\"attachment noopener wp-att-497\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"497\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/gpucounters\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters.jpg\" data-orig-size=\"1003,365\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"GPUCOunters\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters-720x262.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters.jpg\" class=\"aligncenter wp-image-497 size-medium\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters-720x262.jpg\" alt=\"\" width=\"720\" height=\"262\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters-720x262.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters-768x279.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GPUCOunters.jpg 1003w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a>\u4f8b\u5982Imagination counter\u5167\u5bb9\u8ddf PVRTune \u5e73\u5e38\u6703\u770b\u7684\u5dee\u4e0d\u591a<\/p>\n<p>\u7531\u65bc\u9019\u500b\u53ef\u4ee5\u8ddf\u5176\u4ed6 ftrace \u4f75\u5728\u4e00\u8d77:<br \/>\n<a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/perff\/\" rel=\"attachment wp-att-499\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"499\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/perff\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff.jpg\" data-orig-size=\"1904,878\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"perff\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-720x332.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-1080x498.jpg\" class=\"aligncenter size-medium wp-image-499\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-720x332.jpg\" alt=\"\" width=\"720\" height=\"332\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-720x332.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-1080x498.jpg 1080w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-768x354.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff-1536x708.jpg 1536w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/perff.jpg 1904w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/>frame number \u6d41\u7ac4\u65bcDisp subsys: APP\/GPU\/HWC \u90fd\u5f88\u6e05\u695a<\/a><\/p>\n<p>\u5c0d system\u8abf\u6821\u61c9\u6709\u4e00\u5b9a\u7684\u5e6b\u52a9<\/p>\n<h3><strong>Unsupported Devices<\/strong><\/h3>\n<p>AGI\u7db2\u7ad9\u5beb\u8aaa: \u4f60\u8981\u7684\u8a71\u53ef\u4ee5\u8981\u6c42, \u7136\u5f8cGoogle\u6703\u53bb\u8981\u6c42 OEM support<\/p>\n<blockquote>\n<h2 id=\"when-will-agi-support-my-device\" style=\"padding-left: 40px;\">When will AGI support my device?<\/h2>\n<p style=\"padding-left: 40px;\">We will also periodically update our supported device page with devices that support AGI. We are working with our OEM partners to add support to more devices.<\/p>\n<p style=\"padding-left: 40px;\">Please\u00a0<a href=\"https:\/\/github.com\/google\/agi\/issues\" target=\"_blank\" rel=\"noopener\">file an issue<\/a>\u00a0in our GitHub repository to request support for a device. We will connect you to the OEM in question.<\/p>\n<\/blockquote>\n<p>\u786c\u7d66\u4ed6\u639b\u4e0a\u53bb\u5c31\u6703\u9577\u9019\u6a23:<\/p>\n<p><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-17-16-37-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" rel=\"attachment wp-att-500\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"500\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-17-16-37-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-16-37-\u7684\u87a2\u5e55\u64f7\u5716.png\" data-orig-size=\"607,859\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2021-07-13 17-16-37 \u7684\u87a2\u5e55\u64f7\u5716\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-16-37-\u7684\u87a2\u5e55\u64f7\u5716-509x720.png\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-16-37-\u7684\u87a2\u5e55\u64f7\u5716.png\" class=\"aligncenter size-medium wp-image-500\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-16-37-\u7684\u87a2\u5e55\u64f7\u5716-509x720.png\" alt=\"\" width=\"509\" height=\"720\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-16-37-\u7684\u87a2\u5e55\u64f7\u5716-509x720.png 509w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-16-37-\u7684\u87a2\u5e55\u64f7\u5716.png 607w\" sizes=\"auto, (max-width: 509px) 100vw, 509px\" \/><del>\u4f60\u8ab2\u91d1\u4e0d\u8db3<\/del> \u8acb\u8cb7\u65b0\u7684\u624b\u6a5f<\/a><\/p>\n<p>\u5b8c\u5168\u4e0d\u7d66\u7528&#8230;..<\/p>\n<h3><strong>Story Not Ends Here<\/strong><\/h3>\n<p>\u5c0d\u5594\u807d\u8aaa AGI OpenSource!<br \/>\n\u5728\u4e0b\u8f09\u9801\u9762\u4e5f\u770b\u5f97\u5230 <a href=\"https:\/\/github.com\/google\/agi\/releases\/tag\/v2.0.0\" target=\"_blank\" rel=\"noopener\">source<\/a><br \/>\n\u751a\u81f3\u4e0b\u8f09\u9801\u9762\u672c\u8eab\u5c31\u662f <a href=\"https:\/\/github.com\/google\/agi\" target=\"_blank\" rel=\"noopener\">git-hub<\/a><\/p>\n<p><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/gapid\/\" rel=\"attachment wp-att-501\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"501\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/gapid\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID.jpg\" data-orig-size=\"956,335\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"GAPID\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID-720x252.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID.jpg\" class=\"aligncenter size-medium wp-image-501\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID-720x252.jpg\" alt=\"\" width=\"720\" height=\"252\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID-720x252.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID-768x269.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/GAPID.jpg 956w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>okay \u6240\u4ee5 gfxtrace \u672c\u4f86\u5c31\u662f GAPID \u7684 file-extension, \u4e5f\u6703\u88dd\u4e00\u500b GAPID\u4e00\u822c\u7684 apk \u9032\u624b\u6a5f<\/p>\n<p><strong>Build AGI<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/google\/agi\/blob\/master\/BUILDING.md\" rel=\"attachment wp-att-502\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"502\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/builagi\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI.jpg\" data-orig-size=\"1043,342\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"builAGI\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI-720x236.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI.jpg\" class=\"aligncenter size-medium wp-image-502\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI-720x236.jpg\" alt=\"\" width=\"720\" height=\"236\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI-720x236.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI-768x252.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/builAGI.jpg 1043w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>\u6309\u7db2\u9801\u6307\u793a Ubuntu 20.04 LTS \u662f\u53ef\u4ee5 build-pass (AMD FX-8320 \u89811hr), \u800c\u4e14\u53ef\u4ee5\u4f7f\u7528<\/p>\n<h3><strong>\u7e5e\u904e\u53bb<\/strong><\/h3>\n<p>\u5e7e\u500bAGI\u8a6d\u7570\u7684\u9650\u5236:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Unsupported device \u4e0d\u7d66\u7528<\/li>\n<li>GAPID \u660e\u660e\u5c31 support multiple frame<\/li>\n<li>Perfetto \u6700\u591a\u9304 600\u79d2 (\u597d\u5427 \u9019\u500b\u61c9\u8a72\u9084\u597d lol)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>\u6709\u4e86 source code \u53c8\u80fd build-pass \u6211\u5011\u5c31\u53ef\u4ee5\u8ddfyo\u53d4\u4e00\u6a23\u7e5e\u904e\u53bb<\/p>\n<p>.\/gapic\/src\/main\/com\/google\/gapid\/models\/Devices.java:<\/p>\n<p style=\"padding-left: 40px;\">public DeviceValidationResult(Service.Error error, boolean passed, boolean skipped) {<br \/>\nthis.error = error;<br \/>\nthis.passed = passed;<br \/>\nthis.skipped = <span style=\"color: #ff0000;\"><strong>true<\/strong><\/span>;<br \/>\n}<\/p>\n<p>\u5f37\u5236\u4e0d valid device<\/p>\n<p>.\/gapic\/src\/main\/com\/google\/gapid\/views\/TracerDialog.java<\/p>\n<p style=\"padding-left: 40px;\">public static final Flag&lt;Integer&gt; maxFrames = Flags.value(<br \/>\n&#8220;max-frames&#8221;, <strong><span style=\"color: #ff0000;\">999<\/span><\/strong>, &#8220;The maximum number of frames to allow for graphics captures&#8221;, true); <strong><span style=\"color: #008000;\">\/*\u672c\u4f86\u662f1*\/<\/span>\u00a0<\/strong><br \/>\npublic static final Flag&lt;Integer&gt; maxPerfetto = Flags.value(<br \/>\n&#8220;max-perfetto&#8221;, <span style=\"color: #ff0000;\"><strong>9999<\/strong><\/span> * 60, &#8220;The maximum amount of time to allow for profile captures&#8221;, true); <span style=\"color: #008000;\"><strong>\/*\u672c\u4f86\u662f 10*\/<\/strong><\/span><br \/>\npublic static final Flag&lt;Boolean&gt; enableLoadValidationLayer = Flags.value(<br \/>\n&#8220;load-validation-layer&#8221;, false,<br \/>\n&#8220;Show the option to load the Vulkan validation layer at capture time.&#8221;);<\/p>\n<p><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/?attachment_id=504\" rel=\"attachment wp-att-503\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"504\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-17-38-39-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-38-39-\u7684\u87a2\u5e55\u64f7\u5716.png\" data-orig-size=\"607,859\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2021-07-13 17-38-39 \u7684\u87a2\u5e55\u64f7\u5716\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-38-39-\u7684\u87a2\u5e55\u64f7\u5716-509x720.png\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-38-39-\u7684\u87a2\u5e55\u64f7\u5716.png\" class=\"aligncenter wp-image-504 size-medium\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-38-39-\u7684\u87a2\u5e55\u64f7\u5716-509x720.png\" alt=\"\" width=\"509\" height=\"720\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-38-39-\u7684\u87a2\u5e55\u64f7\u5716-509x720.png 509w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-38-39-\u7684\u87a2\u5e55\u64f7\u5716.png 607w\" sizes=\"auto, (max-width: 509px) 100vw, 509px\" \/><\/a><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-17-37-22-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" rel=\"attachment wp-att-503\">skipped mode, pixel3 \u5c31\u53ef\u4ee5\u7528\u4e86 \u4e5f\u53ef\u4ee5\u9304\u591a\u5f35 frame. \u53ea\u662f\u6c92\u6709\u5167\u5efa perfetto\u00a0<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m\/\" rel=\"attachment wp-att-509\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"509\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m.jpg\" data-orig-size=\"940,650\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m-720x498.jpg\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m.jpg\" class=\"aligncenter size-medium wp-image-509\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m-720x498.jpg\" alt=\"\" width=\"720\" height=\"498\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m-720x498.jpg 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m-768x531.jpg 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/d0d8bc48-3f07-4614-8e17-5f96978b4e8d_m.jpg 940w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>\u4e0d\u904e\u4e5f\u8a31\u672c\u4f86\u5c31\u5b58\u5728 config \u6a94, \u53ea\u662f\u6211\u66ab\u6642\u6c92\u627e\u5230<\/p>\n<h3><strong>\u5176\u4ed6\u96e3\u7528\u4e4b\u8655<\/strong><\/h3>\n<p>\u5982\u524d\u6587, \u9019\u500b tool\u9762\u5411\u662f Game developer, \u5176\u5be6\u6240\u6709\u985e\u4f3c\u7684 tool\u90fd\u662f game developer, \u53ea\u662f\u9806\u4fbf\u53ef\u4ee5\u62ff\u4f86 debug. \u4f46 debug \u901a\u5e38\u6703\u6709\u4e0b\u9762\u7684\u9700\u6c42<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>trace playback<br \/>\n\u76ee\u524d\u7121\u6cd5\u8de8\u5e73\u53f0, \u610f\u601d\u662f Pixel 3\u4e0a\u9304\u7684\u5c31\u53ea\u80fd\u5728 Pixel 3 \u4e0a\u56de\u653e<br \/>\n<a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-17-43-48-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" rel=\"attachment wp-att-505\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"505\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-13-17-43-48-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716.png\" data-orig-size=\"1184,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2021-07-13 17-43-48 \u7684\u87a2\u5e55\u64f7\u5716\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716-720x292.png\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716-1080x438.png\" class=\"aligncenter size-medium wp-image-505\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716-720x292.png\" alt=\"\" width=\"720\" height=\"292\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716-720x292.png 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716-1080x438.png 1080w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716-768x311.png 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-13-17-43-48-\u7684\u87a2\u5e55\u64f7\u5716.png 1184w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><br \/>\n\u9019\u8ddf\u672c\u4f86 GAPID\u4e0d\u592a\u4e00\u6a23<br \/>\n[\u66f4\u65b0]<br \/>\n\u591a\u6539\u9019\u500b\u4ee5\u9078\u64c7 incompatible<br \/>\ngapic\/src\/main\/com\/google\/gapid\/models\/Devices.java<br \/>\nreplayDevices.add(d.instance);<br \/>\n} else {<br \/>\nincompatibleReplayDevices.add(d);<br \/>\n<span style=\"color: #339966;\">+\u00a0 \u00a0 \u00a0 \u00a0 \u00a0replayDevices.add(d.instance);<\/span><br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n\u642d\u914d:<br \/>\n<a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-14-14-16-33-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" rel=\"attachment wp-att-516\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"516\" data-permalink=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/2021-07-14-14-16-33-%e7%9a%84%e8%9e%a2%e5%b9%95%e6%93%b7%e5%9c%96\/\" data-orig-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716.png\" data-orig-size=\"1920,1040\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2021-07-14 14-16-33 \u7684\u87a2\u5e55\u64f7\u5716\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-720x390.png\" data-large-file=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-1080x585.png\" class=\"aligncenter size-medium wp-image-516\" src=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-720x390.png\" alt=\"\" width=\"720\" height=\"390\" srcset=\"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-720x390.png 720w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-1080x585.png 1080w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-768x416.png 768w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716-1536x832.png 1536w, https:\/\/tbex.idv.tw\/wordpress_G2\/wp-content\/uploads\/2021\/07\/2021-07-14-14-16-33-\u7684\u87a2\u5e55\u64f7\u5716.png 1920w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><br \/>\n\u53ef\u4ee5 by-passed \u5404\u985e compatibility checks (\u56b4\u683c\u5230\u4e0d\u53ef\u601d\u8b70)<\/li>\n<li>\u53ea\u80fd\u91dd\u5c0d debuggable app \u9304 trace<br \/>\n\u9019\u500b\u5c0d\u65bc app developer \u4e0d\u6703\u662f\u554f\u984c<br \/>\n\u4f46\u5c0dplatform debug\u6703\u662f\u554f\u984c<br \/>\n\u53ef\u89e3\u7684\u65b9\u5f0f\u662f root device<br \/>\n\u56e0\u70ba debuggable\u662f\u5b89\u5168\u63a7\u7ba1\u9700\u6c42, \u975e\u50b3\u7d71\u8a8d\u77e5performance\u53d6\u5411\u7684\u5dee\u7570<br \/>\nANGLE support \u4e5f\u662f\u57fa\u65bc debuggable, \u975e root \u6839\u672c\u4ec0\u9ebc\u90fd\u4e0d\u80fd\u505a<\/li>\n<li>\u7121\u6cd5\u5c0d GLES\u505a debug<br \/>\n\u9019\u9ede\u5f88\u53ef\u60dc, \u7562\u7adf\u539f\u672c GAPID \u662f\u53ef\u4ee5\u7684<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3><strong>\u7d50\u8ad6<\/strong><\/h3>\n<p>Android GPU Inspector = GAPID( improve Vulkan and Vulkan only) + Perfetto<\/p>\n<p>\u5728\u672a root \u72c0\u614b\u4e0b Perfetto \u90e8\u4efd\u61c9\u8a72\u662f\u582a\u7528\u7684<br \/>\nAPI level \u5206\u6790\u61c9\u8a72\u9084\u662f\u56de\u5230 vendor tool<\/p>\n<p>Vulkan is the future, \u5c31\u8b93\u6211\u5011\u770b\u770b\u9019 transition \u5230\u5e95\u6703\u82b1\u591a\u4e45 ? (Start from Android O which is 2017<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android \u5f9e2020\u5e74\u958b\u59cb\u5728\u63a8\u5ee3\u9019\u500b\u6771\u897f \u53bb\u5e74\u63a8\u51fa 1.0 \u4e26\u4e14\u5728\u524d\u5e7e\u5929, \u63a8\u51fa\u4e86 2.0 &#038;#8230 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/tbex.idv.tw\/wordpress_G2\/blog\/2021\/07\/13\/android-graphic-inspector\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Android Graphic Inspector\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-geek"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6xFwC-7T","_links":{"self":[{"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":10,"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":517,"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/posts\/489\/revisions\/517"}],"wp:attachment":[{"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tbex.idv.tw\/wordpress_G2\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}