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

Macros

#define TAG   FREERDP_TAG("cache.brush")
 

Functions

static BOOL update_gdi_patblt (rdpContext *context, PATBLT_ORDER *patblt)
 
static BOOL update_gdi_polygon_sc (rdpContext *context, const POLYGON_SC_ORDER *polygon_sc)
 
static BOOL update_gdi_polygon_cb (rdpContext *context, POLYGON_CB_ORDER *polygon_cb)
 
static BOOL update_gdi_cache_brush (rdpContext *context, const CACHE_BRUSH_ORDER *cacheBrush)
 
void * brush_cache_get (rdpBrushCache *brushCache, UINT32 index, UINT32 *bpp)
 
void brush_cache_put (rdpBrushCache *brushCache, UINT32 index, void *entry, UINT32 bpp)
 
void brush_cache_register_callbacks (rdpUpdate *update)
 
rdpBrushCache * brush_cache_new (rdpContext *context)
 
void brush_cache_free (rdpBrushCache *brushCache)
 
void free_cache_brush_order (rdpContext *context, CACHE_BRUSH_ORDER *order)
 
CACHE_BRUSH_ORDERcopy_cache_brush_order (rdpContext *context, const CACHE_BRUSH_ORDER *order)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("cache.brush")

FreeRDP: A Remote Desktop Protocol Implementation Brush 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

◆ brush_cache_free()

void brush_cache_free ( rdpBrushCache *  brushCache)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ brush_cache_get()

void* brush_cache_get ( rdpBrushCache *  brushCache,
UINT32  index,
UINT32 *  bpp 
)
Here is the caller graph for this function:

◆ brush_cache_new()

rdpBrushCache* brush_cache_new ( rdpContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ brush_cache_put()

void brush_cache_put ( rdpBrushCache *  brushCache,
UINT32  index,
void *  entry,
UINT32  bpp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ brush_cache_register_callbacks()

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

◆ copy_cache_brush_order()

CACHE_BRUSH_ORDER* copy_cache_brush_order ( rdpContext *  context,
const CACHE_BRUSH_ORDER order 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_cache_brush_order()

void free_cache_brush_order ( rdpContext *  context,
CACHE_BRUSH_ORDER order 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_gdi_cache_brush()

static BOOL update_gdi_cache_brush ( rdpContext *  context,
const CACHE_BRUSH_ORDER cacheBrush 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_gdi_patblt()

static BOOL update_gdi_patblt ( rdpContext *  context,
PATBLT_ORDER patblt 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_gdi_polygon_cb()

static BOOL update_gdi_polygon_cb ( rdpContext *  context,
POLYGON_CB_ORDER polygon_cb 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_gdi_polygon_sc()

static BOOL update_gdi_polygon_sc ( rdpContext *  context,
const POLYGON_SC_ORDER polygon_sc 
)
static
Here is the caller graph for this function: