From 670b4abae7cac85ba8ce0c1506165cadf4ca1f9a Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 5 Sep 2020 18:55:23 +0100 Subject: [PATCH] backend/backend: add a TODO about image ops ordering --- src/backend/backend.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/backend/backend.h b/src/backend/backend.h index c530a1e9..a0205c4c 100644 --- a/src/backend/backend.h +++ b/src/backend/backend.h @@ -195,6 +195,13 @@ struct backend_operations { int max_buffer_age; // =========== Post-processing ============ + + /* TODO(yshui) Consider preserving the order of image ops. + * Currently in both backends, the image ops are applied lazily when needed. + * However neither backends preserve the order of image ops, they just applied all + * pending lazy ops in a pre-determined fixed order, regardless in which order + * they were originally applied. This might lead to inconsistencies.*/ + /** * Manipulate an image *