From c093ee8a415602d78b53dbe936ca743ed816d393 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Tue, 5 May 2009 07:31:52 -0400 Subject: [PATCH] Notes on output kernels --- pixman/refactor | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pixman/refactor b/pixman/refactor index f7ac86d..7a7290e 100644 --- a/pixman/refactor +++ b/pixman/refactor @@ -276,6 +276,25 @@ Possibly interesting additions: will need to deal with the fact that the resampling kernel will not necessarily be pixel aligned. + "Output kernels" + + One could imagine doing the resampling after compositing, + ie., for each destination pixel sample each source image 16 + times, then composite those subpixels individually, then + finally apply a kernel. + + However, this is effectively the same as full screen + antialiasing, which is a simpler way to think about it. So + resampling kernels may make sense for individual images, but + not as a post-compositing step. + + Fullscreen AA is inefficient without chained compositing + though. Consider an (image scaled up to oversample size IN + some polygon) scaled down to screen size. With the current + implementation, there will be a huge temporary. With chained + compositing, the whole thing ends up being equivalent to the + output kernel from above. + - Color space conversion The complete model here is that each surface has a color -- 2.7.4