kapouer / node-webkitgtk

webkitgtk bindings for :rocket: Node.js
MIT License
189 stars 13 forks source link

run headless with weston #57

Open kapouer opened 7 years ago

kapouer commented 7 years ago

weston can run headless

Options for headless-backend.so:

  --width=WIDTH     Width of memory surface
  --height=HEIGHT   Height of memory surface
  --transform=TR    The output transformation, TR is one of:
    normal 90 180 270 flipped flipped-90 flipped-180 flipped-270
  --use-pixman      Use the pixman (CPU) renderer (default: no rendering)
kapouer commented 7 years ago

On debian/experimental with weston 1.11.94 (ideally weston 1.12.0 should be used)

weston -B headless-backend.so --socket=wktest &
WAYLAND_DISPLAY=wktest mocha

so it's just weston replacing xvfb;

it has a couple options that might be interesting: --no-outputs --use-pixman

kapouer commented 4 years ago

NB: vkms kernel driver.