Skip to content
An OpenGL (via libdrm) Sample for rk3399 arm linux
C C++ Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
native
.gitignore
CMakeLists.txt
README.md
aarch64_linux_gnu.cmake
build.sh
cmake_install.cmake
main_gbm.cpp
main_wayland.cpp

README.md

Opengl via libdrm sample

Build:

  1. building in target borad: cmake . make

  2. building in cross-compiling env cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./aarch64_linux_gnu.cmake make (also you can run build.sh)

Depandency Libarary

  • libdrm.so (libdrm-rockchip)
  • libmali.so (libmali.so_gbm_opencl_r13p0_aarch64)

Note:

You can find more infomation as below:
http://stackoverflow.com/questions/23139886/how-to-create-opengl-context-via-drm-linux

Here is another sample:
https://github.com/robclark/kmscube.git

And anothre:
https://github.com/glmark2/glmark2

You can’t perform that action at this time.