Lines Matching refs:bufferProto
153 perfetto::protos::LayerState_BufferData* bufferProto = proto.mutable_buffer_data(); in toProto() local
155 bufferProto->set_buffer_id(resolvedComposerState.externalTexture->getId()); in toProto()
156 bufferProto->set_width(resolvedComposerState.externalTexture->getWidth()); in toProto()
157 bufferProto->set_height(resolvedComposerState.externalTexture->getHeight()); in toProto()
158 bufferProto->set_pixel_format( in toProto()
161 bufferProto->set_usage(resolvedComposerState.externalTexture->getUsage()); in toProto()
163 bufferProto->set_frame_number(layer.bufferData->frameNumber); in toProto()
164 bufferProto->set_flags(layer.bufferData->flags.get()); in toProto()
165 bufferProto->set_cached_buffer_id(layer.bufferData->cachedBuffer.id); in toProto()
424 const perfetto::protos::LayerState_BufferData& bufferProto = proto.buffer_data(); in fromProto() local
426 std::make_shared<fake::BufferData>(bufferProto.buffer_id(), bufferProto.width(), in fromProto()
427 bufferProto.height(), bufferProto.pixel_format(), in fromProto()
428 bufferProto.usage()); in fromProto()
435 layer.bufferData->frameNumber = bufferProto.frame_number(); in fromProto()
436 layer.bufferData->flags = ftl::Flags<BufferData::BufferDataChange>(bufferProto.flags()); in fromProto()
437 layer.bufferData->cachedBuffer.id = bufferProto.cached_buffer_id(); in fromProto()