diff options
| author | Bryce Harrington <bryce@osg.samsung.com> | 2017-12-01 20:11:12 -0800 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2017-12-01 20:19:53 -0800 |
| commit | 45f67bf2ab96f15ef2d99848ef150128b3d44465 (patch) | |
| tree | 4c122afb9043665a0a9c901efd93827a643b2b28 /src/CMakeLists.txt | |
| parent | e3c990e8ab999a26d24c28222738040546db5ab5 (diff) | |
This adds an XCB backend and hooks it up for cairo (not skia... yet).
This is for doing performance comparisons of the GL backend against
"standard Cairo".
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 62d0482..a140ccc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,6 +20,12 @@ if (USE_EGL) ) endif (USE_EGL) +if (USE_XCB) + list(APPEND caskbench_SOURCES + xcb.cpp + ) +endif (USE_XCB) + if (USE_SKIA) file(GLOB skia_files skia-util.cpp @@ -34,6 +40,9 @@ if (USE_SKIA) if (USE_EGL) list(APPEND caskbench_SOURCES skia-egl.cpp) endif (USE_EGL) + if (USE_XCB) + list(APPEND caskbench_SOURCES skia-xcb.cpp) + endif (USE_XCB) endif (USE_SKIA) if (USE_CAIRO) @@ -50,6 +59,9 @@ if (USE_CAIRO) if (USE_EGL) list(APPEND caskbench_SOURCES cairo-egl.cpp) endif (USE_EGL) + if (USE_XCB) + list(APPEND caskbench_SOURCES cairo-xcb.cpp) + endif (USE_XCB) endif (USE_CAIRO) add_executable(generate_tests IMPORTED) |