Rename matrix.h to libweston/matrix.h

matrix.h is a public installed header and even used by libweston.h.

See "Rename compositor.h to libweston/libweston.h" for rationale.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2019-04-04 13:47:40 +03:00
parent 9eda0ea825
commit 96dc449259
10 changed files with 9 additions and 8 deletions

View File

@ -38,7 +38,7 @@
#include "window.h" #include "window.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/matrix.h" #include <libweston/matrix.h>
/* Our points for the calibration must be not be on a line */ /* Our points for the calibration must be not be on a line */
static const struct { static const struct {

View File

@ -40,7 +40,7 @@
#include "clients/window.h" #include "clients/window.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/matrix.h" #include <libweston/matrix.h>
#include "weston-touch-calibration-client-protocol.h" #include "weston-touch-calibration-client-protocol.h"

View File

@ -41,7 +41,7 @@ extern "C" {
#define WL_HIDE_DEPRECATED #define WL_HIDE_DEPRECATED
#include <wayland-server.h> #include <wayland-server.h>
#include "matrix.h" #include <libweston/matrix.h>
#include "config-parser.h" #include "config-parser.h"
#include "zalloc.h" #include "zalloc.h"
#include <libweston/timeline-object.h> #include <libweston/timeline-object.h>

View File

@ -1,5 +1,6 @@
install_headers( install_headers(
'libweston.h', 'libweston.h',
'matrix.h',
'plugin-registry.h', 'plugin-registry.h',
'timeline-object.h', 'timeline-object.h',
'windowed-output-api.h', 'windowed-output-api.h',

View File

@ -58,7 +58,6 @@ srcs_libweston = [
install_headers( install_headers(
'../shared/config-parser.h', '../shared/config-parser.h',
'../shared/matrix.h',
'../shared/zalloc.h', '../shared/zalloc.h',
subdir: dir_include_libweston subdir: dir_include_libweston
) )

View File

@ -37,7 +37,7 @@
#include <wayland-server.h> #include <wayland-server.h>
#endif #endif
#include "matrix.h" #include <libweston/matrix.h>
/* /*

View File

@ -17,6 +17,7 @@ lib_libshared = static_library(
) )
dep_libshared = declare_dependency( dep_libshared = declare_dependency(
link_with: lib_libshared, link_with: lib_libshared,
include_directories: public_inc,
dependencies: deps_libshared dependencies: deps_libshared
) )

View File

@ -32,7 +32,7 @@
#include <signal.h> #include <signal.h>
#include <time.h> #include <time.h>
#include "shared/matrix.h" #include <libweston/matrix.h>
struct inverse_matrix { struct inverse_matrix {
double LU[16]; /* column-major */ double LU[16]; /* column-major */

View File

@ -97,7 +97,7 @@ dep_zucmain = declare_dependency(
tests_standalone = [ tests_standalone = [
['config-parser', [], [ dep_zucmain ]], ['config-parser', [], [ dep_zucmain ]],
['matrix', [ '../shared/matrix.c' ], [ dep_libm ]], ['matrix', [ '../shared/matrix.c' ], [ dep_libm, dep_libshared.partial_dependency(includes: true) ]],
['string'], ['string'],
[ [
'vertex-clip', 'vertex-clip',