[host] dxgi: fix HDR damage aware copy

This commit is contained in:
Geoffrey McRae
2023-10-22 03:15:12 +11:00
parent 3ed71a09f4
commit 742e41c2c3
3 changed files with 12 additions and 12 deletions

View File

@@ -38,11 +38,11 @@ inline static void rectCopyUnaligned(uint8_t * dest, const uint8_t * src,
}
}
void rectsBufferToFramebuffer(FrameDamageRect * rects, int count,
void rectsBufferToFramebuffer(FrameDamageRect * rects, int count, int bpp,
FrameBuffer * frame, int dstStride, int height,
const uint8_t * src, int srcStride);
void rectsFramebufferToBuffer(FrameDamageRect * rects, int count,
void rectsFramebufferToBuffer(FrameDamageRect * rects, int count, int bpp,
uint8_t * dst, int dstStride, int height,
const FrameBuffer * frame, int srcStride);