Changes between Version 4 and Version 5 of Ticket #16865, comment 4
- Timestamp:
- Mar 14, 2025, 5:40:53 PM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16865, comment 4
v4 v5 15 15 16 16 The Acer example OpenXR code uses a single swapchain. There is some alarming code in my _create_swapchains() routine that adds the swapchain images to a list with a comment saying it is to keep the images alive. That list is never used by saved as an attribute. But it seems as if a deallocation was happening in Python that led to the textures being recreated it would happen on the Sony display too. It would be useful to know if the Acer example code keeps creating new textures. That would be some work to compile the C++ on Windows. 17 18 I see a possible critical difference with the Acer sample code. It calls xrEnumerateSwapchainImages() only at initialization while my code calls it every frame. Test if calling it only at initialization fixes the problem.