We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe00528 commit 077f29fCopy full SHA for 077f29f
services/surfaceflinger/LayerBase.cpp
@@ -458,16 +458,21 @@ void LayerBase::drawWithOpenGL(const Region& clip) const
458
void LayerBase::dump(String8& result, char* buffer, size_t SIZE) const
459
{
460
const Layer::State& s(drawingState());
461
+
462
+ snprintf(buffer, SIZE,
463
+ "+ %s %p (%s)\n",
464
+ getTypeId(), this, getName().string());
465
+ result.append(buffer);
466
467
s.transparentRegion.dump(result, "transparentRegion");
468
transparentRegionScreen.dump(result, "transparentRegionScreen");
469
visibleRegionScreen.dump(result, "visibleRegionScreen");
470
471
snprintf(buffer, SIZE,
- "+ %s %p (%s)\n"
472
" "
473
"z=%9d, pos=(%g,%g), size=(%4d,%4d), "
474
"isOpaque=%1d, needsDithering=%1d, invalidate=%1d, "
475
"alpha=0x%02x, flags=0x%08x, tr=[%.2f, %.2f][%.2f, %.2f]\n",
- getTypeId(), this, getName().string(),
476
s.z, s.transform.tx(), s.transform.ty(), s.w, s.h,
477
isOpaque(), needsDithering(), contentDirty,
478
s.alpha, s.flags,
services/surfaceflinger/SurfaceFlinger.cpp
@@ -1650,11 +1650,13 @@ void SurfaceFlinger::dumpAllLocked(
1650
1651
" last eglSwapBuffers() time: %f us\n"
1652
" last transaction time : %f us\n"
1653
+ " transaction-flags : %08x\n"
1654
" refresh-rate : %f fps\n"
1655
" x-dpi : %f\n"
1656
" y-dpi : %f\n",
1657
mLastSwapBufferTime/1000.0,
1658
mLastTransactionTime/1000.0,
1659
+ mTransactionFlags,
1660
hw.getRefreshRate(),
1661
hw.getDpiX(),
1662
hw.getDpiY());
0 commit comments