Add several debug prints
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
312643c454
commit
838a214749
|
@ -353,6 +353,7 @@ glx_bind_pixmap(backend_t *base, xcb_pixmap_t pixmap, struct xvisual_info fmt, b
|
|||
return NULL;
|
||||
}
|
||||
|
||||
log_trace("Binding pixmap %#010x", pixmap);
|
||||
auto wd = ccalloc(1, struct _glx_image_data);
|
||||
wd->pixmap = pixmap;
|
||||
wd->texture.width = wd->texture.ewidth = r->width;
|
||||
|
@ -394,6 +395,8 @@ glx_bind_pixmap(backend_t *base, xcb_pixmap_t pixmap, struct xvisual_info fmt, b
|
|||
goto err;
|
||||
}
|
||||
|
||||
log_trace("GLXPixmap %#010lx", wd->glpixmap);
|
||||
|
||||
// Create texture
|
||||
wd->texture.texture = gl_new_texture(GL_TEXTURE_2D);
|
||||
wd->texture.opacity = 1;
|
||||
|
|
|
@ -200,6 +200,7 @@ _win_bind_image(session_t *ps, win *w, void **win_image, void **shadow_image) {
|
|||
free(e);
|
||||
return false;
|
||||
}
|
||||
log_trace("New named pixmap %#010x", pixmap);
|
||||
*win_image = ps->backend_data->ops->bind_pixmap(
|
||||
ps->backend_data, pixmap, x_get_visual_info(ps->c, w->a.visual), true);
|
||||
if (!*win_image) {
|
||||
|
|
Loading…
Reference in New Issue