Accelerating Qt WebKit Applications
summary
Qt WebKit in Qt 4.7 adds concrete performance features: tiled pixmap caching and view flattening for touch UIs, a 60 fps on N8 claim from real devices, and an accelerated-compositing path that uses QGraphicWebView + OpenGL to offload transforms to the GPU. Text layout gets a fast-path for simple Latin scripts. Profilers mentioned: valgrind/gprof/shark to find DOM thrashing (massive alloc/free) and costly layouts; texture uploads can cost 20–30 ms and explain janky starts unless compositing is forced or content is redesigned.
AI-written summary · about
chapters (17)
- 0:00Intro
- 2:28Why did we work on performance?
- 4:35We take advantage of hardware acceleration
- 8:03What are we gonna talk about?
- 8:51Browsers were designed for big screens
- 9:59Mobile browsing adopts another model
- 11:43How do you achieve the mobile model?
- 16:20You can also flatten frames
- 21:15Some operations are not fast on a CPU
- 24:15Example
- 26:26How to enable accelerated compositing?
- 30:37What if you don't have OpenGL?
- 31:59You should understand the main operations of ot the engine
- 35:08You should profile and learn how to use the information
- 36:20Game time
- 40:04Game 1: let's scroll
- 47:04Game 3: animations anyone?
related talks
44mWebKit 2 - Looking Forward
47mMeet Qt WebKit
50mHTML5 in QtWebKit
24mQt's Web Offering- An Overview
01h 00mHow to optimise Qt Quick 2 applications for maximum performance
58mHybrid development with QtWebKit
54mCustomizing Qt to create first class graphical experiences on highly customized hardware
01h 02mCreating Performant Qt Quick Apps
