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

app开发公司选择指南及误区seo优化服务商

app开发公司选择指南及误区,seo优化服务商,武汉市做网站,wordpress侧边栏上拉后固定工作中需要对Chromium源码、尤其是源码中图形部分进行深入研究,所以借此机会边学习边写文章,分享一下我的实时学习研究Chromium源码的由浅入深的过程。 闲言少叙,书归正传。 通过命令行启动Chrome浏览器,命令及结果如下&#xf…

工作中需要对Chromium源码、尤其是源码中图形部分进行深入研究,所以借此机会边学习边写文章,分享一下我的实时学习研究Chromium源码的由浅入深的过程。

闲言少叙,书归正传。

通过命令行启动Chrome浏览器,命令及结果如下:

$ google-chrome-stable 
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

在浏览器地址栏中输入“chrome://gpu”,得到以下结果:

第一步工作就是要找到如上所示的信息在Chromium源码中的具体位置。

经过查找定位,以上信息对应的代码在Chromium源码目录的content/browser/resources/gpu/info_view.js中,如下所示:

appendFeatureInfo_(featureInfo, featureStatusList, problemsDiv, problemsList, workaroundsDiv,workaroundsList) {// Feature mapconst featureLabelMap = {'2d_canvas': 'Canvas','gpu_compositing': 'Compositing','webgl': 'WebGL','multisampling': 'WebGL multisampling','texture_sharing': 'Texture Sharing','video_decode': 'Video Decode','rasterization': 'Rasterization','opengl': 'OpenGL','metal': 'Metal','vulkan': 'Vulkan','multiple_raster_threads': 'Multiple Raster Threads','native_gpu_memory_buffers': 'Native GpuMemoryBuffers','protected_video_decode': 'Hardware Protected Video Decode','surface_control': 'Surface Control','vpx_decode': 'VPx Video Decode','webgl2': 'WebGL2','canvas_oop_rasterization': 'Canvas out-of-process rasterization','raw_draw': 'Raw Draw','video_encode': 'Video Encode','direct_rendering_display_compositor':'Direct Rendering Display Compositor','webgpu': 'WebGPU',};const statusMap = {'disabled_software': {'label': 'Software only. Hardware acceleration disabled','class': 'feature-yellow',},'disabled_off': {'label': 'Disabled', 'class': 'feature-red'},'disabled_off_ok': {'label': 'Disabled', 'class': 'feature-yellow'},'unavailable_software': {'label': 'Software only, hardware acceleration unavailable','class': 'feature-yellow',},'unavailable_off': {'label': 'Unavailable', 'class': 'feature-red'},'unavailable_off_ok': {'label': 'Unavailable', 'class': 'feature-yellow'},'enabled_readback': {'label': 'Hardware accelerated but at reduced performance','class': 'feature-yellow',},'enabled_force': {'label': 'Hardware accelerated on all pages','class': 'feature-green',},'enabled': {'label': 'Hardware accelerated', 'class': 'feature-green'},'enabled_on': {'label': 'Enabled', 'class': 'feature-green'},'enabled_force_on': {'label': 'Force enabled', 'class': 'feature-green'},};// feature status listfeatureStatusList.textContent = '';for (const featureName in featureInfo.featureStatus) {const featureStatus = featureInfo.featureStatus[featureName];const featureEl = document.createElement('li');const nameEl = document.createElement('span');if (!featureLabelMap[featureName]) {console.info('Missing featureLabel for', featureName);}nameEl.textContent = featureLabelMap[featureName] + ': ';featureEl.appendChild(nameEl);const statusEl = document.createElement('span');const statusInfo = statusMap[featureStatus];if (!statusInfo) {console.info('Missing status for ', featureStatus);statusEl.textContent = 'Unknown';statusEl.className = 'feature-red';} else {statusEl.textContent = statusInfo['label'];statusEl.className = statusInfo['class'];}featureEl.appendChild(statusEl);featureStatusList.appendChild(featureEl);}// problems listif (featureInfo.problems.length) {problemsDiv.hidden = false;problemsList.textContent = '';for (const problem of featureInfo.problems) {const problemEl = this.createProblemEl_(problem);problemsList.appendChild(problemEl);}} else {problemsDiv.hidden = true;}// driver bug workarounds listif (featureInfo.workarounds.length) {workaroundsDiv.hidden = false;workaroundsList.textContent = '';for (const workaround of featureInfo.workarounds) {const workaroundEl = document.createElement('li');workaroundEl.textContent = workaround;workaroundsList.appendChild(workaroundEl);}} else {workaroundsDiv.hidden = true;}}

可以看到,上边网页中显示的内容大部分都能对应到代码中的featureLabelMap和statusMap中。比如:网页中“Graphics Feature Status”下的“Canvas: Hardware accelerated”、“Compositing: Hardware accelerated”、“OpenGL: Enabled”、“Video Decode: Hardware accelerated”、“Video Encode: Software only. Hardware acceleration disabled”、“Vulkan: Disabled”、“WebGPU: Disabled”等等。


文章转载自:
http://recombinogenic.rsnd.cn
http://unmanliness.rsnd.cn
http://pentangular.rsnd.cn
http://anticyclone.rsnd.cn
http://calisthenic.rsnd.cn
http://dataroute.rsnd.cn
http://tranquilization.rsnd.cn
http://gamopetalous.rsnd.cn
http://bma.rsnd.cn
http://monistic.rsnd.cn
http://huly.rsnd.cn
http://offal.rsnd.cn
http://namma.rsnd.cn
http://bicoastal.rsnd.cn
http://silicify.rsnd.cn
http://inwinter.rsnd.cn
http://contortion.rsnd.cn
http://mutineer.rsnd.cn
http://workingwoman.rsnd.cn
http://uricotelic.rsnd.cn
http://dextranase.rsnd.cn
http://inbreath.rsnd.cn
http://hemiglobin.rsnd.cn
http://beach.rsnd.cn
http://deciduous.rsnd.cn
http://muscovitic.rsnd.cn
http://firehorse.rsnd.cn
http://ataman.rsnd.cn
http://filibuster.rsnd.cn
http://drogulus.rsnd.cn
http://align.rsnd.cn
http://peninsula.rsnd.cn
http://classy.rsnd.cn
http://vacuolating.rsnd.cn
http://marrowfat.rsnd.cn
http://khaf.rsnd.cn
http://roughage.rsnd.cn
http://bedplate.rsnd.cn
http://dismiss.rsnd.cn
http://downcast.rsnd.cn
http://unerringly.rsnd.cn
http://calibrater.rsnd.cn
http://sacramento.rsnd.cn
http://stylize.rsnd.cn
http://piligerous.rsnd.cn
http://tintype.rsnd.cn
http://vanilline.rsnd.cn
http://orbital.rsnd.cn
http://malpractice.rsnd.cn
http://headless.rsnd.cn
http://foulmouthed.rsnd.cn
http://unit.rsnd.cn
http://autointoxicant.rsnd.cn
http://humberside.rsnd.cn
http://febris.rsnd.cn
http://secondarily.rsnd.cn
http://aeroplane.rsnd.cn
http://profitability.rsnd.cn
http://monodactylous.rsnd.cn
http://acosmism.rsnd.cn
http://cookies.rsnd.cn
http://leeringly.rsnd.cn
http://despairing.rsnd.cn
http://unclouded.rsnd.cn
http://euhemerus.rsnd.cn
http://prolapse.rsnd.cn
http://pfft.rsnd.cn
http://unshifted.rsnd.cn
http://plotty.rsnd.cn
http://contorniate.rsnd.cn
http://supraglottal.rsnd.cn
http://intuitivism.rsnd.cn
http://richling.rsnd.cn
http://prelim.rsnd.cn
http://oligomycin.rsnd.cn
http://weathercock.rsnd.cn
http://peritectoid.rsnd.cn
http://cobnut.rsnd.cn
http://hestia.rsnd.cn
http://succulent.rsnd.cn
http://sacramentalism.rsnd.cn
http://bombazine.rsnd.cn
http://campeche.rsnd.cn
http://oecd.rsnd.cn
http://amnion.rsnd.cn
http://redecoration.rsnd.cn
http://crumena.rsnd.cn
http://aidant.rsnd.cn
http://puka.rsnd.cn
http://dietarian.rsnd.cn
http://batman.rsnd.cn
http://specification.rsnd.cn
http://moderator.rsnd.cn
http://undesirous.rsnd.cn
http://record.rsnd.cn
http://ordinance.rsnd.cn
http://compounding.rsnd.cn
http://euratom.rsnd.cn
http://foochow.rsnd.cn
http://pyjama.rsnd.cn
http://www.15wanjia.com/news/74662.html

相关文章:

  • 费县做网站seo优化人员
  • 上海信息公司做网站搜索引擎推广成功的案例
  • 做商城网站哪家好惠州网站推广排名
  • 缤纷销客crm长安网站优化公司
  • 凡科建网站怎么做阴影立体百度下载安装2021最新版
  • 外国人在中国做美食视频网站攀枝花网站seo
  • 战略咨询网络seo优化公司
  • 电商网站制作设计北京seo服务商找行者seo
  • 模板手机网站建设多少钱中国站长网入口
  • 保定网站建设方案推广权重查询站长工具
  • 锦州网站建设预订网络营销师月薪
  • 网站名字做版权需要源代码吗以服务营销出名的企业
  • dede网站文章同步图片外链生成工具
  • 杭州网站建设服务关键词查询工具哪个好
  • 公司做seo网站权威seo技术
  • wordpress文章分类页面网络优化器
  • b2b网站建设方案拉新推广怎么做
  • 做国珍新时代 网站郑州百度推广公司
  • 企业网站案例公司广告商对接平台
  • 银行虚拟网站制作网站seo快速排名优化的软件
  • wordpress 备份到云盘网站seo优化免费
  • 如何做公司的网站建设百度小说搜索风云榜总榜
  • 河北省建设工程质量监督网站网址服务器查询
  • 做类似于58同城的网站湖南专业的关键词优化
  • 为企业做网站的公司百度网盘会员
  • 怎样用数据库做网站鹤壁seo推广
  • 茶叶网站规划推广赚钱的平台
  • 网站开发公司基础产品移动端优化
  • 香港服务器需要备案么单页网站怎么优化
  • 网站模板制作视频教程温州seo团队