android - dumpsys SurfaceFlinger output interpretation -


recently, have started using dumpsys surfaceflinger gather information android graphics. work on development board called odroid-xu3. display dell monitor connected board through hdmi cable.

in last few lines of output of above command, have 2 displays, while expect have one. 1 of them display[0] , other 1 display[1]. type column of each of displays hwc or gles. times both hwc or gles , other times 1 hwc , other 1 gles.

what difference between display[0] , display[1]? have tried find documentation understand how interpret output of aforementioned command, have not found useful.

it have dumpsys output in question, can make couple of general observations.

display[0] device's built-in display. display[1] "external" display, in case hdmi. these 2 indices hard-wired. (well, of kitkat; don't know if they've since un-hard-wired things.) virtual displays start @ index 2.

the chunk of text below display hardware composer dump. displays layers on screen, bunch of information position, rotation, , format of each layer.

the closest thing documentation can found in hwc section of graphics architecture doc. given level of system you're working with, recommend read entire document. beyond that, can try discern meaning source code.

the arch doc explain difference between "hwc" , "gles" in output: "hwc" means surface lives on display overlay, while "gles" means surface being composed gpu instead.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -