Tagged articles
14 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Feb 4, 2026 · Mobile Development

Why Flutter Text Gets Clipped Under Opacity/ShaderMask? Deep Dive into Skia Bounds Bug

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
Why Flutter Text Gets Clipped Under Opacity/ShaderMask? Deep Dive into Skia Bounds Bug
Zhihu Tech Column
Zhihu Tech Column
Jan 16, 2026 · Mobile Development

How a Custom C++ Native Rendering Engine Boosted Reading‑App Performance by Over 2%

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.

CMobile DevelopmentRendering Engine
0 likes · 35 min read
How a Custom C++ Native Rendering Engine Boosted Reading‑App Performance by Over 2%
JD Retail Technology
JD Retail Technology
May 20, 2024 · Frontend Development

Cross‑Platform Self‑Rendering Engine: Design, Evolution, and Optimization with Skia and C++

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
Cross‑Platform Self‑Rendering Engine: Design, Evolution, and Optimization with Skia and C++
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 27, 2023 · Mobile Development

Understanding Android HWUI, Skia, and OpenGL Rendering Pipeline

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
Understanding Android HWUI, Skia, and OpenGL Rendering Pipeline
Aotu Lab
Aotu Lab
Feb 2, 2023 · Frontend Development

Mastering Skia with CanvasKit: From Surfaces to Perspective Transforms

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
Mastering Skia with CanvasKit: From Surfaces to Perspective Transforms
Sohu Tech Products
Sohu Tech Products
Sep 28, 2022 · Mobile Development

Understanding Android Image Compression: Fundamentals, Algorithms, and Luban Implementation

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
Understanding Android Image Compression: Fundamentals, Algorithms, and Luban Implementation
Coolpad Technology Team
Coolpad Technology Team
Sep 15, 2022 · Mobile Development

Implementing View‑Level Background Blur on Android: Open‑Source Solutions and Custom Approaches

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
Implementing View‑Level Background Blur on Android: Open‑Source Solutions and Custom Approaches
Tencent Cloud Developer
Tencent Cloud Developer
Sep 26, 2021 · Mobile Development

Flutter: Why Choose It, Overview, and Rendering Architecture

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.

DARTFlutterMobile Development
0 likes · 10 min read
Flutter: Why Choose It, Overview, and Rendering Architecture
ByteDance Terminal Technology
ByteDance Terminal Technology
Aug 4, 2021 · Mobile Development

Achieving Perfect Text Vertical Centering in Flutter: A Deep Dive into Font Metrics and Android Layout Principles

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
Achieving Perfect Text Vertical Centering in Flutter: A Deep Dive into Font Metrics and Android Layout Principles
Tencent Cloud Developer
Tencent Cloud Developer
Aug 14, 2020 · Mobile Development

Flutter Overview: Design Background, Technical Features, and Comparison with Other Cross‑Platform Solutions

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.

DARTFlutterMobile Development
0 likes · 12 min read
Flutter Overview: Design Background, Technical Features, and Comparison with Other Cross‑Platform Solutions
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 30, 2019 · Frontend Development

Why Flutter Could Be the Next Big Thing for Frontend Developers

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
Why Flutter Could Be the Next Big Thing for Frontend Developers
Xianyu Technology
Xianyu Technology
Aug 21, 2018 · Mobile Development

Flutter External Texture Rendering and Optimization

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
Flutter External Texture Rendering and Optimization
Tencent TDS Service
Tencent TDS Service
Jan 14, 2016 · Mobile Development

How to Accurately Measure and Reduce Android Bitmap Memory Usage

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
How to Accurately Measure and Reduce Android Bitmap Memory Usage