mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 07:08:07 +02:00
color-lcms: make identity_pipeline comment more detailed
This perhaps better explains what the issue here is. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
e6551ef41f
commit
5d6e7115a9
1 changed files with 6 additions and 3 deletions
|
|
@ -104,9 +104,12 @@ cmlcms_get_surface_color_transform(struct weston_color_manager *cm_base,
|
|||
|
||||
surf_xform->transform = &xform->base;
|
||||
/*
|
||||
* When we introduce LCMS plug-in we can precisely answer this question
|
||||
* by examining the color pipeline using precision parameters. For now
|
||||
* we just compare if it is same pointer or not.
|
||||
* TODO: Instead of this, we should create the INPUT_TO_OUTPUT color
|
||||
* transformation and check if that is identity. Comparing just the
|
||||
* profiles will miss image adjustments if we add some.
|
||||
* OTOH, that will only be useful if DRM-backend learns to do
|
||||
* opportunistic direct scanout without KMS blending space
|
||||
* transformations.
|
||||
*/
|
||||
if (xform->search_key.input_profile == xform->search_key.output_profile)
|
||||
surf_xform->identity_pipeline = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue