docs: chromium / golang commands
This commit is contained in:
parent
411ea3e4da
commit
af82ea9dd4
|
@ -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
6
doc/golang.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Debugging
|
||||||
|
- debug a specific test-case
|
||||||
|
```sh
|
||||||
|
dlv test --build-flags='path/to/module' -- -test.run ^TestFunctionName$
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user