Tag

Surface

0 views collected around this technical thread.

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.

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