Lines Matching refs:layerInfo

2209 void Layer::writeToProtoDrawingState(perfetto::protos::LayerProto* layerInfo) {  in writeToProtoDrawingState()  argument
2214 [&]() { return layerInfo->mutable_active_buffer(); }); in writeToProtoDrawingState()
2216 layerInfo->mutable_buffer_transform()); in writeToProtoDrawingState()
2218 layerInfo->set_invalidate(contentDirty); in writeToProtoDrawingState()
2219 layerInfo->set_is_protected(isProtected()); in writeToProtoDrawingState()
2220 layerInfo->set_dataspace(dataspaceDetails(static_cast<android_dataspace>(getDataSpace()))); in writeToProtoDrawingState()
2221 layerInfo->set_queued_frames(getQueuedFrameCount()); in writeToProtoDrawingState()
2222 layerInfo->set_curr_frame(mCurrentFrameNumber); in writeToProtoDrawingState()
2223 layerInfo->set_requested_corner_radius(getDrawingState().cornerRadius); in writeToProtoDrawingState()
2224 layerInfo->set_corner_radius( in writeToProtoDrawingState()
2226 layerInfo->set_background_blur_radius(getBackgroundBlurRadius()); in writeToProtoDrawingState()
2227 layerInfo->set_is_trusted_overlay(isTrustedOverlay()); in writeToProtoDrawingState()
2228 LayerProtoHelper::writeToProtoDeprecated(transform, layerInfo->mutable_transform()); in writeToProtoDrawingState()
2230 [&]() { return layerInfo->mutable_position(); }); in writeToProtoDrawingState()
2231 LayerProtoHelper::writeToProto(mBounds, [&]() { return layerInfo->mutable_bounds(); }); in writeToProtoDrawingState()
2233 [&]() { return layerInfo->mutable_damage_region(); }); in writeToProtoDrawingState()
2236 LayerProtoHelper::writeToProto(getColorTransform(), layerInfo->mutable_color_transform()); in writeToProtoDrawingState()
2240 [&]() { return layerInfo->mutable_source_bounds(); }); in writeToProtoDrawingState()
2242 [&]() { return layerInfo->mutable_screen_bounds(); }); in writeToProtoDrawingState()
2244 [&]() { return layerInfo->mutable_corner_radius_crop(); }); in writeToProtoDrawingState()
2245 layerInfo->set_shadow_radius(mEffectiveShadowRadius); in writeToProtoDrawingState()
2248 void Layer::writeToProtoCommonState(perfetto::protos::LayerProto* layerInfo, in writeToProtoCommonState() argument
2256 layerInfo->set_id(sequence); in writeToProtoCommonState()
2257 layerInfo->set_name(getName().c_str()); in writeToProtoCommonState()
2258 layerInfo->set_type(getType()); in writeToProtoCommonState()
2261 layerInfo->add_children(child->sequence); in writeToProtoCommonState()
2267 layerInfo->add_relatives(strongRelative->sequence); in writeToProtoCommonState()
2272 [&]() { return layerInfo->mutable_transparent_region(); }); in writeToProtoCommonState()
2274 layerInfo->set_layer_stack(getLayerStack().id); in writeToProtoCommonState()
2275 layerInfo->set_z(state.z); in writeToProtoCommonState()
2278 return layerInfo->mutable_requested_position(); in writeToProtoCommonState()
2281 LayerProtoHelper::writeToProto(state.crop, [&]() { return layerInfo->mutable_crop(); }); in writeToProtoCommonState()
2283 layerInfo->set_is_opaque(isOpaque(state)); in writeToProtoCommonState()
2285 layerInfo->set_pixel_format(decodePixelFormat(getPixelFormat())); in writeToProtoCommonState()
2286 LayerProtoHelper::writeToProto(getColor(), [&]() { return layerInfo->mutable_color(); }); in writeToProtoCommonState()
2288 [&]() { return layerInfo->mutable_requested_color(); }); in writeToProtoCommonState()
2289 layerInfo->set_flags(state.flags); in writeToProtoCommonState()
2292 layerInfo->mutable_requested_transform()); in writeToProtoCommonState()
2296 layerInfo->set_parent(parent->sequence); in writeToProtoCommonState()
2301 layerInfo->set_z_order_relative_of(zOrderRelativeOf->sequence); in writeToProtoCommonState()
2304 layerInfo->set_is_relative_of(state.isRelativeOf); in writeToProtoCommonState()
2306 layerInfo->set_owner_uid(mOwnerUid); in writeToProtoCommonState()
2318 [&]() { return layerInfo->mutable_input_window_info(); }); in writeToProtoCommonState()
2322 auto protoMap = layerInfo->mutable_metadata(); in writeToProtoCommonState()
2329 [&]() { return layerInfo->mutable_destination_frame(); }); in writeToProtoCommonState()