Both GTK 4.24.1 and the GTK main branch contain a bug in gdk_d3d12_texture_import_gl: at line 549 of gdkd3d12texture.c, a resource handle is incorrectly passed where a fence handle is expected. This causes the import to fail, forcing GTK to fall back to a CPU-based download.
This bug can be fixed with a one-line change: replace get_resource_handle with get_fence_handle on line 549.