docs: chromium / golang commands

This commit is contained in:
Klesh Wong 2021-09-26 10:24:31 +08:00
parent 411ea3e4da
commit af82ea9dd4
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# refer
1. install vaapi vdpau package: 1. install vaapi vdpau package:
archlinux archlinux
```sh ```sh
@ -8,3 +9,11 @@
- chrome://flags/#enable-accelerated-video-decode - chrome://flags/#enable-accelerated-video-decode
3. verification 3. verification
- chrome://gpu - chrome://gpu
# references
- [How To Enable Hardware Accelerated Video Decode In Google Chrome, Brave, Vivaldi And Opera Browsers On Debian, Ubuntu Or Linux Mint - Linux Uprising Blog](https://www.linuxuprising.com/2021/01/how-to-enable-hardware-accelerated.html)
```
google-chrome-stable --use-gl=desktop --enable-features=VaapiVideoDecoder
```

6
doc/golang.md Normal file
View File

@ -0,0 +1,6 @@
# Debugging
- debug a specific test-case
```sh
dlv test --build-flags='path/to/module' -- -test.run ^TestFunctionName$
```