FreeRDP
offscreen.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 "../core/graphics.h"
#include "offscreen.h"
#include "cache.h"

Macros

#define TAG   FREERDP_TAG("cache.offscreen")
 

Functions

static void offscreen_cache_put (rdpOffscreenCache *offscreen_cache, UINT32 index, rdpBitmap *bitmap)
 
static void offscreen_cache_delete (rdpOffscreenCache *offscreen, UINT32 index)
 
static BOOL update_gdi_create_offscreen_bitmap (rdpContext *context, const CREATE_OFFSCREEN_BITMAP_ORDER *createOffscreenBitmap)
 
static BOOL update_gdi_switch_surface (rdpContext *context, const SWITCH_SURFACE_ORDER *switchSurface)
 
rdpBitmap * offscreen_cache_get (rdpOffscreenCache *offscreenCache, UINT32 index)
 
void offscreen_cache_register_callbacks (rdpUpdate *update)
 
rdpOffscreenCache * offscreen_cache_new (rdpContext *context)
 
void offscreen_cache_free (rdpOffscreenCache *offscreenCache)
 

Macro Definition Documentation

◆ TAG

#define TAG   FREERDP_TAG("cache.offscreen")

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

◆ offscreen_cache_delete()

void offscreen_cache_delete ( rdpOffscreenCache *  offscreen,
UINT32  index 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ offscreen_cache_free()

void offscreen_cache_free ( rdpOffscreenCache *  offscreenCache)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ offscreen_cache_get()

rdpBitmap* offscreen_cache_get ( rdpOffscreenCache *  offscreenCache,
UINT32  index 
)
Here is the caller graph for this function:

◆ offscreen_cache_new()

rdpOffscreenCache* offscreen_cache_new ( rdpContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ offscreen_cache_put()

void offscreen_cache_put ( rdpOffscreenCache *  offscreen_cache,
UINT32  index,
rdpBitmap *  bitmap 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ offscreen_cache_register_callbacks()

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

◆ update_gdi_create_offscreen_bitmap()

static BOOL update_gdi_create_offscreen_bitmap ( rdpContext *  context,
const CREATE_OFFSCREEN_BITMAP_ORDER createOffscreenBitmap 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_gdi_switch_surface()

static BOOL update_gdi_switch_surface ( rdpContext *  context,
const SWITCH_SURFACE_ORDER switchSurface 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: