Prerequisites:
- A PC with a Linux distribution - Arch Linux
amd64
used here
Dependencies (for Arch Linux amd64
):
edk2-armvirt
qemu-arch-extra
wget
// gcc -o drmgl Linux_DRM_OpenGLES.c `pkg-config --cflags --libs libdrm` -lgbm -lEGL -lGLESv2 -ldl -lsrv_um -I/usr/include/gbm -lIMGegl -ldrm_omap | |
/* | |
* Copyright (c) 2012 Arvin Schnell <arvin.schnell@gmail.com> | |
* Copyright (c) 2012 Rob Clark <rob@ti.com> | |
* Copyright (c) 2013 Anand Balagopalakrishnan <anandb@ti.com> | |
* Copyright (c) 2017 Miouyouyou <Myy> <myy@miouyouyou.fr> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), |