FreeRDP
pointer.c File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/stream.h>
#include <freerdp/log.h>
#include <freerdp/cache/pointer.h>
#include "pointer.h"

Macros

#define TAG   FREERDP_TAG("cache.pointer")
 

Functions

static BOOL pointer_cache_put (rdpPointerCache *pointer_cache, UINT32 index, rdpPointer *pointer)
 
static rdpPointer * pointer_cache_get (rdpPointerCache *pointer_cache, UINT32 index)
 
static void pointer_free (rdpContext *context, rdpPointer *pointer)
 
static BOOL update_pointer_position (rdpContext *context, const POINTER_POSITION_UPDATE *pointer_position)
 
static BOOL update_pointer_system (rdpContext *context, const POINTER_SYSTEM_UPDATE *pointer_system)
 
static BOOL upate_pointer_copy_andxor (rdpPointer *pointer, const BYTE *andMaskData, size_t lengthAndMask, const BYTE *xorMaskData, size_t lengthXorMask)
 
static BOOL update_pointer_color (rdpContext *context, const POINTER_COLOR_UPDATE *pointer_color)
 
static BOOL update_pointer_large (rdpContext *context, const POINTER_LARGE_UPDATE *pointer_large)
 
static BOOL update_pointer_new (rdpContext *context, const POINTER_NEW_UPDATE *pointer_new)
 
static BOOL update_pointer_cached (rdpContext *context, const POINTER_CACHED_UPDATE *pointer_cached)
 
void pointer_cache_register_callbacks (rdpUpdate *update)
 
rdpPointerCache * pointer_cache_new (rdpContext *context)
 
void pointer_cache_free (rdpPointerCache *pointer_cache)
 
POINTER_COLOR_UPDATEcopy_pointer_color_update (rdpContext *context, const POINTER_COLOR_UPDATE *src)
 
void free_pointer_color_update (rdpContext *context, POINTER_COLOR_UPDATE *pointer)
 
POINTER_LARGE_UPDATEcopy_pointer_large_update (rdpContext *context, const POINTER_LARGE_UPDATE *src)
 
void free_pointer_large_update (rdpContext *context, POINTER_LARGE_UPDATE *pointer)
 
POINTER_NEW_UPDATEcopy_pointer_new_update (rdpContext *context, const POINTER_NEW_UPDATE *src)
 
void free_pointer_new_update (rdpContext *context, POINTER_NEW_UPDATE *pointer)
 
POINTER_CACHED_UPDATEcopy_pointer_cached_update (rdpContext *context, const POINTER_CACHED_UPDATE *pointer)
 
void free_pointer_cached_update (rdpContext *context, POINTER_CACHED_UPDATE *pointer)
 
void free_pointer_position_update (rdpContext *context, POINTER_POSITION_UPDATE *pointer)
 
POINTER_POSITION_UPDATEcopy_pointer_position_update (rdpContext *context, const POINTER_POSITION_UPDATE *pointer)
 
void free_pointer_system_update (rdpContext *context, POINTER_SYSTEM_UPDATE *pointer)
 
POINTER_SYSTEM_UPDATEcopy_pointer_system_update (rdpContext *context, const POINTER_SYSTEM_UPDATE *pointer)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("cache.pointer")

FreeRDP: A Remote Desktop Protocol Implementation Glyph Cache

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ copy_pointer_cached_update()

POINTER_CACHED_UPDATE* copy_pointer_cached_update ( rdpContext *  context,
const POINTER_CACHED_UPDATE pointer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy_pointer_color_update()

POINTER_COLOR_UPDATE* copy_pointer_color_update ( rdpContext *  context,
const POINTER_COLOR_UPDATE pointer 
)

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy_pointer_large_update()

POINTER_LARGE_UPDATE* copy_pointer_large_update ( rdpContext *  context,
const POINTER_LARGE_UPDATE src 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy_pointer_new_update()

POINTER_NEW_UPDATE* copy_pointer_new_update ( rdpContext *  context,
const POINTER_NEW_UPDATE src 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy_pointer_position_update()

POINTER_POSITION_UPDATE* copy_pointer_position_update ( rdpContext *  context,
const POINTER_POSITION_UPDATE pointer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy_pointer_system_update()

POINTER_SYSTEM_UPDATE* copy_pointer_system_update ( rdpContext *  context,
const POINTER_SYSTEM_UPDATE pointer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_pointer_cached_update()

void free_pointer_cached_update ( rdpContext *  context,
POINTER_CACHED_UPDATE pointer 
)
Here is the caller graph for this function:

◆ free_pointer_color_update()

void free_pointer_color_update ( rdpContext *  context,
POINTER_COLOR_UPDATE pointer 
)
Here is the caller graph for this function:

◆ free_pointer_large_update()

void free_pointer_large_update ( rdpContext *  context,
POINTER_LARGE_UPDATE pointer 
)
Here is the caller graph for this function:

◆ free_pointer_new_update()

void free_pointer_new_update ( rdpContext *  context,
POINTER_NEW_UPDATE pointer 
)
Here is the caller graph for this function:

◆ free_pointer_position_update()

void free_pointer_position_update ( rdpContext *  context,
POINTER_POSITION_UPDATE pointer 
)
Here is the caller graph for this function:

◆ free_pointer_system_update()

void free_pointer_system_update ( rdpContext *  context,
POINTER_SYSTEM_UPDATE pointer 
)
Here is the caller graph for this function:

◆ pointer_cache_free()

void pointer_cache_free ( rdpPointerCache *  pointer_cache)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pointer_cache_get()

rdpPointer * pointer_cache_get ( rdpPointerCache *  pointer_cache,
UINT32  index 
)
static
Here is the caller graph for this function:

◆ pointer_cache_new()

rdpPointerCache* pointer_cache_new ( rdpContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pointer_cache_put()

BOOL pointer_cache_put ( rdpPointerCache *  pointer_cache,
UINT32  index,
rdpPointer *  pointer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pointer_cache_register_callbacks()

void pointer_cache_register_callbacks ( rdpUpdate *  update)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pointer_free()

static void pointer_free ( rdpContext *  context,
rdpPointer *  pointer 
)
static
Here is the caller graph for this function:

◆ upate_pointer_copy_andxor()

static BOOL upate_pointer_copy_andxor ( rdpPointer *  pointer,
const BYTE andMaskData,
size_t  lengthAndMask,
const BYTE xorMaskData,
size_t  lengthXorMask 
)
static
Here is the caller graph for this function:

◆ update_pointer_cached()

static BOOL update_pointer_cached ( rdpContext *  context,
const POINTER_CACHED_UPDATE pointer_cached 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_pointer_color()

static BOOL update_pointer_color ( rdpContext *  context,
const POINTER_COLOR_UPDATE pointer_color 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_pointer_large()

static BOOL update_pointer_large ( rdpContext *  context,
const POINTER_LARGE_UPDATE pointer_large 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_pointer_new()

static BOOL update_pointer_new ( rdpContext *  context,
const POINTER_NEW_UPDATE pointer_new 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_pointer_position()

static BOOL update_pointer_position ( rdpContext *  context,
const POINTER_POSITION_UPDATE pointer_position 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_pointer_system()

static BOOL update_pointer_system ( rdpContext *  context,
const POINTER_SYSTEM_UPDATE pointer_system 
)
static
Here is the caller graph for this function: