FreeRDP
|
#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 *offscreenCache, 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) |
#define TAG FREERDP_TAG("cache.offscreen") |
FreeRDP: A Remote Desktop Protocol Implementation Offscreen Bitmap Cache
Copyright 2011 Marc-Andre Moreau marca ndre .more au@g mail. 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.
|
static |
void offscreen_cache_free | ( | rdpOffscreenCache * | offscreenCache | ) |
rdpBitmap* offscreen_cache_get | ( | rdpOffscreenCache * | offscreenCache, |
UINT32 | index | ||
) |
rdpOffscreenCache* offscreen_cache_new | ( | rdpContext * | context | ) |
|
static |
void offscreen_cache_register_callbacks | ( | rdpUpdate * | update | ) |
|
static |
|
static |