Merge pull request #4100 from mmeyer724/wayland-opaque

wlfreerdp: improve performance by making the window opaque
This commit is contained in:
David Fort 2017-08-26 10:17:02 +02:00 committed by GitHub
commit 9a81531cb6

View File

@ -193,6 +193,7 @@ static BOOL wl_post_connect(freerdp* instance)
UwacWindowSetFullscreenState(window, NULL, instance->context->settings->Fullscreen);
UwacWindowSetTitle(window, "FreeRDP");
UwacWindowSetOpaqueRegion(context->window, 0, 0, gdi->width, gdi->height);
instance->update->BeginPaint = wl_begin_paint;
instance->update->EndPaint = wl_end_paint;
memcpy(UwacWindowGetDrawingBuffer(context->window), gdi->primary_buffer,