mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-05 10:14:04 +00:00
[client] seperate frame setup and data events
This commit is contained in:
@@ -18,6 +18,7 @@ set(COMMON_SOURCES
|
||||
src/stringlist.c
|
||||
src/option.c
|
||||
src/framebuffer.c
|
||||
src/KVMFR.c
|
||||
)
|
||||
|
||||
add_library(lg_common STATIC ${COMMON_SOURCES})
|
||||
|
@@ -35,6 +35,8 @@ typedef enum FrameType
|
||||
}
|
||||
FrameType;
|
||||
|
||||
extern const char * FrameTypeStr[FRAME_TYPE_MAX];
|
||||
|
||||
enum
|
||||
{
|
||||
CURSOR_FLAG_POSITION = 0x1,
|
||||
|
30
common/src/KVMFR.c
Normal file
30
common/src/KVMFR.c
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
KVMGFX Client - A KVM Client for VGA Passthrough
|
||||
Copyright (C) 2017-2020 Geoffrey McRae <geoff@hostfission.com>
|
||||
https://looking-glass.hostfission.com
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
||||
Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "common/KVMFR.h"
|
||||
|
||||
const char * FrameTypeStr[FRAME_TYPE_MAX] =
|
||||
{
|
||||
"FRAME_TYPE_INVALID",
|
||||
"FRAME_TYPE_BGRA",
|
||||
"FRAME_TYPE_RGBA",
|
||||
"FRAME_TYPE_RGBA10",
|
||||
"FRAME_TYPE_RGBA16F",
|
||||
"FRAME_TYPE_YUV420"
|
||||
};
|
Reference in New Issue
Block a user