mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-04 06:12:04 +00:00
[client] round overlay damage outward
Expand ImGui window damage to include its border and round both logical window bounds and framebuffer-scaled bounds outward. This prevents a one-pixel strip of stale desktop content when an overlay window is resized at fractional positions or display scales.
This commit is contained in:
@@ -31,6 +31,8 @@ extern void (*rectCopyUnaligned)(
|
||||
uint8_t *restrict dst, const uint8_t *restrict src,
|
||||
int ystart, int yend, int dx, int dstPitch, int srcPitch, int width);
|
||||
|
||||
void rectScaleOutward(struct Rect * rect, double scale);
|
||||
|
||||
void rectsBufferToFramebuffer(FrameDamageRect * rects, int count, int bpp,
|
||||
FrameBuffer * frame, int dstPitch, int height,
|
||||
const uint8_t * src, int srcPitch);
|
||||
|
||||
Reference in New Issue
Block a user