chromium

C++ function name demangling: What does this name suffix mean?

北慕城南 提交于 2020-01-23 01:39:31
问题 When I disassemble the Chromium binary I notice there are functions named in this pattern: _ZN6webrtc15DecoderDatabase11DecoderInfoD2Ev.part.1 If I give this string to c++filt, the output is webrtc::DecoderDatabase::DecoderInfo::~DecoderInfo() [clone .part.1] So what does this .part.1 suffix really mean? If it indicates there are multiple copies of the same function, why do they need that? Is it due to the requirement of being position independent? I used g++ as the compiler. 回答1: It

高性能Web动画和渲染原理系列(4)“Compositor-Pipeline演讲PPT”学习摘要【华为云技术分享】

ぐ巨炮叔叔 提交于 2020-01-22 19:24:41
【摘要】 学习chromium对合成层的处理 示例代码托管在: http://www.github.com/dashnowords/blogs 博客园地址: 《大史住在大前端》原创博文目录 附件PPT来自chromium官方网站开发文档。术语里的cc指的是Chromium Compositor 一直以来都想了解浏览器合成层的运作机制,但是相关的中文资料大多比较关注框架和开发技术,这方面的资料实在是太少了,后来在chromium官方网站的文档里找到了项目组成员malaykeshav在 2019年4月的一份关于浏览器合成流水线的演讲PPT,个人感觉里面讲的非常清楚了,由于没有找到视频,有些部分只能自行理解,本文仅对关键信息做一些笔记,对此感兴趣的读者可以在文章开头的github仓库或附件中拿到这个PPT自行学习。 摘要 1.合成流水线 合成流水线,就是指浏览器处理合成层的工作流程,其基本步骤如下: 大致的流程就是说Paint环节会生成一个列表,列表里登记了页面元素的绘制指令,接着这个列表需要经过Raster光栅化处理,并在合成帧中处理纹理,最后的Draw环节才是将这些纹理图展示在浏览器内容区。 2. 预定义UI层 chromium中预定义了一些指定类型的UI层,大致分为: Not Drawn - 为了处理透明度或滤镜效果、transform变形或者clip剪裁的非绘制层 Solid

google的开源项目总结

做~自己de王妃 提交于 2020-01-18 04:15:07
google的开源项目总结 google 的 开源项目 值得我们一用的,这些项目很有意义,甚至可以直接用在我们自己的工作上!学习编程的的一个比较好的方式就是阅读优秀项目的源代码,从而能够了解作者的方法、思路、技巧,另外阅读源代码对于一些朋友是枯燥乏味的,这是就可以看看项目的readme,找到项目的闪光点,我们不做开拓者那我们就做实践者和使用者,呵呵,下面是这些项目的列表,在这里存档,已备今后查阅之用 文本文件处理: Google CRUSH (Custom Reporting Utilities for SHell) CRUSH是为命令行或shell scripts处理特定文字数据而制作的一系列工具, 这里有指南 。 C++库和源代码: Google Breakpad 一个开源的多平台崩溃报告系统。 Google GFlags Gflags是一个命令行标记的处理库,它可以替代“getopt()”,其内置对C++的支持比如string。 指南在此 。 Google Glog Glog库可执行应用级的登陆,提供基于C++式的登陆API,可用于Linux、BSD和Windows。 指南见此 。 Google PerfTools 这个工具可让开发创建更强大的应用程序,特别是那些用C++模版开发的多线程应用程序,包括TCMalloc, heap-checker, heap-profiler

Searching Microsoft Edge Chromium DLL for C# WPF Project [closed]

十年热恋 提交于 2020-01-17 21:24:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 21 hours ago . Now there is Microsoft Edge Chromium. The Project uses cefcharp at the moment. But I want to use Chromium from Edge. I am working on a C# Project with WPF and I am using a Chromium DLL. In my WPF Project I have give the user the oportunity to use a WebBrowser. And I want to embedd everyting inside my solution.

Chromium Microsoft Edge 浏览器现已可供下载

