softbuffer icon indicating copy to clipboard operation
softbuffer copied to clipboard

Implement Debug for `Context`, `Surface` and `Buffer`

Open madsmtm opened this issue 7 months ago • 1 comments

Builds upon #267.

madsmtm avatar Jun 05 '25 13:06 madsmtm

I do think having that, in addition to perhaps having some platform-specific handle (maybe even just Wayland vs X11) and format should be useful.

MarijnS95 avatar Aug 14 '25 09:08 MarijnS95

Would prefer if it just printed some platform-generic info like width, height, current state, etc instead of platform-specific info. Would probably be more parsable and helpful for users.

I disagree with this, I think it's often helpful to get the implementation details. For example, I might very reasonably want to debug some problem on Wayland, and then it makes sense to be able to see the state of the two buffers when I debug-print Surface.

madsmtm avatar Nov 23 '25 20:11 madsmtm