openpencil/crates/op-host-native/tests
Kayshen-X 47e9e3cac6 refactor(host): gate op-host-native GL stack behind opt-in gl-host feature
Phase 0 of the op-web-daemon extraction. op-host-native now defaults to a
raster-only library: with the new NON-default gl-host feature off, it pulls no
winit/glutin/jian-host-desktop/accesskit and skia-safe WITHOUT gl (no GL link
directives). GUI consumers (op-host-desktop) opt in via features=[gl-host], so
the future headless op-web-daemon can depend on op-host-native
(default-features=false) for the raster export path without the desktop GUI stack.

- Move NativeFrameBackend widget_host/ -> backend/ (raster; no longer drags the
  interactive host into the raster build).
- Gate widget_host/preview/boolean_ops/canvas_view_stub + GlutinProvider /
  SharedSkiaContext behind gl-host. skia gl arrives only via skia-safe/gl;
  accesskit made optional. Mobile-safe: default features = no gl-host.

Verified: raster + desktop + app build green; 385 lib tests pass under gl-host;
cargo tree confirms the raster build is winit/glutin/skia-gl free. Codex-approved.
2026-06-19 17:47:34 +08:00
..
common refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
gpu_chrome_stub_composition.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
gpu_smoke.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
memory_loop.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
paint_order.rs fix(panels): keep image fill popover interactive 2026-05-24 14:01:39 +08:00
preview_raster.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
raster_composition.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
raster_text_smoke.rs refactor(rust): rename native + desktop hosts to op-host-* crates 2026-05-16 23:49:58 +08:00
resize_smoke.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
teardown_idempotent.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
tracing_spans.rs refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00