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 "shared/helpers.h"
#include "shared/matrix.h"
#include <libweston/matrix.h>
/* Our points for the calibration must be not be on a line */
static const struct {
@ -286,7 +286,7 @@ main(int argc, char *argv[])
break;
}
}
display = display_create(&argc, argv);
if (display == NULL) {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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