Skip to content

Commit 6f3e247

Browse files
committed
Release 0.5.4
* Split all interface code into lsp-r3d-iface.
2 parents 2b4a923 + 5da78f5 commit 6f3e247

File tree

12 files changed

+122
-496
lines changed

12 files changed

+122
-496
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 0.5.4 ===
6+
* Split all interface code into lsp-r3d-iface.
7+
58
=== 0.5.3 ===
69
* Updated build scripts that now use tags without prefixes first.
710
* Updated headers and license files to match LGPL3+ license.

dependencies.mk

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,20 @@
1919
#
2020

2121
# Variables that describe dependencies
22-
LSP_COMMON_LIB_VERSION := 1.0.8
22+
LSP_COMMON_LIB_VERSION := 1.0.10
2323
LSP_COMMON_LIB_NAME := lsp-common-lib
24-
LSP_COMMON_LIB_URL := https://github.com/sadko4u/$(LSP_COMMON_LIB_NAME).git
2524
LSP_COMMON_LIB_TYPE := hdr
25+
LSP_COMMON_LIB_URL := https://github.com/sadko4u/$(LSP_COMMON_LIB_NAME).git
2626

2727
LSP_TEST_FW_VERSION := 1.0.6
2828
LSP_TEST_FW_NAME := lsp-test-fw
29-
LSP_TEST_FW_URL := https://github.com/sadko4u/$(LSP_TEST_FW_NAME).git
3029
LSP_TEST_FW_TYPE := src
30+
LSP_TEST_FW_URL := https://github.com/sadko4u/$(LSP_TEST_FW_NAME).git
31+
32+
LSP_R3D_IFACE_VERSION := 0.5.1
33+
LSP_R3D_IFACE_NAME := lsp-r3d-iface
34+
LSP_R3D_IFACE_TYPE := hdr
35+
LSP_R3D_IFACE_URL := https://github.com/sadko4u/$(LSP_R3D_IFACE_NAME).git
3136

3237
STDLIB_VERSION := system
3338
STDLIB_TYPE := opt

include/lsp-plug.in/r3d/backend.h

Lines changed: 0 additions & 158 deletions
This file was deleted.

include/lsp-plug.in/r3d/base.h

Lines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
4+
*
5+
* This file is part of lsp-r3d-base-lib
6+
* Created on: 18 апр. 2019 г.
7+
*
8+
* lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU Lesser General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* any later version.
12+
*
13+
* lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU Lesser General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU Lesser General Public License
19+
* along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
20+
*/
21+
22+
#ifndef LSP_PLUG_IN_R3D_BASE_BACKEND_H_
23+
#define LSP_PLUG_IN_R3D_BASE_BACKEND_H_
24+
25+
#include <lsp-plug.in/r3d/base/version.h>
26+
#include <lsp-plug.in/r3d/iface/backend.h>
27+
#include <lsp-plug.in/common/types.h>
28+
29+
namespace lsp
30+
{
31+
namespace r3d
32+
{
33+
typedef struct base_backend_t: public backend_t
34+
{
35+
mat4_t matProjection;
36+
mat4_t matView;
37+
mat4_t matWorld;
38+
39+
color_t colBackground;
40+
41+
ssize_t viewLeft;
42+
ssize_t viewTop;
43+
ssize_t viewWidth;
44+
ssize_t viewHeight;
45+
46+
static void init_matrix_identity(mat4_t *m);
47+
static void matrix_mul(mat4_t *r, const mat4_t *s, const mat4_t *m);
48+
49+
explicit base_backend_t();
50+
void construct();
51+
52+
static status_t init(backend_t *handle);
53+
static void destroy(backend_t *handle);
54+
55+
static status_t locate(backend_t *handle, ssize_t left, ssize_t top, ssize_t width, ssize_t height);
56+
static status_t set_matrix(backend_t *handle, matrix_type_t type, const mat4_t *m);
57+
static status_t get_matrix(backend_t *handle, matrix_type_t type, mat4_t *m);
58+
static status_t set_bg_color(backend_t *handle, const color_t *color);
59+
static status_t get_bg_color(backend_t *handle, color_t *color);
60+
static status_t get_location(backend_t *handle, ssize_t *left, ssize_t *top, ssize_t *width, ssize_t *height);
61+
62+
} base_backend_t;
63+
}
64+
}
65+
66+
#endif /* LSP_PLUG_IN_R3D_BASE_BACKEND_H_ */

include/lsp-plug.in/r3d/version.h renamed to include/lsp-plug.in/r3d/base/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#define LSP_R3D_BASE_LIB_MAJOR 0
2626
#define LSP_R3D_BASE_LIB_MINOR 5
27-
#define LSP_R3D_BASE_LIB_MICRO 3
27+
#define LSP_R3D_BASE_LIB_MICRO 4
2828

2929
#ifdef LSP_R3D_BASE_LIB_BUILTIN
3030
#define LSP_R3D_BASE_LIB_EXPORT

include/lsp-plug.in/r3d/factory.h

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)