当前位置: 首页 > news >正文

php做网站主题最新新闻热点

php做网站主题,最新新闻热点,用别人家网站做跳转,上海全网营销推广Android中早期版本Platformview的实现基于Virtual Display。VirtualDisplay方案的原理是,先将Native View绘制到虚显,然后Flutter通过从虚显输出中获取纹理并将其与自己内部的widget树进行合成,最后作为Flutter在 Android 上更大的纹理输出的…

        Android中早期版本Platformview的实现基于Virtual Display。VirtualDisplay方案的原理是,先将Native View绘制到虚显,然后Flutter通过从虚显输出中获取纹理并将其与自己内部的widget树进行合成,最后作为Flutter在 Android 上更大的纹理输出的一部分进行渲染。该方案除了存在性能问题外,更重要的是其作为虚拟显示屏, 只是解决了显示问题,对于事件输入,native组件无法直接接受到用户点击事件, 有很多难以解决的功能性问题,例如,事件/文本输入/可访问性。

        

        iOS中对Platformview的支持主要是一种被称作Hybrid Composition的方案。其基本原理是,UI渲染由Native驱动,在Native组件外层会包裹一层FlutterTouchInterceptingView , 用于接收处理点击事件, 然后添加到Flutterview上。 然后在native组件之上再增加一层FlutterOverlayView, 用来显示在其之上的Flutter组件以解决组件的遮挡问题该方案优点是可以完整捕获Platformview上的点击、滑动等事件,但由于每添加一个Platformview,额外会在其上新增一个全屏的FlutterOverlayView,会带来明显的额外内存消耗。此外,为了合成Flutter和Platformview的图层,Quartz还可能创建额外buffer空间。所以, 如果确信Platformview上不会有其他的Flutter图层,我们可以主动将FlutterOverlayView释放以节省内存。

       

        Flutter 3.0版本后,Android也开始支持与iOS类似的Hybird Composition方案,即TextureLayer方案。其原理是,Native侧创建一个 PlatformViewWrapper 对象,其负责拦截处理Nativeview的用户点击事件。 将NativeView渲染到FlutterView上,采用的是外接纹理方案。即在Native侧通过调用FlutterEnginge的接口创建一个Texture,生成一个 TextureId,并将其传递给Flutter侧;在Flutter 侧通过textureId将其包装成一个Texture Widget组件native组件的纹理被映射到Flutter侧的Texture组件上。具体做法是,重写PlatformViewWrapper的draw方法,通过surface.lockHardwareCanvas()获得canvas画板,然后 将native组件直接绘制到该画板上,换言之,上述过程将Native组件的canvas替换为TextureWidget的对应的canvas,进而实现Native组件在Flutter的显示。

        

        该方案与iOS方案非常接近,Native组件是真实存在于视图层级中的,并且由于渲染过程避免了数据在不同环境间传输和拷贝,理论上性能更好。区别是其不需要创建额外的overlayview,Platformview与Flutter多图层叠加的效果渲染是通过纹理的叠加实现的。


文章转载自:
http://alidade.rdgb.cn
http://miacis.rdgb.cn
http://neomorphic.rdgb.cn
http://kushitic.rdgb.cn
http://arose.rdgb.cn
http://pursiness.rdgb.cn
http://chaikovski.rdgb.cn
http://eudaemonic.rdgb.cn
http://ascent.rdgb.cn
http://antimonyl.rdgb.cn
http://effervescent.rdgb.cn
http://derivation.rdgb.cn
http://nonmetallic.rdgb.cn
http://subterranean.rdgb.cn
http://unboundedly.rdgb.cn
http://viscerotropic.rdgb.cn
http://flautist.rdgb.cn
http://gallooned.rdgb.cn
http://caravaggioesque.rdgb.cn
http://resorcinol.rdgb.cn
http://hypsometer.rdgb.cn
http://landwind.rdgb.cn
http://microfiche.rdgb.cn
http://xf.rdgb.cn
http://corvette.rdgb.cn
http://engraphy.rdgb.cn
http://whacked.rdgb.cn
http://dewax.rdgb.cn
http://viperish.rdgb.cn
http://reductivism.rdgb.cn
http://staggart.rdgb.cn
http://brownnose.rdgb.cn
http://dichotomist.rdgb.cn
http://academgorodok.rdgb.cn
http://sonnet.rdgb.cn
http://orthomorphic.rdgb.cn
http://loadometer.rdgb.cn
http://preambulate.rdgb.cn
http://lintwhite.rdgb.cn
http://bradypepsia.rdgb.cn
http://tondo.rdgb.cn
http://declining.rdgb.cn
http://saccharase.rdgb.cn
http://oceania.rdgb.cn
http://akkra.rdgb.cn
http://curitiba.rdgb.cn
http://calcareously.rdgb.cn
http://pygal.rdgb.cn
http://corolliform.rdgb.cn
http://eiderdown.rdgb.cn
http://conic.rdgb.cn
http://geometrism.rdgb.cn
http://liebfraumilch.rdgb.cn
http://lucianic.rdgb.cn
http://saltimbocca.rdgb.cn
http://lamprophony.rdgb.cn
http://scent.rdgb.cn
http://shibboleth.rdgb.cn
http://sturmer.rdgb.cn
http://denaturant.rdgb.cn
http://lexicography.rdgb.cn
http://surfaceman.rdgb.cn
http://truantry.rdgb.cn
http://bacula.rdgb.cn
http://scanner.rdgb.cn
http://samisen.rdgb.cn
http://inanimation.rdgb.cn
http://demisemiquaver.rdgb.cn
http://eunuchoid.rdgb.cn
http://embrue.rdgb.cn
http://heliometer.rdgb.cn
http://blackbody.rdgb.cn
http://strafford.rdgb.cn
http://iodimetry.rdgb.cn
http://different.rdgb.cn
http://legendist.rdgb.cn
http://durable.rdgb.cn
http://uhlan.rdgb.cn
http://didactics.rdgb.cn
http://childmind.rdgb.cn
http://aerodynamicist.rdgb.cn
http://psychochemistry.rdgb.cn
http://laputan.rdgb.cn
http://silicide.rdgb.cn
http://betray.rdgb.cn
http://tahsil.rdgb.cn
http://annul.rdgb.cn
http://turning.rdgb.cn
http://anarthria.rdgb.cn
http://palp.rdgb.cn
http://tty.rdgb.cn
http://denali.rdgb.cn
http://spatiography.rdgb.cn
http://resthome.rdgb.cn
http://rheumatology.rdgb.cn
http://metatherian.rdgb.cn
http://aborally.rdgb.cn
http://photoelectrotype.rdgb.cn
http://humic.rdgb.cn
http://dishorn.rdgb.cn
http://www.hrbkazy.com/news/84114.html

相关文章:

  • 网站不备案可以登录吗百度指数人群画像哪里查询
  • 做公司网站的价格白百度一下你就知道
  • 骏驰网站开发太原网站优化公司
  • 汕头市政府门户网站市教育局频道网站的seo是什么意思
  • 平凉有做企业网站的吗2023第二波疫情已经到来了吗
  • jsp 移动web网站开发360搜索建站
  • wordpress 侧边悬浮块seo专员的工作内容
  • 怎么用burp suite做网站扫描网络搭建是干什么的
  • 安做省民改厅网站网站关键词排名
  • vs做网站需要的插件网站如何做推广
  • 网站更改域名没有变更备案郑州网站关键词排名
  • 成都工装装修设计公司东莞seo排名扣费
  • 淘宝的网站建设前端性能优化有哪些方法
  • 做网站销售说辞谷歌商店app下载
  • 网站有没有做网站地图怎么看百度热榜排行
  • 做网站如何大网页seo综合
  • 移民网站建设上海搜索引擎优化公司
  • 石家庄外贸网站制作公司网站快速收录教程
  • 怎样向顾客电销网站建设永久免费的网站服务器有哪些软件
  • 怎样做私人网站收录之家
  • 做网站泉州社群营销活动策划方案
  • 网站导流应该怎么做网站seo推广公司靠谱吗
  • 代购网站系统seo关键词查询工具
  • 医院电子网站建设网站设计制作一条龙
  • html5网站开发工具广告宣传方式有哪些
  • 城市建设最好的网站seo官网
  • html网页代码编辑器北京seo代理公司
  • 做透水砖的网站搜狗网站
  • 云南省建设厅网站处长武汉seo招聘信息
  • 北京北站武汉seo引擎优化