/external/deqp/framework/platform/X11/ |
D | tcuX11GlxPlatform.cpp | 148 GlxWindow (GlxVisual& visual, const RenderConfig& cfg); 285 m_visual = visualInfo->visual; in GlxVisual() 361 GlxWindow::GlxWindow (GlxVisual& visual, const RenderConfig& cfg) in GlxWindow() argument 362 : m_x11Display (visual.getGlxDisplay()) in GlxWindow() 364 visual.getXVisual()) in GlxWindow() 365 , m_GLXDrawable (visual.createWindow(m_x11Window.getXID())) in GlxWindow() 421 static bool configMatches (GlxVisual& visual, const RenderConfig& renderCfg) in configMatches() argument 424 return visual.getAttrib(GLX_FBCONFIG_ID) == renderCfg.id; in configMatches() 430 requested != visual.getAttrib(it->glxAttribute)) in configMatches() 437 if ((visual.getAttrib(GLX_DRAWABLE_TYPE) & bits) == 0) in configMatches() [all …]
|
D | tcuX11.cpp | 119 return info.visual; in getVisual() 124 Window::Window (Display& display, int width, int height, ::Visual* visual) in Window() argument 147 if (visual == DE_NULL) in Window() 148 visual = CopyFromParent; in Window() 152 bool succ = display.getVisualInfo(XVisualIDFromVisual(visual), info); in Window() 157 m_colormap = XCreateColormap(dpy, root, visual, AllocNone); in Window() 171 CopyFromParent, InputOutput, visual, mask, &swa); in Window()
|
D | tcuX11EglPlatform.cpp | 134 Visual* visual); 147 Window::Window (Display& display, const WindowParams& params, Visual* visual) in Window() argument 149 , m_window (display.getX11Display(), params.width, params.height, visual) in Window() 204 ::Visual* visual = DE_NULL; in createWindow() 208 visual = display.getX11Display().getVisual(visualID); in createWindow() 210 return new Window(display, params, visual); in createWindow()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_screen.c | 154 const struct gl_config *visual, in nouveau_create_buffer() argument 164 if (visual->redBits == 5) in nouveau_create_buffer() 166 else if (visual->alphaBits == 0) in nouveau_create_buffer() 171 fb = nouveau_framebuffer_dri_new(visual); in nouveau_create_buffer() 180 if (visual->doubleBufferMode) { in nouveau_create_buffer() 186 if (visual->depthBits == 24 && visual->stencilBits == 8) { in nouveau_create_buffer() 191 } else if (visual->depthBits == 24) { in nouveau_create_buffer() 195 } else if (visual->depthBits == 16) { in nouveau_create_buffer() 202 visual->accumRedBits > 0, in nouveau_create_buffer()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_manager.c | 273 st_visual_have_buffers(stfb->iface->visual, 1 << statt)) in st_framebuffer_update_attachments() 300 format = stfb->iface->visual->depth_stencil_format; in st_framebuffer_add_renderbuffer() 304 format = stfb->iface->visual->accum_format; in st_framebuffer_add_renderbuffer() 308 format = stfb->iface->visual->color_format; in st_framebuffer_add_renderbuffer() 316 samples = stfb->iface->visual->samples; in st_framebuffer_add_renderbuffer() 341 st_visual_to_context_mode(const struct st_visual *visual, in st_visual_to_context_mode() argument 346 if (st_visual_have_buffers(visual, ST_ATTACHMENT_BACK_LEFT_MASK)) in st_visual_to_context_mode() 348 if (st_visual_have_buffers(visual, in st_visual_to_context_mode() 352 if (visual->color_format != PIPE_FORMAT_NONE) { in st_visual_to_context_mode() 356 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode() [all …]
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
D | native_ximage.c | 59 XVisualInfo visual; member 71 const XVisualInfo *visual; member 267 xsurf->visual = *xconf->visual; in ximage_display_create_surface() 271 xsurf->xdraw.visual = xsurf->visual.visual; in ximage_display_create_surface() 272 xsurf->xdraw.depth = xsurf->visual.depth; in ximage_display_create_surface() 402 xconf->visual = &visuals[i]; in ximage_display_get_configs() 403 xconf->base.color_format = choose_format(xconf->visual); in ximage_display_get_configs() 414 xconf->base.native_visual_id = xconf->visual->visualid; in ximage_display_get_configs() 416 xconf->base.native_visual_type = xconf->visual->c_class; in ximage_display_get_configs() 418 xconf->base.native_visual_type = xconf->visual->class; in ximage_display_get_configs() [all …]
|
/external/libjpeg-turbo/ |
D | rdrle.c | 69 rle_kind visual; /* actual type of input file */ member 127 source->visual = GRAYSCALE; in start_input_rle() 130 source->visual = MAPPEDGRAY; in start_input_rle() 134 source->visual = PSEUDOCOLOR; in start_input_rle() 138 source->visual = TRUECOLOR; in start_input_rle() 142 source->visual = DIRECTCOLOR; in start_input_rle() 147 if (source->visual == GRAYSCALE || source->visual == MAPPEDGRAY) { in start_input_rle() 159 if (source->visual != GRAYSCALE) { in start_input_rle() 271 switch (source->visual) { in load_image() 343 if (source->visual == PSEUDOCOLOR) { in load_image()
|
/external/libpng/contrib/gregbook/ |
D | rpng-x.c | 144 static Visual *visual; variable 473 visual = visual_info.visual; in rpng_x_create_window() 494 visual = visual_list[0].visual; in rpng_x_create_window() 505 visual = visual_info.visual; in rpng_x_create_window() 509 RMask = visual->red_mask; in rpng_x_create_window() 510 GMask = visual->green_mask; in rpng_x_create_window() 511 BMask = visual->blue_mask; in rpng_x_create_window() 515 colormap = XCreateColormap(display, root, visual, AllocNone); in rpng_x_create_window() 558 depth, InputOutput, visual, attrmask, &attr); in rpng_x_create_window() 666 ximage = XCreateImage(display, visual, depth, ZPixmap, 0, in rpng_x_create_window()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 320 swrast_new_renderbuffer(const struct gl_config *visual, __DRIdrawable *dPriv, in swrast_new_renderbuffer() argument 336 pixel_format = choose_pixel_format(visual); in swrast_new_renderbuffer() 454 const struct gl_config * visual, GLboolean isPixmap) in dri_create_buffer() argument 479 _mesa_initialize_window_framebuffer(fb, visual); in dri_create_buffer() 482 frontrb = swrast_new_renderbuffer(visual, dPriv, GL_TRUE); in dri_create_buffer() 486 if (visual->doubleBufferMode) { in dri_create_buffer() 487 backrb = swrast_new_renderbuffer(visual, dPriv, GL_FALSE); in dri_create_buffer() 494 visual->haveDepthBuffer, in dri_create_buffer() 495 visual->haveStencilBuffer, in dri_create_buffer() 496 visual->haveAccumBuffer, in dri_create_buffer() [all …]
|
/external/libvncserver/client_examples/ |
D | gtkvncviewer.c | 56 cl->format.redShift = image->visual->red_shift; in expose_event() 57 cl->format.greenShift = image->visual->green_shift; in expose_event() 58 cl->format.blueShift = image->visual->blue_shift; in expose_event() 60 cl->format.redMax = (1 << image->visual->red_prec) - 1; in expose_event() 61 cl->format.greenMax = (1 << image->visual->green_prec) - 1; in expose_event() 62 cl->format.blueMax = (1 << image->visual->blue_prec) - 1; in expose_event() 655 cl->format.redShift = image->visual->red_shift; in main() 656 cl->format.greenShift = image->visual->green_shift; in main() 657 cl->format.blueShift = image->visual->blue_shift; in main() 659 cl->format.redMax = (1 << image->visual->red_prec) - 1; in main() [all …]
|
/external/mesa3d/src/gallium/include/state_tracker/ |
D | st_api.h | 265 struct st_visual visual; member 307 const struct st_visual *visual; member 504 st_visual_have_buffers(const struct st_visual *visual, unsigned mask) in st_visual_have_buffers() argument 506 return ((visual->buffer_mask & mask) == mask); in st_visual_have_buffers()
|
/external/mesa3d/docs/ |
D | MESA_pixmap_colormap.spec | 52 GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, 64 pixmaps of any visual class, not just TrueColor or DirectColor. In order 69 GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, 74 same colormap and visual) with the expected results.
|
D | README.CYGWIN | 85 Mesa supports RGB(A) rendering into almost any X visual type and depth. 87 The glXChooseVisual function tries its best to pick an appropriate visual 89 you can force Mesa to use any X visual you want (any supported by your 91 environment variables. When an RGB visual is requested, glXChooseVisual 93 will try to use the specified visual. Similarly, when a color index 94 visual is requested, glXChooseVisual will look for the MESA_CI_VISUAL 97 The format of accepted values is: <visual-class> <depth> 129 possible. Specifically, if the visual and depth of the window matches 203 GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, 207 Since Mesa supports RGB rendering into any X visual, not just True- [all …]
|
/external/mesa3d/src/gallium/targets/graw-xlib/ |
D | graw_xlib.c | 108 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); in graw_create_window_and_screen() 115 visinfo->visual, mask, &attr ); in graw_create_window_and_screen() 141 xlib_handle->visual = visinfo->visual; in graw_create_window_and_screen()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
D | d3d11x11main.cpp | 23 Visual* visual = DefaultVisual(dpy, DefaultScreen(dpy)); in main() local 24 Colormap cmap = XCreateColormap(dpy, RootWindow(dpy, DefaultScreen(dpy)), visual, AllocNone); in main() 31 …efaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | C… in main()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | vg_manager.c | 239 statt = stfbi->visual->render_buffer; in choose_attachment() 242 if (!st_visual_have_buffers(stfbi->visual, 1 << statt)) { in choose_attachment() 254 if (!st_visual_have_buffers(stfbi->visual, 1 << statt)) in choose_attachment() 286 stfb->strb->format != stdrawi->visual->color_format) { in vg_context_bind_framebuffers() 307 stfb->strb = create_renderbuffer(stdrawi->visual->color_format); in vg_context_bind_framebuffers()
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wmesa.c | 35 wmesa_new_framebuffer(HDC hdc, struct gl_config *visual) in wmesa_new_framebuffer() argument 40 _mesa_initialize_window_framebuffer(&pwfb->Base, visual); in wmesa_new_framebuffer() 1013 struct gl_config *visual; in WMesaCreateContext() local 1060 visual = _mesa_create_visual(db_flag, /* db_flag */ in WMesaCreateContext() 1070 if (!visual) { in WMesaCreateContext() 1087 _mesa_initialize_context(ctx, API_OPENGL, visual, in WMesaCreateContext() 1091 _mesa_destroy_visual(visual); in WMesaCreateContext() 1194 struct gl_config *visual = &c->gl_ctx.Visual; in WMesaMakeCurrent() local 1202 pwfb = wmesa_new_framebuffer(hdc, visual); in WMesaMakeCurrent() 1205 if (visual->doubleBufferMode == 1) { in WMesaMakeCurrent() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
D | d3d10x11main.cpp | 49 Visual* visual = DefaultVisual(dpy, DefaultScreen(dpy)); in main() local 50 Colormap cmap = XCreateColormap(dpy, RootWindow(dpy, DefaultScreen(dpy)), visual, AllocNone); in main() 57 …efaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | C… in main()
|
/external/mesa3d/src/mesa/main/ |
D | framebuffer.h | 35 _mesa_create_framebuffer(const struct gl_config *visual); 42 const struct gl_config *visual);
|
D | framebuffer.c | 85 _mesa_create_framebuffer(const struct gl_config *visual) in _mesa_create_framebuffer() argument 88 assert(visual); in _mesa_create_framebuffer() 90 _mesa_initialize_window_framebuffer(fb, visual); in _mesa_create_framebuffer() 124 const struct gl_config *visual) in _mesa_initialize_window_framebuffer() argument 127 assert(visual); in _mesa_initialize_window_framebuffer() 136 fb->Visual = *visual; in _mesa_initialize_window_framebuffer() 139 if (visual->doubleBufferMode) { in _mesa_initialize_window_framebuffer()
|
/external/autotest/client/deps/glbench/src/ |
D | xlib_window.cc | 51 xlib_visinfo->visual, AllocNone); in XlibInit() 57 xlib_visinfo->visual, mask, &attr); in XlibInit()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri_context.c | 60 dri_create_context(gl_api api, const struct gl_config * visual, in dri_create_context() argument 118 dri_fill_st_visual(&attribs.visual, screen, visual); in dri_create_context()
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | dri_context.c | 60 dri_create_context(gl_api api, const struct gl_config * visual, in dri_create_context() argument 118 dri_fill_st_visual(&attribs.visual, screen, visual); in dri_create_context()
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_context.c | 60 dri_create_context(gl_api api, const struct gl_config * visual, in dri_create_context() argument 118 dri_fill_st_visual(&attribs.visual, screen, visual); in dri_create_context()
|
/external/autotest/client/site_tests/graphics_GLAPICheck/src/ |
D | gl_APICheck.cc | 41 vi->visual, in InitGraphics() 45 0, vi->depth, InputOutput, vi->visual, in InitGraphics()
|