送分小仙女□ 提交于 2020-01-17 06:41:57
Joe Belfiore 宣布 ,新的基于 Chromium 的 Microsoft Edge 浏览器现已可在 Windows 10,Windows 7,Windows 8.1 和 macOS 上手动下载。该浏览器支持 90 种语言,用户可以从 此处 手动下载。同时,Microsoft Edge 也可在 iOS 和 Android 上使用。 如果您尚未在 Windows 10 PC 上手动下载浏览器,则可以预期它会在未来几个月内显示在 PC 上。Microsoft 没有计划立即通过 Windows Update 自动推出新 Edge。部署将逐步进行,从下个月的 Insiders 开始。 了解基于 Chromium 的 Microsoft Edge 推出 微软的 Edge 部署将在未来几个月内分阶段进行。在未来几周内,Microsoft 计划开始将浏览器更新推送到 Release Preview Ring。 该公司表示:“新的 Microsoft Edge 将逐步在 Windows Update 上提供。” 部署速度取决于用户的数据和反馈,如果反馈是肯定的,Microsoft 可能会开始将浏览器植入更多用户。 如果您今天进行升级或等待更新显示在您的 PC 上,则在安装新的 Edge 时,Microsoft 将自动隐藏旧的 Edge 浏览器。旧的 Microsoft Edge

pyppetter 解决 webdriver 检测的注意事项

冷暖自知 提交于 2020-01-17 04:05:43
修改 pyppetter 源码 先感谢两个博主通过他们的博客得到的解决方案,在此只是记录自己遇到的问题 链接: 博客- 修改pyppeteer.launch . 链接: 博客- 修改pyppeteer.connection . 关于下载安装 pyppetter 以及 Chromium 的安装已经很详细了,在此 记录我遇到的问题 以及解决方案 1,安装Chromium,我是mac 系统直接下载的安装包,默认下载到了 download目录下 ,解压不再这个目录, 2,我的解压的目录在 可执行文件默认路径: /Users/myname/Library/Application Support/pyppeteer/local-chromium/575458/chrome-mac/Chromium.app/Contents/MacOS/Chromium 查看文件路径博客里有说, print('可执行文件默认路径:{}'.format(pyppeteer.chromium_downloader.chromiumExecutable.get('mac'))) 解压好放到这个目录下,就可以运行了, pyppeteer 绕过webdriver检测 文章开头的两个博客有两种方案 1 修改pyppeteer.launch 博主 mac 环境 2修改pyppeteer.connection

page.goto freezes on Google Cloud Functions for some websites

我怕爱的太早我们不能终老 提交于 2020-01-15 09:57:13
问题 I am using: Puppeteer version: 1.13.0 Platform / OS version: Google Cloud Node.js version: 8 await.page.goto("https://somewebsite.com") freezes when I deploy it on Google Cloud functions. I receive timeout error. Navigation Timeout Exceeded const browser = await puppeteer.launch({ headless: true, ignoreHTTPSErrors: true, args: [ '--disable-gpu', '--disable-dev-shm-usage', '--disable-setuid-sandbox', '--no-first-run', '--no-sandbox', '--no-zygote', '--single-process', // <- this one doesn't

How to mock window.screen.width in Angular Unit Test with Jasmine

血红的双手。 提交于 2020-01-14 13:51:09
问题 I have a BreakpointService, which tells me - depending on the screen width - in which SidebarMode (closed - minified - open) I should display my Sidebar. This is the main part of the service: constructor(private breakpointObserver: BreakpointObserver) { this.closed$ = this.breakpointObserver.observe(['(min-width: 1024px)']).pipe( filter((state: BreakpointState) => !state.matches), mapTo(SidebarMode.Closed) ); this.opened$ = this.breakpointObserver.observe(['(min-width: 1366px)']).pipe( filter

Chrome Bug - window.scroll method intercepts DOM Rendering

做~自己de王妃 提交于 2020-01-14 05:01:34
问题 First, play with the navigation menu on this page (left-side): http://bestds.com/TankStorage/ I'm using javascipt to update the dom backgroundColor of these li elements upon click. Firefox renders the updated DOM elements, but Chrom and Chromium do not render them. Using Chromium's document inspector, I can clearly see that the li element's background-color has been updated correctly, but they're not being rendered. What's funny, is it will go ahead and render the DOM changes after I hover my

What does it mean for Electron to combine Node.js and Chromium contexts?

≯℡__Kan透↙ 提交于 2020-01-12 06:12:46
问题 In a blog post the author mentions that Electron combines Node and Chromium into a "single context" which implies that we don't have to use Browserify to transform code. I understand that one implication of Electron is you can build cross-platform desktop apps using web technologies. I also understand the reason why we're able to write to the filesystem is because Electron has Node baked in. Also, the reason we're able to use HTML/CSS/JS/DevTools is because Chromium is baked in. However, I