McRogueFace/tests
John McCardle 90c318104b Fix Issue #63: Implement z-order rendering with dirty flag optimization
- Add dirty flags to PyScene and UIFrame to track when sorting is needed
- Implement lazy sorting - only sort when z_index changes or elements are added/removed
- Make Frame children respect z_index (previously rendered in insertion order only)
- Update UIDrawable::set_int to notify when z_index changes
- Mark collections dirty on append, remove, setitem, and slice operations
- Remove per-frame vector copy in PyScene::render for better performance

Performance improvement: Static scenes now use O(1) check instead of O(n log n) sort every frame

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-05 10:34:06 -04:00
..
WORKING_automation_test_example.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
animation_demo.py Implement comprehensive animation system (closes #59) 2025-07-05 00:56:42 -04:00
api_createScene_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_keypressScene_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_sceneUI_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_setScene_currentScene_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
api_timer_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_click_issue78_analysis.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_click_issue78_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_screenshot_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
automation_screenshot_test_simple.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
debug_render_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
empty_script.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
exit_immediately_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
force_non_interactive.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
generate_caption_screenshot_fixed.py Update comprehensive documentation for Alpha release (Issue #47) 2025-07-04 06:59:02 -04:00
generate_docs_screenshots.py Update comprehensive documentation for Alpha release (Issue #47) 2025-07-04 06:59:02 -04:00
generate_docs_screenshots_simple.py Update comprehensive documentation for Alpha release (Issue #47) 2025-07-04 06:59:02 -04:00
generate_entity_screenshot_fixed.py Fix Issue #63: Implement z-order rendering with dirty flag optimization 2025-07-05 10:34:06 -04:00
generate_grid_screenshot.py Update comprehensive documentation for Alpha release (Issue #47) 2025-07-04 06:59:02 -04:00
generate_sprite_screenshot.py Update comprehensive documentation for Alpha release (Issue #47) 2025-07-04 06:59:02 -04:00
keypress_scene_validation_test.py Add validation to keypressScene() for non-callable arguments 2025-07-03 20:41:03 -04:00
screenshot_transparency_fix_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
simple_screenshot_test.py Update comprehensive documentation for Alpha release (Issue #47) 2025-07-04 06:59:02 -04:00
simple_timer_screenshot_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
test_stdin_theory.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
trace_exec_behavior.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
trace_interactive.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Entity_issue73_test.py Fix Issue #63: Implement z-order rendering with dirty flag optimization 2025-07-05 10:34:06 -04:00
ui_Frame_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Frame_test_detailed.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Grid_none_texture_test.py Fix Grid to support None/null texture and fix error message bug 2025-07-03 19:40:42 -04:00
ui_Grid_null_texture_test.py Fix Grid to support None/null texture and fix error message bug 2025-07-03 19:40:42 -04:00
ui_Grid_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Grid_test_no_grid.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Grid_test_simple.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_Sprite_issue19_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
ui_UICollection_issue69_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
validate_screenshot_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00
working_timer_test.py Fix --exec interactive prompt bug and create comprehensive test suite 2025-07-03 19:25:49 -04:00