@@ -176,9 +176,9 @@ void HWComposer::dump(String8& result, char* buffer, size_t SIZE,
176176 mList ->numHwLayers , mList ->flags );
177177 result.append (buffer);
178178 result.append (
179- " type | hints | flags | tr | blend | format | source rectangle | crop rectangle name \n "
180- " -----------+----------+----------+----+-------+----------+---------------------------+--------------------------------\n " );
181- // " ________ | ________ | ________ | __ | _____ | ________ | [_____,_____,_____,_____] | [_____,_____,_____,_____]
179+ " type | handle | hints | flags | tr | blend | format | source crop | frame name \n "
180+ " ----------+--------- -+----------+----------+----+-------+----------+---------------------------+--------------------------------\n " );
181+ // " ________ | ________ | ________ | ________ | __ | _____ | ________ | [_____,_____,_____,_____] | [_____,_____,_____,_____]
182182 for (size_t i=0 ; i<mList ->numHwLayers ; i++) {
183183 const hwc_layer_t & l (mList ->hwLayers [i]);
184184 const sp<LayerBase> layer (visibleLayersSortedByZ[i]);
@@ -190,9 +190,9 @@ void HWComposer::dump(String8& result, char* buffer, size_t SIZE,
190190 }
191191 }
192192 snprintf (buffer, SIZE,
193- " %8s | %08x | %08x | %02x | %05x | %08x | [%5d,%5d,%5d,%5d] | [%5d,%5d,%5d,%5d] %s\n " ,
193+ " %8s | %08x | %08x | %08x | %02x | %05x | %08x | [%5d,%5d,%5d,%5d] | [%5d,%5d,%5d,%5d] %s\n " ,
194194 l.compositionType ? " OVERLAY" : " FB" ,
195- l.hints , l.flags , l.transform , l.blending , format,
195+ intptr_t (l. handle ), l.hints , l.flags , l.transform , l.blending , format,
196196 l.sourceCrop .left , l.sourceCrop .top , l.sourceCrop .right , l.sourceCrop .bottom ,
197197 l.displayFrame .left , l.displayFrame .top , l.displayFrame .right , l.displayFrame .bottom ,
198198 layer->getName ().string ());
0 commit comments