摘要: data:image/png;base64,iVBORw0KCYII= data:text/html;base64,PCFET0NUWVBFIGh0bWw+DQo8aHRtDQo= 原始数据格式 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAA 阅读全文
posted @ 2024-03-01 16:09 Bigben 阅读(23) 评论(0) 推荐(0) 编辑
摘要: chromium vlog log 打印输出调试 在Chromium中,DVLOG(20)是一种用于打印详细日志信息的宏。 这个宏的具体含义是在调试(Debug)版本中打印日志,而在发布(Release)版本中会被优化掉,因此在正式发布的软件中是不会产生这些日志的。 DVLOG是Debug Verb 阅读全文
posted @ 2024-01-12 16:56 Bigben 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1. D:\chromium110\chromium\src\chrome\app\chrome_exe_main_win.cc #if !defined(WIN_CONSOLE_APP) ////////////非headless模式 int APIENTRY wWinMain(HINSTANCE 阅读全文
posted @ 2023-10-12 17:31 Bigben 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Image decoding on the web Inian ParameshwaranJun 12, 2019 What is decoding Image decoding is the process of converting the encoded image back to a unc 阅读全文
posted @ 2023-09-13 11:20 Bigben 阅读(25) 评论(0) 推荐(0) 编辑
摘要: var CanvasKitInit = (() => { var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; if ( 阅读全文
posted @ 2023-08-14 17:31 Bigben 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Sysinternals Utilities - Sysinternals | Microsoft Learn ProcDumpv11.0 (November 3, 2022)This command-line utility is aimed at capturing process dumps 阅读全文
posted @ 2023-05-25 14:22 Bigben 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 规范上,子类构造函数肯定是会调父类的构造函数。 如果代码中没写,就会隐含调用父类的默认构造函数(即那个无参构造函数)。如果父类没有,编译报错。 1,展示了当子类要调用父类中带参数的构造函数 时: #include <iostream> #include <cstdio> class A { publ 阅读全文
posted @ 2023-05-19 11:45 Bigben 阅读(139) 评论(0) 推荐(0) 编辑
摘要: linux sar命令详解 Ranger ​关注他 3 人赞同了该文章 sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况、系统调用的使用情况、磁盘I/O、CPU效率、 阅读全文
posted @ 2023-05-19 09:26 Bigben 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 在chromium源码中,blink有 Member<AgentGroupScheduler> agent_group_scheduler_; Member<PageAnimator> animator_; const Member<AutoscrollController> autoscroll_ 阅读全文
posted @ 2023-05-17 16:37 Bigben 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Threejs实现酷炫3D地球技术点汇总 - 知乎 (zhihu.com) Threejs 3D 酷炫地球在线预览 | 嘟先生学WebGL (joy1412.cn) WebGL之3D地球 - 掘金 (juejin.cn) Talk is cheap show the code! github项目源码 阅读全文
posted @ 2023-05-15 15:28 Bigben 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1,编译出来: autoninja -C out\Default courgette 2,使用 e:\\chromium\src\out\Default>courgette64.exe First argument must be one of: -supported, -asm, -dis, -d 阅读全文
posted @ 2023-04-11 18:37 Bigben 阅读(86) 评论(0) 推荐(0) 编辑
摘要: v8::MaybeLocal<v8::Value> maybe_result; if (V8ScriptRunner::CompileScript(script_state, *classic_script, compile_options, no_cache_reason, host_define 阅读全文
posted @ 2023-03-23 16:00 Bigben 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 1,访问网址 https://www.cursor.so/ 下载cursor安装后打开。 2,根据界面里提示,按 ctrl+k,键入你想产生的代码 3, 4,结果我无语了 阅读全文
posted @ 2023-03-21 15:26 Bigben 阅读(524) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-03-02 15:37 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: #include "include/core/SkTypes.h" class SkNextID { public: /** * Shared between SkPixelRef's generationID and SkImage's uniqueID */ static uint32_t Im 阅读全文
posted @ 2023-02-23 17:19 Bigben 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 用struct 当示例,与class一样。只是省得写public。struct默认是public的。 模板分为主模板(原型模板,primary template),还有一些偏特化或者全特化。 模板参数有两种类型:一个是类型 typename;另外是类型固定,是取值如 int A。 模板的声明类似函数 阅读全文
posted @ 2022-12-24 17:56 Bigben 阅读(518) 评论(0) 推荐(0) 编辑
摘要: Android应用程序UI硬件加速渲染技术简要介绍和学习计划 罗升阳 Android系统的流畅性一直被拿来与iOS比较,并且认为不如后者。这一方面与Android设备硬件质量参差不齐有关,另一方面也与Android系统的实现有关。例如在3.0前,Android应用程序UI绘制不支持硬件加速。不过从4 阅读全文
posted @ 2022-12-23 18:25 Bigben 阅读(411) 评论(0) 推荐(0) 编辑
摘要: https://chromium.googlesource.com/chromium/src/+/HEAD/third_party/blink/renderer/platform/graphics/compositing/README.md Source/platform/graphics/comp 阅读全文
posted @ 2022-12-16 18:25 Bigben 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 对类型编写,由于c++不存在 if(type == xxx) {} 这种语法。 类型计算可以使用: 1,重载。 2,虚函数。继承。 3,c语言中利用 Union 查看代码 struct Variant { union { int x; float y; } data; uint32 typeId; 阅读全文
posted @ 2022-10-04 11:40 Bigben 阅读(58) 评论(0) 推荐(0) 编辑
摘要: src\third_party\skia\docs\examples 在 gpu 上绘制,然后用surface的snapshot获取 图片; skimage也可以直接从texture // Copyright 2019 Google LLC. // Use of this source code i 阅读全文
posted @ 2022-09-06 17:44 Bigben 阅读(372) 评论(0) 推荐(0) 编辑
摘要: chrome trace 官方文档:https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/ Limboy 强大的可视化利器 Chrome Trace Viewer 使用详解 2020-03-21 最近研究了下 C 阅读全文
posted @ 2022-08-30 10:22 Bigben 阅读(699) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-08-26 18:10 Bigben 阅读(0) 评论(0) 推荐(0) 编辑
摘要: wasm的 surface.makeSurface js中: CanvasKit.Surface.prototype.makeSurface = function(imageInfo) { CanvasKit.setCurrentContext(this._context); var s = thi 阅读全文
posted @ 2022-08-18 17:31 Bigben 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 作曲 : Jerad Charles Atherton I count on every word you said 你的每句话 我深信不疑 In the back of my mind I repeat them 心中反复默念 One by one 一一铭记 I need you when I′m 阅读全文
posted @ 2022-08-05 21:35 Bigben 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 作词 : Brent Kutzle/Tyler Spry/Steven Mudd/Ryan Tedder/Josh Varnadore 作曲 : Brent Kutzle/Tyler Spry/Steven Mudd/Ryan Tedder/Josh Varnadore Somedays I'm t 阅读全文
posted @ 2022-08-05 21:35 Bigben 阅读(81) 评论(0) 推荐(0) 编辑
摘要: Through Different Eyes CHPTRS - Through Different Eyes - EP 作曲 : Jerad Charles Atherton Got our start on the bright side 我们的出发点是好的 Caught a glimpse of 阅读全文
posted @ 2022-08-05 21:29 Bigben 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Obvious (Alternate Version) CHPTRS - Chapter Three (Alternate Versions) 作曲 : Jerad Charles Atherton Don’t tell me to calm down 不要说什么冷静下来这样的话 Look all  阅读全文
posted @ 2022-08-05 21:28 Bigben 阅读(236) 评论(0) 推荐(0) 编辑
摘要: CHPTRS - Last Chance Wash over meLead me far from my surroundingTake over meOver every rushing memoryIf only for a momentOh, this could be my last cha 阅读全文
posted @ 2022-08-05 21:28 Bigben 阅读(132) 评论(0) 推荐(0) 编辑
摘要: The Light CHPTRS - Chapter Five 作曲 : Jerad Charles Atherton Well you looked me in the eyes 当你和我相视 And you said it 你说了 And your face can say it all 你的表 阅读全文
posted @ 2022-08-05 21:27 Bigben 阅读(112) 评论(0) 推荐(0) 编辑
摘要: chromium大学 chromium doc 现代浏览器内部揭秘 [译] 现代浏览器内部揭秘(第一部分) - 掘金 (juejin.cn) [译] 现代浏览器内部揭秘(第二部分) - 掘金 (juejin.cn) [译] 现代浏览器内部揭秘(第三部分) - 掘金 (juejin.cn) [译] 现 阅读全文
posted @ 2022-07-05 09:59 Bigben 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 完整参考:Control Docker with systemd | Docker Documentation sudo mkdir -p /etc/systemd/system/docker.service.d Create a file named /etc/systemd/system/doc 阅读全文
posted @ 2022-07-04 16:15 Bigben 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 1,下面编译运行没问题 #include <iostream> #include <unordered_map> #include <functional> using namespace std; void solve() { int x=100; typedef int (*MyType)(in 阅读全文
posted @ 2022-06-04 22:34 Bigben 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 汇编语言一发入魂 – 杨河老李 (kviccn.github.io) 阅读全文
posted @ 2022-05-10 21:14 Bigben 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 函数可以看作是一个普通变量。可被存储在集合或结构中,作为参数传递给其他函数,或作为函数的返回值。 高阶函数:能够接收函数作为参数或者返回函数作为结果的函数。 filter:过滤后集合类型不变 一个类型:T 包含T类型的集合:Collection<T> or C<T> filter函数原型就可以写作: 阅读全文
posted @ 2022-05-04 16:43 Bigben 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 一、以前的类前缀 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 阅读(131) 评论(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 阅读(925) 评论(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 阅读(210) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-01-06 14:57 Bigben 阅读(0) 评论(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 阅读(212) 评论(0) 推荐(0) 编辑