Home
last modified time | relevance | path

Searched refs:visual_info (Results 1 – 9 of 9) sorted by relevance

/external/ImageMagick/coders/
Ddps.c152 *visual_info; in ReadDPSImage() local
191 visual_info=(XVisualInfo *) NULL; in ReadDPSImage()
200 visual_info=XBestVisualInfo(display,map_info,&resource_info); in ReadDPSImage()
204 (visual_info == (XVisualInfo *) NULL)) in ReadDPSImage()
207 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
214 screen=ScreenOfDisplay(display,visual_info->screen); in ReadDPSImage()
220 GetBlobFileHandle(image),visual_info->depth,pixels_per_point,&pixmap, in ReadDPSImage()
225 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
233 GetBlobFileHandle(image),(int) bits_per_pixel.height,visual_info->depth, in ReadDPSImage()
239 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
[all …]
/external/ImageMagick/MagickCore/
Danimate.c770 *visual_info = (XVisualInfo *) NULL; in XAnimateBackgroundImage() local
832 if (visual_info == (XVisualInfo *) NULL) in XAnimateBackgroundImage()
848 visual_info=XBestVisualInfo(display,map_info,&resources); in XAnimateBackgroundImage()
849 if (visual_info == (XVisualInfo *) NULL) in XAnimateBackgroundImage()
871 if ((visual_info->klass != TrueColor) && in XAnimateBackgroundImage()
872 (visual_info->klass != DirectColor)) in XAnimateBackgroundImage()
885 (next->colors > (size_t) visual_info->colormap_size)) in XAnimateBackgroundImage()
919 (visual_info->klass == TrueColor) || in XAnimateBackgroundImage()
920 (visual_info->klass == DirectColor)) in XAnimateBackgroundImage()
928 (visual_info->klass == TrueColor) || (visual_info->klass == DirectColor)) in XAnimateBackgroundImage()
[all …]
Dxwindow.c424 if (windows->visual_info != (XVisualInfo *) NULL) in DestroyXResources()
426 XFree(windows->visual_info); in DestroyXResources()
427 windows->visual_info=(XVisualInfo *) NULL; in DestroyXResources()
1156 #define XVisualColormapSize(visual_info) MagickMin((unsigned int) (\ in XBestVisualInfo() argument
1157 (visual_info->klass == TrueColor) || (visual_info->klass == DirectColor) ? \ in XBestVisualInfo()
1158 visual_info->red_mask | visual_info->green_mask | visual_info->blue_mask : \ in XBestVisualInfo()
1159 (unsigned long) visual_info->colormap_size),1UL << visual_info->depth) in XBestVisualInfo()
1181 *visual_info, in XBestVisualInfo() local
1406 visual_info=visual_list; in XBestVisualInfo()
1411 if (XVisualColormapSize(p) > XVisualColormapSize(visual_info)) in XBestVisualInfo()
[all …]
Dxwindow-private.h351 *visual_info; member
450 *visual_info, member
Ddisplay.c107 #define MaxColors MagickMin((ssize_t) windows->visual_info->colormap_size,256L)
13681 backdrop=((windows->visual_info->klass == TrueColor) || in XVisualDirectoryImage()
13682 (windows->visual_info->klass == DirectColor)) ? MagickTrue : MagickFalse; in XVisualDirectoryImage()
13812 *visual_info = (XVisualInfo *) NULL; in XDisplayBackgroundImage() local
13868 if (visual_info == (XVisualInfo *) NULL) in XDisplayBackgroundImage()
13884 visual_info=XBestVisualInfo(display,map_info,&resources); in XDisplayBackgroundImage()
13885 if (visual_info == (XVisualInfo *) NULL) in XDisplayBackgroundImage()
13905 XMakeStandardColormap(display,visual_info,&resources,image,map_info,&pixel, in XDisplayBackgroundImage()
13922 XGetWindowInfo(display,visual_info,map_info,&pixel,(XFontStruct *) NULL, in XDisplayBackgroundImage()
14000 flags=XWMGeometry(display,visual_info->screen,resources.image_geometry, in XDisplayBackgroundImage()
[all …]
Dwidget.c2094 (unsigned int) windows->widget.visual_info->colormap_size, in XColorBrowserWidget()
/external/libpng/contrib/gregbook/
Drpng-x.c449 XVisualInfo visual_info; in rpng_x_create_window() local
473 (depth == 8)? PseudoColor : TrueColor, &visual_info); in rpng_x_create_window()
474 visual = visual_info.visual; in rpng_x_create_window()
483 visual_info.screen = screen; in rpng_x_create_window()
484 visual_info.depth = 24; in rpng_x_create_window()
486 VisualScreenMask | VisualDepthMask, &visual_info, &visuals_matched); in rpng_x_create_window()
505 XMatchVisualInfo(display, screen, depth, TrueColor, &visual_info); in rpng_x_create_window()
506 visual = visual_info.visual; in rpng_x_create_window()
Drpng2-x.c850 XVisualInfo visual_info; in rpng2_x_create_window() local
873 visual_info.screen = screen; in rpng2_x_create_window()
874 visual_info.depth = 24; in rpng2_x_create_window()
876 VisualScreenMask | VisualDepthMask, &visual_info, &visuals_matched); in rpng2_x_create_window()
895 XMatchVisualInfo(display, screen, depth, TrueColor, &visual_info); in rpng2_x_create_window()
896 visual = visual_info.visual; in rpng2_x_create_window()
/external/crosvm/gpu_display/src/
Dgpu_display_x.rs603 let visual_info = xlib::XGetVisualInfo( in open_display() localVariable
613 if visual_info.is_null() { in open_display()
616 let visual = (*visual_info).visual; in open_display()
617 x_free(visual_info); in open_display()