mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-10-22 20:52:54 +00:00
[repos] lgprotocol: import shared protocol definitions
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
Add LGProtocol as a pinned submodule and consume its KVMFR protocol definitions throughout the client, host, IDD, OBS, and profiler. Keep Looking Glass framebuffer helpers local while removing duplicated protocol headers and migrating users to KVMFR-scoped types.
This commit is contained in:
@@ -167,8 +167,8 @@ static struct
|
||||
}
|
||||
l_testCapture;
|
||||
|
||||
static atomic_uint_least64_t l_testFrameSerial;
|
||||
static _Atomic(FrameType) l_testFrameType;
|
||||
static atomic_uint_least64_t l_testFrameSerial;
|
||||
static _Atomic(KVMFRFrameType) l_testFrameType;
|
||||
#endif
|
||||
|
||||
static void lgInit(void)
|
||||
@@ -697,7 +697,7 @@ static void preSwapCallback(void * udata)
|
||||
return;
|
||||
}
|
||||
|
||||
const FrameType sourceType =
|
||||
const KVMFRFrameType sourceType =
|
||||
atomic_load_explicit(&l_testFrameType, memory_order_acquire);
|
||||
const LG_TestCaptureHeader header = {
|
||||
.magic = LG_TEST_CAPTURE_MAGIC,
|
||||
@@ -1605,7 +1605,7 @@ int main_frameThread(void * unused)
|
||||
(damageCount && !frame.damageRects);
|
||||
for (uint32_t i = 0; !invalidDamage && i < damageCount; ++i)
|
||||
{
|
||||
const FrameDamageRect * rect = &frame.damageRects[i];
|
||||
const KVMFRFrameDamageRect * rect = &frame.damageRects[i];
|
||||
invalidDamage = !rect->width || !rect->height ||
|
||||
rect->x > format->frameWidth ||
|
||||
rect->y > format->dataHeight ||
|
||||
|
||||
Reference in New Issue
Block a user