mirror of https://github.com/FreeRDP/FreeRDP
[client,x11] drop direct gdi mapping
windows GDI is legacy and can not be properly mapped to X11 equivalents witout glitches. Drop support for that while preserving XImage/Pixmap acceleration support.
This commit is contained in:
parent
a7200699f4
commit
3361116834
|
@ -51,8 +51,6 @@ include_directories(${OPENSSL_INCLUDE_DIR})
|
|||
set(SRCS
|
||||
xf_utils.h
|
||||
xf_utils.c
|
||||
xf_gdi.c
|
||||
xf_gdi.h
|
||||
xf_gfx.c
|
||||
xf_gfx.h
|
||||
xf_rail.c
|
||||
|
|
|
@ -90,7 +90,6 @@
|
|||
#include <winpr/sysinfo.h>
|
||||
#include <X11/XKBlib.h>
|
||||
|
||||
#include "xf_gdi.h"
|
||||
#include "xf_rail.h"
|
||||
#if defined(CHANNEL_TSMF_CLIENT)
|
||||
#include "xf_tsmf.h"
|
||||
|
@ -1388,8 +1387,6 @@ static BOOL xf_post_connect(freerdp* instance)
|
|||
WLog_ERR(TAG, "failed to register graphics");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
xf_gdi_register_update_callbacks(update);
|
||||
}
|
||||
|
||||
#ifdef WITH_XRENDER
|
||||
|
|
1104
client/X11/xf_gdi.c
1104
client/X11/xf_gdi.c
File diff suppressed because it is too large
Load Diff
|
@ -1,32 +0,0 @@
|
|||
/**
|
||||
* FreeRDP: A Remote Desktop Protocol Implementation
|
||||
* X11 GDI
|
||||
*
|
||||
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
||||
* Copyright 2016 Thincast Technologies GmbH
|
||||
* Copyright 2016 Armin Novak <armin.novak@thincast.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.
|
||||
*/
|
||||
|
||||
#ifndef FREERDP_CLIENT_X11_GDI_H
|
||||
#define FREERDP_CLIENT_X11_GDI_H
|
||||
|
||||
#include <freerdp/gdi/gdi.h>
|
||||
|
||||
#include "xf_client.h"
|
||||
#include "xfreerdp.h"
|
||||
|
||||
void xf_gdi_register_update_callbacks(rdpUpdate* update);
|
||||
|
||||
#endif /* FREERDP_CLIENT_X11_GDI_H */
|
|
@ -38,7 +38,6 @@
|
|||
#include <freerdp/codec/rfx.h>
|
||||
|
||||
#include "xf_graphics.h"
|
||||
#include "xf_gdi.h"
|
||||
#include "xf_event.h"
|
||||
|
||||
#include <freerdp/log.h>
|
||||
|
|
Loading…
Reference in New Issue