mirror of
https://github.com/hyprwm/aquamarine.git
synced 2026-05-01 10:57:57 +02:00
so nvidia as main gpu cant create linear modifiers and will give us a null bo if forced to linear, meanwhile without linear modifiers blitting fallbacks to cpu copying that is slow. so force linear mods, try create bo and if all else fails try again without. this way intel/amd as main and nvidia as dgpu will create linears and if nvidia is main it will be using cpu copying and still work but a bit slow. hide all of this behind AQ_FORCE_LINEAR_BLIT env var. since its a bit hackish. |
||
|---|---|---|
| .. | ||
| allocator | ||
| backend | ||
| buffer | ||
| include | ||
| input | ||
| misc | ||
| output | ||
| utils | ||