mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 14:52:04 +00:00
[idd/client] apply the Windows display color transform
Honor the IddCx 3x4 XYZ matrix and post-transfer LUT in the IDD conversion pipeline. Carry transform changes to the client so EGL applies the same calibration to hardware cursors, and invalidate the full frame whenever calibration changes.
This commit is contained in:
@@ -158,6 +158,11 @@ typedef struct LG_RendererOps
|
||||
bool (*onMouseShape)(LG_Renderer * renderer, const LG_RendererCursor cursor,
|
||||
const int width, const int height, const int pitch, const uint8_t * data);
|
||||
|
||||
/* optional display calibration update for hardware cursor composition
|
||||
* Context: cursorThread */
|
||||
void (*onMouseColorTransform)(LG_Renderer * renderer,
|
||||
const KVMFRColorTransform * transform);
|
||||
|
||||
/* called when the mouse has moved or changed visibillity
|
||||
* Context: cursorThread */
|
||||
bool (*onMouseEvent)(LG_Renderer * renderer, const bool visible, int x, int y,
|
||||
|
||||
Reference in New Issue
Block a user