Implement Debug for Context, Surface and Buffer#268
Conversation
e2d94d0 to
b97e10e
Compare
b97e10e to
831973c
Compare
notgull
left a comment
There was a problem hiding this comment.
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 do think having that, in addition to perhaps having some platform-specific handle (maybe even just Wayland vs X11) and format should be useful. |
0fe3792 to
990c18d
Compare
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 |
990c18d to
0a66fdd
Compare
Discussed above why platform-specific information is desirable.
We can always discuss it again in a new PR, but having a Debug impl is better than no Debug impl.
No description provided.