Tagged articles
Skia
14 articles · Page 1 of 1
The article explains a long‑standing Flutter bug where Text wrapped by Opacity or ShaderMask loses its descender glyphs on Android due to overly precise layer bounds calculated by Skia/FreeType, detailing how saveLayer, hinting, and glyph outline bounds interact, and offers practical workarounds to avoid the clipping.
AndroidFlutterOpacity
0 likes · 11 min read

The article details the design of a cross‑platform C++ rendering engine built for a mobile reading app, explaining its three‑layer architecture, file‑format support, layout and caching mechanisms, security features, and how these technical choices delivered measurable improvements in page views, reading time, and conversion rates.
C++Skiacross-platform
0 likes · 35 min read

This article presents a KMP‑centric solution that uses Kotlin/JS to compute Compose UI on the JS side and Skia PictureRecorder on the native side, enabling block‑level, script‑driven dynamic UI embedding in native Compose pages without WebView or additional rendering stacks.
Dynamic UIKMPKotlin
0 likes · 21 min read

This article documents the design, iterative evolution, and performance optimizations of a cross‑platform self‑rendering engine that started with QuickJS and Flutter, progressed through a C++‑based render tree, and now adopts a React Native‑style self‑draw approach using Skia, detailing architecture, code, and results.
C++React NativeRendering
0 likes · 26 min read

The article explains Android’s graphics pipeline by detailing how HWUI and Skia translate view operations into OpenGL ES commands, describing RenderThread stages such as synchronization, dirty‑region calculation, buffer handling, and drawing, and comparing mobile GPU architectures like TBR, TBDR, and IMR.
AndroidGPUOpenGL
0 likes · 13 min read


Aotu LabFeb 2, 2023 · Frontend Development
This guide explains how to use the open‑source Skia 2D graphics library via the canvaskit‑wasm WebAssembly package to create surfaces, draw shapes, apply paints, shaders, blend modes, and perform 2D matrix transformations—including translation, scaling, rotation, skew, and perspective—culminating in a complete procedural design workflow with reusable JSX components.
CanvasGraphicsSkia
0 likes · 18 min read

This article explains Android image compression fundamentals—including ARGB, bitmap memory, bit‑depth vs. colour‑depth, quality and sampling compression methods—then details the Luban algorithm, its shortcomings, proposed improvements, and the underlying Skia/Huffman/JPEG native implementation with code examples.
AndroidBitmapHuffman
0 likes · 27 min read

This article examines the challenges of achieving view‑level background blur on Android, compares four implementation strategies—including open‑source libraries and custom AOSP modifications—analyzes their performance, compatibility, and visual quality, and provides code examples and practical recommendations for developers.
AndroidGraphicsSkia
0 likes · 19 min read

Flutter is chosen for cross‑platform development because its single‑code Dart framework uses a self‑rendering engine and layered architecture—embedder, engine, and framework—to bypass JS bridges, delivering high‑performance, consistent UI via a GPU‑driven pipeline with layout, painting, and compositing optimizations.
DartFlutterSkia
0 likes · 10 min read

This article explores the underlying font metrics and layout algorithms that cause text vertical misalignment in Flutter, analyzes Android native solutions like includeFontPadding and getTextBounds, and demonstrates how to implement a precise forceVerticalCenter feature by leveraging Minikin and Skia rendering pipelines.
AndroidCross-platform DevelopmentFlutter
0 likes · 13 min read

Flutter is a Google‑backed cross‑platform framework that uses Dart and its own Skia rendering engine to deliver near‑native performance and consistent UI across mobile, web, and desktop, offering hot reload, rich widgets, and platform channels, while facing challenges such as larger app sizes, a smaller ecosystem, and limited dynamic update support compared with React Native and Hippy.
DartFlutterSkia
0 likes · 12 min read

This article provides a comprehensive overview of Flutter's architecture, rendering pipeline, and lifecycle, comparing it with React Native and explaining how its self‑draw engine, Dart language, and cross‑platform capabilities make it a compelling choice for modern frontend development.
DartSkiaui-rendering
0 likes · 27 min read

Flutter reduces CPU/GPU overhead in multi‑video calls by separating drawing from presentation, using a unified LayerTree and external textures that share OpenGL contexts between Flutter and native code, allowing direct Skia rendering of native pixel buffers on iOS and Android with significantly lower latency and memory use.
External TextureFlutterOpenGL
0 likes · 13 min read

This article explains Android's DisplayMetrics density values, shows how to calculate a Bitmap's runtime memory footprint using getByteCount, explores the impact of screen density, pixel format, and scaling, and provides practical techniques such as inSampleSize, matrix scaling, and pixel format selection to minimize memory consumption.
AndroidBitmapDisplayMetrics
0 likes · 23 min read
