-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated build scripts. * Updated module versions in dependencies.
- Loading branch information
Showing
12 changed files
with
104 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,55 +20,55 @@ | |
|
||
#------------------------------------------------------------------------------ | ||
# Variables that describe source code dependencies | ||
LSP_COMMON_LIB_VERSION := 1.0.33 | ||
LSP_COMMON_LIB_VERSION := 1.0.34 | ||
LSP_COMMON_LIB_NAME := lsp-common-lib | ||
LSP_COMMON_LIB_TYPE := src | ||
LSP_COMMON_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_COMMON_LIB_NAME).git | ||
LSP_COMMON_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_COMMON_LIB_NAME).git | ||
|
||
LSP_DSP_LIB_VERSION := 1.0.20 | ||
LSP_DSP_LIB_VERSION := 1.0.21 | ||
LSP_DSP_LIB_NAME := lsp-dsp-lib | ||
LSP_DSP_LIB_TYPE := src | ||
LSP_DSP_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_LIB_NAME).git | ||
LSP_DSP_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_DSP_LIB_NAME).git | ||
|
||
LSP_LLTL_LIB_VERSION := 1.0.16 | ||
LSP_LLTL_LIB_VERSION := 1.0.17 | ||
LSP_LLTL_LIB_NAME := lsp-lltl-lib | ||
LSP_LLTL_LIB_TYPE := src | ||
LSP_LLTL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_LLTL_LIB_NAME).git | ||
LSP_LLTL_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_LLTL_LIB_NAME).git | ||
|
||
LSP_R3D_BASE_LIB_VERSION := 1.0.16 | ||
LSP_R3D_BASE_LIB_VERSION := 1.0.17 | ||
LSP_R3D_BASE_LIB_NAME := lsp-r3d-base-lib | ||
LSP_R3D_BASE_LIB_TYPE := src | ||
LSP_R3D_BASE_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git | ||
LSP_R3D_BASE_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git | ||
|
||
LSP_R3D_GLX_LIB_VERSION := 1.0.16 | ||
LSP_R3D_GLX_LIB_VERSION := 1.0.17 | ||
LSP_R3D_GLX_LIB_NAME := lsp-r3d-glx-lib | ||
LSP_R3D_GLX_LIB_TYPE := src | ||
LSP_R3D_GLX_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git | ||
LSP_R3D_GLX_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git | ||
|
||
LSP_R3D_IFACE_VERSION := 1.0.16 | ||
LSP_R3D_IFACE_VERSION := 1.0.17 | ||
LSP_R3D_IFACE_NAME := lsp-r3d-iface | ||
LSP_R3D_IFACE_TYPE := src | ||
LSP_R3D_IFACE_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_IFACE_NAME).git | ||
LSP_R3D_IFACE_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_IFACE_NAME).git | ||
|
||
LSP_R3D_WGL_LIB_VERSION := 1.0.11 | ||
LSP_R3D_WGL_LIB_VERSION := 1.0.12 | ||
LSP_R3D_WGL_LIB_NAME := lsp-r3d-wgl-lib | ||
LSP_R3D_WGL_LIB_TYPE := src | ||
LSP_R3D_WGL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git | ||
LSP_R3D_WGL_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git | ||
|
||
LSP_RUNTIME_LIB_VERSION := 1.0.19 | ||
LSP_RUNTIME_LIB_VERSION := 1.0.20 | ||
LSP_RUNTIME_LIB_NAME := lsp-runtime-lib | ||
LSP_RUNTIME_LIB_TYPE := src | ||
LSP_RUNTIME_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git | ||
LSP_RUNTIME_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git | ||
|
||
LSP_TEST_FW_VERSION := 1.0.23 | ||
LSP_TEST_FW_VERSION := 1.0.24 | ||
LSP_TEST_FW_NAME := lsp-test-fw | ||
LSP_TEST_FW_TYPE := src | ||
LSP_TEST_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_TEST_FW_NAME).git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/> | ||
* (C) 2023 Vladimir Sadovnikov <[email protected]> | ||
* Copyright (C) 2024 Linux Studio Plugins Project <https://lsp-plug.in/> | ||
* (C) 2024 Vladimir Sadovnikov <[email protected]> | ||
* | ||
* This file is part of lsp-ws-lib | ||
* Created on: 5 июл. 2022 г. | ||
|
@@ -58,12 +58,12 @@ namespace lsp | |
|
||
size_t WinDDShared::AddRef() | ||
{ | ||
return ++nReferences; | ||
return atomic_add(&nReferences, 1) + 1; | ||
} | ||
|
||
size_t WinDDShared::Release() | ||
{ | ||
size_t count = --nReferences; | ||
size_t count = atomic_add(&nReferences, -1) - 1; | ||
if (count == 0) | ||
delete this; | ||
return count; | ||
|
@@ -179,7 +179,7 @@ namespace lsp | |
prop.pixelFormat.alphaMode = D2D1_ALPHA_MODE_PREMULTIPLIED; // D2D1_ALPHA_MODE_STRAIGHT; | ||
prop.dpiX = dpi_x; | ||
prop.dpiY = dpi_y; | ||
prop.usage = D2D1_RENDER_TARGET_USAGE_NONE; | ||
prop.usage = D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE; | ||
prop.minLevel = D2D1_FEATURE_LEVEL_DEFAULT; | ||
|
||
hwndProp.hwnd = pShared->hWindow; | ||
|
@@ -191,7 +191,7 @@ namespace lsp | |
HRESULT hr = pShared->pDisplay->d2d_factory()->CreateHwndRenderTarget(prop, hwndProp, &ht); | ||
if (FAILED(hr)) | ||
{ | ||
lsp_error("Error creating HWND render target: 0x%08lx", long(hr)); | ||
lsp_error("Error creating HWND render target: window=%p, error=0x%08lx", pShared->hWindow, long(hr)); | ||
return; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/> | ||
* (C) 2023 Vladimir Sadovnikov <[email protected]> | ||
* Copyright (C) 2024 Linux Studio Plugins Project <https://lsp-plug.in/> | ||
* (C) 2024 Vladimir Sadovnikov <[email protected]> | ||
* | ||
* This file is part of lsp-ws-lib | ||
* Created on: 1 июл. 2022 г. | ||
|
@@ -120,7 +120,7 @@ namespace lsp | |
0, // dwExStyle | ||
pWinDisplay->sWindowClassName.get_utf16(), // lpClassName | ||
L"", // lpWindowName | ||
(hParent != NULL) ? WS_CHILD : WS_OVERLAPPEDWINDOW, // dwStyle | ||
(hParent != NULL) ? WS_CHILDWINDOW : WS_OVERLAPPEDWINDOW, // dwStyle | ||
sSize.nLeft, // X | ||
sSize.nTop, // Y | ||
sSize.nWidth, // nWidth | ||
|
@@ -1159,7 +1159,7 @@ namespace lsp | |
|
||
if (has_parent()) | ||
{ | ||
style = WS_CHILD; | ||
style = WS_CHILDWINDOW; | ||
ex_style = WS_EX_ACCEPTFILES; | ||
sysmenu = NULL; | ||
} | ||
|
@@ -1378,14 +1378,27 @@ namespace lsp | |
return STATUS_NOT_IMPLEMENTED; | ||
} | ||
|
||
bool WinWindow::has_parent() const | ||
void *WinWindow::parent() const | ||
{ | ||
if (hWindow == NULL) | ||
return false; | ||
return NULL; | ||
|
||
return reinterpret_cast<void *>(hParent); | ||
} | ||
|
||
status_t WinWindow::set_parent(void *parent) | ||
{ | ||
if (hWindow == NULL) | ||
return STATUS_BAD_STATE; | ||
|
||
HWND wnd = GetParent(hWindow); | ||
HWND pwindow = reinterpret_cast<HWND>(parent); | ||
if (SetParent(hWindow, pwindow) == NULL) | ||
return STATUS_UNKNOWN_ERR; | ||
|
||
return wnd != NULL; | ||
hParent = pwindow; | ||
commit_border_style(enBorderStyle, nActions); | ||
|
||
return STATUS_OK; | ||
} | ||
|
||
bool WinWindow::process_virtual_key(event_t *ev, WPARAM wParam, LPARAM lParam) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters