Searched defs:visual (Results 1 - 2 of 2) sorted by relevance

/hardware/intel/img/psb_video/src/x11/
H A Dpsb_x11.c122 Visual *visual; local
162 visual = DefaultVisual((Display *)ctx->native_dpy, ctx->x11_screen);
166 if (TrueColor != visual->class) {
167 drv_debug_msg(VIDEO_DEBUG_ERROR, "PutSurface: Default visual of X display must be TrueColor.\n");
178 rmask = visual->red_mask;
179 gmask = visual->green_mask;
180 bmask = visual->blue_mask;
189 ximg = XCreateImage((Display *)ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, width, height, 32, 0);
H A Dpsb_coverlay.c399 Visual *visual; local
469 visual = DefaultVisual(ctx->native_dpy, 0);
472 ximg = XCreateImage(ctx->native_dpy, visual, depth, ZPixmap, 0, NULL, image_width, image_height, 32, 0);

Completed in 53 milliseconds