[gtk/matthiasc/color-profile-rebased: 54/57] gsk: Add FIXME
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/color-profile-rebased: 54/57] gsk: Add FIXME
- Date: Fri, 13 May 2022 17:38:39 +0000 (UTC)
commit f16cdaa43346d686b568b40f89049486b22112f5
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 11 14:54:53 2022 -0400
gsk: Add FIXME
Point out where we should do colorspace conversion
in a shader.
gsk/gl/gskglcommandqueue.c | 2 +-
gsk/gl/gskgldriver.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c
index 5eae726acb..736063891d 100644
--- a/gsk/gl/gskglcommandqueue.c
+++ b/gsk/gl/gskglcommandqueue.c
@@ -1379,7 +1379,7 @@ gsk_gl_command_queue_do_upload_texture (GskGLCommandQueue *self,
*conversion = GSK_CONVERSION_LINEARIZE;
else if (data_space == gdk_color_space_get_srgb_linear ())
*conversion = 0;
- else
+ else /* FIXME: do colorspace conversion in a shader */
convert_locally = TRUE;
width = gdk_texture_get_width (texture);
diff --git a/gsk/gl/gskgldriver.c b/gsk/gl/gskgldriver.c
index 4da10be296..3b3cccf057 100644
--- a/gsk/gl/gskgldriver.c
+++ b/gsk/gl/gskgldriver.c
@@ -918,6 +918,7 @@ gsk_gl_driver_load_texture (GskGLDriver *self,
return t->texture_id;
}
+ /* FIXME: do colorspace conversion in a shader */
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]