Skip to content

Instantly share code, notes, and snippets.

@ppaalanen
ppaalanen / meson.build
Created March 28, 2019 15:25
Pixman -I argument not passed to executable
project('maa', 'c')
pixman = dependency('pixman-1')
lib = shared_library('foo.c')
dep = declare_dependency(
link_with: lib,
dependencies: pixman
)
@ppaalanen
ppaalanen / Wayland-HMD-shell.txt
Created March 14, 2017 14:31
A rough draft for HMD direct mode on Wayland, v2
Goal: facilitate "Direct Mode" the best we can for HMD video output on Wayland
Direct Mode essentially means the desktop is not extended to the HMD, and it
provides the lowest possible latency to screen.
Specify a HMD-shell extension, somewhat similar to fullscreen-shell but
capable to co-exist with any other shell.
HMD-shell will cover only outputs that are HMDs. HMDs should not be exposed as
wl_outputs.
@ppaalanen
ppaalanen / gist:72cb586e0d61cb76360f96b7f8c11c60
Created February 22, 2017 11:09
A rough idea for Wayland HMD shell
Goal: facilitate "Direct Mode" the best we can for HMD video output on Wayland
Direct Mode essentially means the desktop is not extended to the HMD, and it
provides the lowest possible latency to screen.
Specify a HMD-shell extension, somewhat similar to fullscreen-shell but
capable to co-exist with any other shell.
HMD-shell will cover only outputs that are HMDs. HMDs should not be exposed as
wl_outputs.