Merge pull request #4100 from mmeyer724/wayland-opaque
wlfreerdp: improve performance by making the window opaque
This commit is contained in:
commit
9a81531cb6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user