diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-04-14 14:13:06 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-04-14 23:38:34 -0700 |
| commit | aa18efa9a914b929ca2c04f9bea2f1011e066ed4 (patch) | |
| tree | 61afec7f4f904fb7ec429cce59d62bc7375eaaf6 /src/cairo-glx.cpp | |
| parent | 3faa28e886a9076a3b25de51c311d8015b3cb165 (diff) | |
cmake: Make GLX/EGL compilation optional (with EGL as default)
GLX and GLES2/3 are incompatible as apparently the have overlapping
API's so when both are linked in an executable one lib's functions are
going to subvert the others.
This patch provides options to configure GLX and EGL on or off.
Longer term, this will probably need to be revisited. Perhaps there
should be a GL_FLAVOR, that can be set to "glx", "egl", etc. so only one
is defined at a time. Or, perhaps we generate multiple binaries, one
for each, ala caskbench_egl, caskbench_glx, etc.
Diffstat (limited to 'src/cairo-glx.cpp')
0 files changed, 0 insertions, 0 deletions