lib/gamnit depth&flat: extract implementations of frame_core_draw