ELSEIF
Your brief EB
178 stories from 125 feeds 523 clusters Refreshed 2 minutes ago next pull 16:53

TECH Signal 401

GNU Emacs merges canvas feature for pixel buffer access without full redisplay

Illustration only Photo by Sonia Dauer on Unsplash

A canvas patch exposing a pixel buffer via the dynamic module API has been merged into upstream GNU Emacs and will ship in the Emacs 32 release cycle.

WHY IT MATTERS

This gives Emacs developers a way to manipulate images at the pixel level without the performance penalty of embedding image data in strings or triggering full redisplay. It enables smooth animations and video playback within Emacs buffers, with demos running at up to 60FPS without lagging the session.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

The canvas patch exposes an ARGB32 pixel buffer via Emacs' dynamic module API, allowing direct image data manipulation.

02

A dedicated canvas-refresh function updates only the relevant glyphs rather than triggering a full redisplay cycle.

03

The feature will ship as part of the Emacs 32 release cycle after approximately 8 months of development.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
monadicsheep.org via Lobsters An Introduction to Canvas in GNU Emacs Open ↗