mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 10:44:25 +00:00
Move matrix.[ch] to shared
This means it can be used for the calibration tool.
This commit is contained in:
parent
80137f3afe
commit
4a822495fa
|
@ -7,7 +7,9 @@ libshared_la_SOURCES = \
|
|||
option-parser.c \
|
||||
config-parser.h \
|
||||
os-compatibility.c \
|
||||
os-compatibility.h
|
||||
os-compatibility.h \
|
||||
matrix.c \
|
||||
matrix.h
|
||||
|
||||
libshared_cairo_la_CFLAGS = \
|
||||
$(GCC_CFLAGS) \
|
||||
|
|
|
@ -32,8 +32,6 @@ weston_SOURCES = \
|
|||
workspaces-protocol.c \
|
||||
workspaces-server-protocol.h \
|
||||
util.c \
|
||||
matrix.c \
|
||||
matrix.h \
|
||||
gl-renderer.h \
|
||||
gl-renderer.c \
|
||||
noop-renderer.c \
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <xkbcommon/xkbcommon.h>
|
||||
#include <wayland-server.h>
|
||||
|
||||
#include "matrix.h"
|
||||
#include "../shared/matrix.h"
|
||||
#include "../shared/config-parser.h"
|
||||
|
||||
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
|
||||
|
|
|
@ -36,8 +36,8 @@ noinst_PROGRAMS = $(setbacklight) matrix-test
|
|||
|
||||
matrix_test_SOURCES = \
|
||||
matrix-test.c \
|
||||
$(top_srcdir)/src/matrix.c \
|
||||
$(top_srcdir)/src/matrix.h
|
||||
$(top_srcdir)/shared/matrix.c \
|
||||
$(top_srcdir)/shared/matrix.h
|
||||
matrix_test_LDADD = -lm -lrt
|
||||
|
||||
setbacklight_SOURCES = \
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <signal.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "matrix.h"
|
||||
#include "../shared/matrix.h"
|
||||
|
||||
struct inverse_matrix {
|
||||
double LU[16]; /* column-major */
|
||||
|
|
Loading…
Reference in a new issue