summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* meson: check GLES3 header within GLESv2 include dirsHEADmasterJan Beich2023-04-131-1/+1
| | | | | | | | Run-time dependency glesv2 found: YES 3.2 Check usable header "GLES3/gl3.h" : NO meson.build:65: WARNING: GLES3 not supported; shadertoy & texturator are NOT included in this build Fixes: 61fb902a021e ("meson: replace gles version check with a header presence check")
* meson: upgrade the "GLES3 not supported" message into a warningEric Engestrom2022-11-101-1/+1
|
* meson: replace gles version check with a header presence checkEric Engestrom2022-11-101-3/+4
| | | | | | | | As explained in #8, there are GLES implementations out there that report bogus version numbers for the GLESv2 lib, so we can't actually use that version number reliably. Closes: https://gitlab.freedesktop.org/mesa/kmscube/-/issues/8
* make GLES3 optionalEric Engestrom2022-09-021-10/+19
| | | | | | This means that `shadertoy` & `texturator` might not be supported in a given build. Signed-off-by: Eric Engestrom <eric@engestrom.ch>
* meson.build: Change c_std to gnu99Fabio Estevam2020-03-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Since commit 301a556b8ece ("add fps reporting") the <time.h> header is included, which causes build failures with c99 extension on ARM32: ../common.c: In function 'get_time_ns': ../common.c:376:18: error: storage size of 'tv' isn't known struct timespec tv; ^~ ../common.c:377:16: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) clock_gettime(CLOCK_MONOTONIC, &tv); Change c_std to gnu99 to fix the build error as explained at: https://gcc-help.gcc.gnu.narkive.com/8xCaKI6r/problem-with-struct-timespec-and-c99-standard c99 has been used since commit 6cbd03ab9406 ("Makefile.am: Add -std=c99 to CFLAGS") to fix the following mips64el build failure: "cube-tex.c:230:2: note: use option -std=c99 or -std=gnu99 to compile your code" Use c_std=gnu99 to make both mips64el and ARM32 happy. Signed-off-by: Fabio Estevam <festevam@gmail.com>
* kmscube: add AMD_performance_monitor supportRob Clark2020-03-071-0/+2
| | | | | Only wired up for shadertoy mode, other modes aren't likely to be interesting.
* add shadertoy modeRob Clark2020-03-071-0/+1
| | | | | | Doesn't handle shadertoy shaders which use textures for inputs. That probably wouldn't be straightforward without using the web API to fetch and introspect the shader. But that sounds like a lot more work.
* texturator: capture the screen to a png imageKhaled Emara2019-07-171-1/+7
| | | | | Signed-off-by: Khaled Emara <ekhaled1836@gmail.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
* meson: drop `break`Eric Engestrom2019-07-091-1/+0
| | | | | Fixes #2 Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
* Add texturatorRob Clark2019-05-041-0/+8
| | | | | | | | A utility for testing layouts of various types of textures in various formats. Not really too much related to kms or kmscube, other than re-using kmscube's kms/gbm code and egl helper.
* meson: use `feature` option to simplify the codeEric Engestrom2018-12-111-33/+24
| | | | | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* meson: specify minimum supported meson versionEric Engestrom2018-12-111-0/+1
| | | | | | | Picking 0.47 allows us to use `feature` options, simplifying some of the code. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* meson: no need to turn elements into lists when adding them to listsEric Engestrom2018-12-111-2/+2
| | | | | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* meson: `required: true` is already the defaultEric Engestrom2018-12-111-5/+5
| | | | | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* meson: files should be tracked using `files()`Eric Engestrom2018-12-111-3/+3
| | | | | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* meson: `-Wextra` is `warning_level=2`Eric Engestrom2018-12-111-9/+2
| | | | | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* meson: `-Wall` is always enabled in mesonEric Engestrom2018-12-111-1/+0
| | | | | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
* Add meson supportLyude Paul2018-12-091-0/+105