Clean up SDL GPU plugin #43

Open
opened 2025-09-28 13:26:30 +00:00 by john · 0 comments
Owner

It's currently confusing because of the requirement of wrappers. Instead of needing wrappers to count refs, every object that depends on another's lifetime (like a texture and GPU device) should contain a reference on the object itself: so a texture should have a "gpu" property pointing to the device. The texture should then be stoned before returning.

It's currently confusing because of the requirement of wrappers. Instead of needing wrappers to count refs, every object that depends on another's lifetime (like a texture and GPU device) should contain a reference on the object itself: so a texture should have a "gpu" property pointing to the device. The texture should then be stoned before returning.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: john/cell#43
No description provided.