• Home
  • Raw
  • Download

Lines Matching refs:info

113 std::string to_string(const LayerDebugInfo& info) {  in to_string()  argument
116 StringAppendF(&result, "+ %s (%s)\n", info.mType.c_str(), info.mName.c_str()); in to_string()
117 info.mTransparentRegion.dump(result, "TransparentRegion"); in to_string()
118 info.mVisibleRegion.dump(result, "VisibleRegion"); in to_string()
119 info.mSurfaceDamageRegion.dump(result, "SurfaceDamageRegion"); in to_string()
120 if (info.mStretchEffect.hasEffect()) { in to_string()
121 const auto& se = info.mStretchEffect; in to_string()
130 info.mLayerStack, info.mZ, static_cast<double>(info.mX), in to_string()
131 static_cast<double>(info.mY), info.mWidth, info.mHeight); in to_string()
133 StringAppendF(&result, "crop=%s, ", to_string(info.mCrop).c_str()); in to_string()
134 StringAppendF(&result, "isOpaque=%1d, invalidate=%1d, ", info.mIsOpaque, info.mContentDirty); in to_string()
135 StringAppendF(&result, "dataspace=%s, ", dataspaceDetails(info.mDataSpace).c_str()); in to_string()
136 StringAppendF(&result, "pixelformat=%s, ", decodePixelFormat(info.mPixelFormat).c_str()); in to_string()
138 static_cast<double>(info.mColor.r), static_cast<double>(info.mColor.g), in to_string()
139 static_cast<double>(info.mColor.b), static_cast<double>(info.mColor.a), in to_string()
140 info.mFlags); in to_string()
141 StringAppendF(&result, "tr=[%.2f, %.2f][%.2f, %.2f]", static_cast<double>(info.mMatrix[0][0]), in to_string()
142 static_cast<double>(info.mMatrix[0][1]), static_cast<double>(info.mMatrix[1][0]), in to_string()
143 static_cast<double>(info.mMatrix[1][1])); in to_string()
145 StringAppendF(&result, " parent=%s\n", info.mParentName.c_str()); in to_string()
146 StringAppendF(&result, " activeBuffer=[%4ux%4u:%4u,%s],", info.mActiveBufferWidth, in to_string()
147 info.mActiveBufferHeight, info.mActiveBufferStride, in to_string()
148 decodePixelFormat(info.mActiveBufferFormat).c_str()); in to_string()
149 StringAppendF(&result, " queued-frames=%d, mRefreshPending=%d", info.mNumQueuedFrames, in to_string()
150 info.mRefreshPending); in to_string()