Tagged articles
3 articles
Page 1 of 1
AntTech
AntTech
Oct 21, 2025 · Mobile Development

Why Does Hybrid Composition Crash with ‘No Surface’ Errors on Android Mini‑Programs?

This article analyzes a recurring crash in Android mini‑programs caused by a canvas synchronization issue in hybrid composition, detailing the stack traces, EGL surface creation failures, cross‑process SurfaceTexture lifecycle problems, and the concrete fix that dramatically reduced “no surface” crashes.

Android RenderingEGLHybrid Composition
0 likes · 20 min read
Why Does Hybrid Composition Crash with ‘No Surface’ Errors on Android Mini‑Programs?
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 11, 2024 · Mobile Development

Understanding Android's Display System: Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync and Multi‑Buffer Mechanisms

This article provides a comprehensive overview of Android's display system, detailing the roles and interactions of Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync, and various buffering strategies to explain how smooth, tear‑free rendering is achieved.

AndroidBufferQueueDisplay System
0 likes · 18 min read
Understanding Android's Display System: Surface, SurfaceFlinger, BufferQueue, HAL, FrameBuffer, VSync and Multi‑Buffer Mechanisms
Tencent Music Tech Team
Tencent Music Tech Team
Apr 19, 2019 · Mobile Development

Common Wrapper Classes for Android BufferQueue: Surface and SurfaceTexture

The article explains BufferQueue’s internal design and shows how Android developers typically use its wrapper classes—Surface as the producer and SurfaceTexture as the consumer—detailing their constructors, dequeue/queue workflows, lock/unlock mechanisms, and a complete SurfaceView example that illustrates buffer production and consumption by SurfaceFlinger.

AndroidBufferQueueGraphics
0 likes · 13 min read
Common Wrapper Classes for Android BufferQueue: Surface and SurfaceTexture