mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:03:40 +00:00
[common] changed KVMFR to allow for variable cursor buffer sizes
This commit is contained in:
parent
3c61814c56
commit
110aced7d1
@ -21,8 +21,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include <stdint.h>
|
||||
|
||||
#define KVMFR_HEADER_MAGIC "[[KVMFR]]"
|
||||
#define KVMFR_HEADER_VERSION 2
|
||||
#define KVMFR_CURSOR_BUFFER (32*32*4)
|
||||
#define KVMFR_HEADER_VERSION 3
|
||||
|
||||
typedef enum FrameType
|
||||
{
|
||||
@ -52,7 +51,7 @@ typedef struct KVMFRCursor
|
||||
CursorType type; // shape buffer data type
|
||||
uint8_t w, h; // shape width and height
|
||||
uint8_t pitch; // shape row length in bytes
|
||||
uint8_t shape[KVMFR_CURSOR_BUFFER];
|
||||
uint64_t dataPos; // offset to the cursor data
|
||||
}
|
||||
KVMFRCursor;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user