File tree Expand file tree Collapse file tree 5 files changed +26
-28
lines changed Expand file tree Collapse file tree 5 files changed +26
-28
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ namespace lsp
22
22
const char *id; // Enumeration unique identifier
23
23
const char *display; // Display name
24
24
const char *lc_key; // Localized display name key
25
- version_t version; // Interface version
26
25
} backend_metadata_t ;
27
26
28
27
/* *
Original file line number Diff line number Diff line change 5
5
* Author: sadko
6
6
*/
7
7
8
- #ifndef LSP_PLUG_IN_R3D_BASE_BACKEND_H_
9
- #define LSP_PLUG_IN_R3D_BASE_BACKEND_H_
8
+ #ifndef LSP_PLUG_IN_R3D_BASE_H_
9
+ #define LSP_PLUG_IN_R3D_BASE_H_
10
10
11
11
#include < lsp-plug.in/common/types.h>
12
12
#include < lsp-plug.in/r3d/version.h>
@@ -48,4 +48,4 @@ namespace lsp
48
48
}
49
49
}
50
50
51
- #endif /* LSP_PLUG_IN_R3D_BASE_BACKEND_H_ */
51
+ #endif /* LSP_PLUG_IN_R3D_BASE_H_ */
Original file line number Diff line number Diff line change 8
8
#ifndef LSP_PLUG_IN_R3D_FACTORY_H_
9
9
#define LSP_PLUG_IN_R3D_FACTORY_H_
10
10
11
+ #include < lsp-plug.in/r3d/base.h>
11
12
#include < lsp-plug.in/r3d/version.h>
12
13
#include < lsp-plug.in/r3d/types.h>
13
- #include < lsp-plug.in/r3d/base_backend.h>
14
14
15
15
namespace lsp
16
16
{
Original file line number Diff line number Diff line change 11
11
#include < lsp-plug.in/r3d/version.h>
12
12
#include < lsp-plug.in/common/types.h>
13
13
14
- #define LSP_R3D_FACTORY_FUNCTION_NAME " lsp_r3d_factory"
15
- #define LSP_R3D_FACTORY_VERSION_NAME " lsp_r3d_version"
14
+ #define LSP_R3D_FACTORY_FUNCTION_NAME " lsp_r3d_factory"
16
15
17
16
namespace lsp
18
17
{
19
18
namespace r3d
20
19
{
21
20
enum window_handle_t
22
21
{
23
- R3D_WND_HANDLE_X11 ,
24
- R3D_WND_HANDLE_WINNT
22
+ WND_HANDLE_X11 ,
23
+ WND_HANDLE_WINNT
25
24
};
26
25
27
26
enum pixel_format_t
28
27
{
29
- R3D_PIXEL_RGBA ,
30
- R3D_PIXEL_BGRA ,
31
- R3D_PIXEL_RGB ,
32
- R3D_PIXEL_BGR
28
+ PIXEL_RGBA ,
29
+ PIXEL_BGRA ,
30
+ PIXEL_RGB ,
31
+ PIXEL_BGR
33
32
};
34
33
35
34
enum matrix_type_t
36
35
{
37
- R3D_MATRIX_PROJECTION , /* Projection matrix */
38
- R3D_MATRIX_VIEW , /* View matrix */
39
- R3D_MATRIX_WORLD /* World matrix for additional transformations if view matrix is not enough */
36
+ MATRIX_PROJECTION , /* Projection matrix */
37
+ MATRIX_VIEW , /* View matrix */
38
+ MATRIX_WORLD /* World matrix for additional transformations if view matrix is not enough */
40
39
};
41
40
42
41
enum light_type_t
43
42
{
44
- R3D_LIGHT_NONE ,
45
- R3D_LIGHT_POINT ,
46
- R3D_LIGHT_DIRECTIONAL ,
47
- R3D_LIGHT_SPOT
43
+ LIGHT_NONE ,
44
+ LIGHT_POINT ,
45
+ LIGHT_DIRECTIONAL ,
46
+ LIGHT_SPOT
48
47
};
49
48
50
49
enum primitive_type_t
51
50
{
52
- R3D_PRIMITIVE_TRIANGLES ,
53
- R3D_PRIMITIVE_WIREFRAME_TRIANGLES ,
54
- R3D_PRIMITIVE_LINES ,
55
- R3D_PRIMITIVE_POINTS ,
51
+ PRIMITIVE_TRIANGLES ,
52
+ PRIMITIVE_WIREFRAME_TRIANGLES ,
53
+ PRIMITIVE_LINES ,
54
+ PRIMITIVE_POINTS ,
56
55
};
57
56
58
57
enum buffer_flags_t
59
58
{
60
- R3D_BUFFER_BLENDING = 1 << 0 ,
61
- R3D_BUFFER_LIGHTING = 1 << 1 ,
62
- R3D_BUFFER_NO_CULLING = 1 << 2
59
+ BUFFER_BLENDING = 1 << 0 ,
60
+ BUFFER_LIGHTING = 1 << 1 ,
61
+ BUFFER_NO_CULLING = 1 << 2
63
62
};
64
63
65
64
#pragma pack(push, 1)
Original file line number Diff line number Diff line change 5
5
* Author: sadko
6
6
*/
7
7
8
- #include < lsp-plug.in/r3d/base_backend .h>
8
+ #include < lsp-plug.in/r3d/base .h>
9
9
#include < lsp-plug.in/stdlib/string.h>
10
10
11
11
namespace lsp
You can’t perform that action at this time.
0 commit comments