From c36b903f240664f7222cfefc480e60fca936de6a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 13 Mar 2014 10:09:08 -0700 Subject: [PATCH] glamor: Drop stale comment. The old Xephyr codebase was using the GL window system framebuffer for the screen pixmap, but that meant you couldn't texture from it to do operations sourcing from the screen, so in the version that landed I instead had the screen just be a plain texture. Signed-off-by: Eric Anholt Reviewed-by: Keith Packard --- glamor/glamor_render.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c index 8569ae2fe..f93aac1ef 100644 --- a/glamor/glamor_render.c +++ b/glamor/glamor_render.c @@ -962,10 +962,6 @@ glamor_composite_choose_shader(CARD8 op, glamor_fallback("source == dest\n"); } if (source_pixmap_priv->base.gl_fbo == GLAMOR_FBO_UNATTACHED) { - /* XXX in Xephyr, we may have gl_fbo equal to 1 but gl_tex - * equal to zero when the pixmap is screen pixmap. Then we may - * refer the tex zero directly latter in the composition. - * It seems that it works fine, but it may have potential problem*/ #ifdef GLAMOR_PIXMAP_DYNAMIC_UPLOAD source_status = GLAMOR_UPLOAD_PENDING; #else