X-Git-Url: https://git.ti.com/gitweb?p=android%2Fexternal-libkmsxx.git;a=blobdiff_plain;f=README.md;h=1d20a52271f4d98707a36de7395103b179ce558f;hp=bf1e44a9d7d3bbe261f755c27fa6abf94991ff7c;hb=74d8dfd74c9cb822ffd4a0b99d96e8ede38f8640;hpb=894d6154bf75f1cf1333d27c7406f4e5e82372a1;ds=inline diff --git a/README.md b/README.md index bf1e44a..1d20a52 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,21 @@ libkms++ is a C++11 library for kernel mode setting. -Also included are simple test tools for KMS and python and lua wrappers for libkms++. +Also included are simple test tools for KMS and python wrapper for libkms++. + +## Test tools + +- kmsprint - print information about DRM objects +- testpat - set modes and show test pattern on crtcs/planes +- kmsview - view raw images +- db - simple double-buffering test +- kmscube - rotating 3D cube on crtcs/planes ## Dependencies: - libdrm -- SWIG 3.x (for python & lua bindings) +- SWIG 3.x (for python bindings) - Python 3.x (for python bindings) -- Lua 5.x (for lua bindings) ## Build instructions: @@ -47,15 +54,16 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) You can use the following cmake flags to control the build. Use `-DFLAG=VALUE` to set them. -Option name | Values | Default --------------------- | ------------- | -------- -CMAKE_BUILD_TYPE | Release/Debug | Release -LIBKMS_ENABLE_PYTHON | ON/OFF | ON -LIBKMS_ENABLE_LUA | ON/OFF | ON +Option name | Values | Default | Notes +--------------------- | ------------- | -------- | -------- +CMAKE_BUILD_TYPE | Release/Debug | Release | +LIBKMS_ENABLE_PYTHON | ON/OFF | ON | +LIBKMS_ENABLE_KMSCUBE | ON/OFF | OFF | +LIBKMS_ENABLE_LTO  | ON/OFF | OFF | Link Time Optimization ## Env variables -You can use the following environmental variables to control the behavior of libkms. +You can use the following runtime environmental variables to control the behavior of libkms. Variable | Description --------------------------------- | -------------