上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: 一、以前的类前缀 Render 都被替换成了 Layout?? (比如 core/dom/RenderTreeBuilder.cpp 换成了 \third_party\blink\renderer\core\dom\layout_tree_builder.cc LayoutObject,以前是 Re 阅读全文
posted @ 2022-03-30 16:03 Bigben 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 利用wasm绘制图的一些参考: fhtr.org/gravityring/sprites.html 用Canvas + WASM画一个迷宫 - 知乎 (zhihu.com) WebGL 重置画布尺寸 (webglfundamentals.org) canvaskit demo https://dem 阅读全文
posted @ 2022-03-10 09:26 Bigben 阅读(1035) 评论(0) 推荐(0) 编辑
摘要: class A { public: void test() { std::cout << "test" << std::endl; } }; class B : public A { public: void test2() { std::cout << "test2" << std::endl; 阅读全文
posted @ 2022-01-18 18:44 Bigben 阅读(222) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-01-06 14:57 Bigben 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-01-06 14:55 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 开启drawf这种调试文件后,可以调试。 在docker中运行,或者远程机器运行时,源码不在本地。需要利用源码路径重映射。将wasm里面显示的file://路径,重新指定成本地复制的源码路径: 在扩展c++ devtools 的选项中设置路径映射: WebAssembly debugging sup 阅读全文
posted @ 2021-12-31 15:29 Bigben 阅读(258) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000040867861 最近在研究 WebAssembly,也写了几篇全面介绍的文章: 高级前端进阶:我是如何把 C/C++ 代码跑在浏览器上的? 快 11K Star 的 WebAssembly,你应该这样学 本文是学习 WebAss 阅读全文
posted @ 2021-12-31 15:13 Bigben 阅读(4654) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-12-30 17:47 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: gcc -o、-g选项 -O设置一共有五种:-O0、-O1、-O2、-O3和-Os。你只能在/etc/make.conf里面设置其中的一种。 除了-O0以外,每一个-O设置都会多启用几个选项,请查阅gcc手册的优化选项章节,以便了解每个-O等级启用了哪些选项及它们有何作用。 让我们来逐一考察各个优化 阅读全文
posted @ 2021-12-30 15:20 Bigben 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 返回多个值 C# 使用C# 7.0推出的值元组和解构功能。 static (int, int) Calc(int a, int b) { return (a + b, a - b); } static void Main() { var (add, sub) = Calc(8, 2); Consol 阅读全文
posted @ 2021-12-30 15:05 Bigben 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 工具 -》导入导出设置 -》重置所有设置 -》备份当前设置后下一步 -》 选择一个默认设置集合 阅读全文
posted @ 2021-12-10 15:21 Bigben 阅读(298) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-12-08 18:39 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 用户名:www.budingwang.com 注册码:CR96-4B9C-6470-303F 用户名:www.budingwang.com 注册码:CR71-DD9C-C1D3-55D8 用户名:www.budingwang.com 注册码:CRE7-D59C-98D4-EF4E 用户名:www.b 阅读全文
posted @ 2021-12-07 15:54 Bigben 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 另外一篇tw的:https://tigercosmos.xyz/post/2020/08/js/webassembly-intro/ Using WebAssembly threads from C, C++ and Rust Learn how to bring multithreaded app 阅读全文
posted @ 2021-11-26 16:11 Bigben 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 感谢您下载 Visual Studio - Visual Studio (microsoft.com) 阅读全文
posted @ 2021-11-11 10:18 Bigben 阅读(161) 评论(0) 推荐(0) 编辑
摘要: C++11: std::tuple | De C++ et alias OOPscenitates (oopscenities.net) 20150910OOPSCENE 从零开始的简单函数式C++(二)tuple - 知乎 (zhihu.com) 包装多个数据的元组 tuple 既然两个元素可以用 阅读全文
posted @ 2021-11-04 18:37 Bigben 阅读(375) 评论(0) 推荐(0) 编辑
摘要: msedge.exe --disable-features=RendererCodeIntegrityor chrome.exe --disable-features=RendererCodeIntegrity 115版本又出现了,需要加上 --no-sandbox 今天重新安装了edge以后,突然 阅读全文
posted @ 2021-10-29 14:28 Bigben 阅读(9531) 评论(0) 推荐(0) 编辑
摘要: 该文章整理自 网易博客 http://blog.163.com/net_worm/blog/static/12770241920101831312381/ 转载请注明出处 WebKit是QT4新整合的第三方构件。按照惯例动手分析之前,先了解大概 WebKit由三个模块组成:JavaScriptCor 阅读全文
posted @ 2021-09-16 10:34 Bigben 阅读(868) 评论(0) 推荐(0) 编辑
摘要: Chromium 代码中的文件数不胜数,读懂文件名可以帮我们快速定位某个文件的用途。好的文件命名方式应该是自解释的,能够实现 “望文生义” 的效果。不过 Chromium 只对代码风格做了指引,并未对名称的遣词做统一规定,所以文件的命名更多是所在目录的约定俗成,受 Owner 的文化背景影响,比如有 阅读全文
posted @ 2021-09-15 10:01 Bigben 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 深入浅出 CDP (Chrome DevTools Protocol) - Clericpy's Blog 深入浅出 CDP (Chrome DevTools Protocol) 14 Jan 2020 Python @Clericpy Table of Contents 背景 概述 CDP 交流方 阅读全文
posted @ 2021-09-08 08:40 Bigben 阅读(9521) 评论(0) 推荐(1) 编辑
摘要: For Developers > Design Documents > Chromium Graphics // Chrome GPU > Surfaces Goals Surfaces are a concept to allow graphical embedding of heterogene 阅读全文
posted @ 2021-09-06 16:44 Bigben 阅读(153) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-09-01 15:14 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 对于一个函数的参数为引用,如果想接收临时变量,就必须加上 const。 class A{ public: A(int aa) {} }; void f(A& a) { }; int main(int argc, char* avgv[]) { f(A(5));//报错:必须为左值 return 0; 阅读全文
posted @ 2021-08-26 15:56 Bigben 阅读(16379) 评论(0) 推荐(0) 编辑
摘要: 当查看chromium源码,发现在viz下有个demo可执行源码。位于目录: src\components\viz\demo 打开此目录下的 BUILD.gn ,找到 gn 的target: executable("viz_demo") 输入如下命令编译即可: e:\dev\chromium\src 阅读全文
posted @ 2021-08-11 15:46 Bigben 阅读(341) 评论(0) 推荐(0) 编辑
摘要: # core/animation This directory contains the main thread animation engine. This implements the Web Animations timing model that drives CSS Animations, 阅读全文
posted @ 2021-07-26 15:41 Bigben 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 介绍了主线程和合成线程各自工作的演化,为什么将raster像素化移到了合成线程 我们知道,在childcompositor里,implthread里,pendingtree被raster之后,才会被activate成activetree. 而且raster任务由一些rasterthread执行,那么 阅读全文
posted @ 2021-07-12 10:43 Bigben 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文为CSDN博主「tornmy」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/tornmy/article/details/82593718 tornmy 2018-09-10 21:53:11 4 阅读全文
posted @ 2021-07-09 18:43 Bigben 阅读(215) 评论(0) 推荐(0) 编辑
摘要: SkiaSharp常用操作 skia研究文档.doc (book118.com) 1. 屏幕坐标系 屏幕的坐标系原点在屏幕的左上角,水平往右、竖直往下为正。屏幕的坐标横坐标用“x”表示,纵坐标用“y”表示,坐标的单位为像素。坐标(4, 2)用表示当前点在原点右方4个像素处,在原点下方2个像素处, 屏 阅读全文
posted @ 2021-07-08 10:35 Bigben 阅读(4665) 评论(2) 推荐(1) 编辑
摘要: 转自 SkiaSharp 中的矩阵转换 2017/04/12 D O 下载示例 利用多样的转换矩阵深入了解 SkiaSharp 转换 应用于该对象的所有转换 SKCanvas 都在结构的单个实例中合并 SKMatrix 。 这是标准的 3 x 3 变换矩阵,与所有新式2D 图形系统中的矩阵类似。 正 阅读全文
posted @ 2021-07-07 15:40 Bigben 阅读(1743) 评论(0) 推荐(1) 编辑
摘要: 关于paint的文档有两个。一个是下面的平台相关的 Paint artifact,即绘制指令执行完的生成品;另一个是core内核生成paint。 The live version of this document can be viewed at: https://chromium.googleso 阅读全文
posted @ 2021-07-02 16:28 Bigben 阅读(364) 评论(0) 推荐(0) 编辑
摘要: cc/animation Overview cc/animation provides animation support - generating output values (usually visual properties) based on a predefined function an 阅读全文
posted @ 2021-07-02 16:23 Bigben 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Chrome Service Model John Abd-El-Malek February 2016 Objective Move Chrome codebase towards a service-oriented model. This will produce reusable and d 阅读全文
posted @ 2021-06-22 15:45 Bigben 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Network Service in Chrome John Abd-El-Malek March 2016 Objective Create a Mojo Network Service in Chrome, and start converting the code to use it. Bac 阅读全文
posted @ 2021-06-22 15:41 Bigben 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 客户端: 使用mojom,两个配对出现:一个remote,一个根据remote生成的receiver。 remote是远程接口。另外一个根据remote生成个 pendingReceiver. 这个receiver最终传递给实现端。pipe就建立好了。 // src/third_party/blin 阅读全文
posted @ 2021-06-22 11:47 Bigben 阅读(882) 评论(0) 推荐(0) 编辑
摘要: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/README.md https://www.chromium.org/developers Chromium docs This directory conta 阅读全文
posted @ 2021-06-22 11:43 Bigben 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Service Development Guidelines [TOC] Overview The top-level //services directory contains the sources, public Mojo interface definitions, and public c 阅读全文
posted @ 2021-06-22 11:40 Bigben 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 硬核来袭 | 2 万字 + 10 图带你手撕 STL 关联式容器源码 (7 条消息) herongwei - 知乎 (zhihu.com) ​ STL 源码剖析 再硬核|5 千字长文+ 30 张图解 | 陪你手撕 STL 空间配置器源码 硬核|万字长文炸裂!手撕 STL 迭代器源码与 traits 阅读全文
posted @ 2021-06-22 09:33 Bigben 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 啥是cdp 根据官网的说法,cdp(Chrome DevTools Protocol) 允许我们检测,调试Chromium, Chrome 和其他基于 Blink的 浏览器. 这个协议被广泛使用. 其中最著名的是 Chrome DevTools,协议的api也由这个团队维护。 使用cdp的姿势 首先 阅读全文
posted @ 2021-06-16 18:40 Bigben 阅读(1791) 评论(0) 推荐(0) 编辑
摘要: html 文本解析栈 > blink_core.dll!blink::LayoutObjectFactory::CreateText(blink::Node * node, scoped_refptr<WTF::StringImpl> str, blink::LegacyLayout legacy) 阅读全文
posted @ 2021-06-16 18:33 Bigben 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 这个文档在:https://skia.org/docs/user/tips/ dm是个重要的工具,实现将skp转成图片或者pdf。源码在 third_party\skia\dm\DM.cpp 命令行生成 screenshot 是屏幕截屏方式: google-chrome --headless --s 阅读全文
posted @ 2021-06-16 17:49 Bigben 阅读(1121) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 29 下一页